Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions src/components/AdvancedSearch/AdvancedSearch.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
from {
opacity: 0;
}

to {
opacity: 0.7;
}
}

@keyframes overlayHide {
from {
opacity: 0.7;
}

to {
opacity: 0;
}
Expand All @@ -20,16 +23,19 @@
opacity: 0;
transform: scale(0.96);
}

to {
opacity: 1;
transform: scale(1);
}
}

@keyframes contentHide {
from {
opacity: 1;
transform: scale(1);
}

to {
opacity: 0;
transform: scale(0.96);
Expand Down Expand Up @@ -169,7 +175,7 @@
// width: calc(var(--search-input-width) - 60px);
height: 36px;
font-weight: 700;
font-size: 16px;
font-size: 14px;
line-height: 20px;
padding: 0;
margin-left: 10px;
Expand All @@ -186,7 +192,7 @@

&::placeholder {
color: var(--text-tertiary);
font-size: 16px;
font-size: 14px;
font-weight: 400;
line-height: 20px;
}
Expand Down Expand Up @@ -282,12 +288,14 @@
height: 4px;
width: 100%;
}

.fill {
position: absolute;
background-color: var(--accent);
border-radius: 9999px;
height: 100%;
}

.thumb {
display: block;
width: 20px;
Expand All @@ -297,9 +305,11 @@
top: -8px;
cursor: grab;
}

.thumb:hover {
background-color: var(--text-secondary-2);
}

.thumb:focus {
outline: none;
background-color: var(--text-secondary-2);
Expand Down Expand Up @@ -433,6 +443,7 @@

.selectBox {
display: flex;

.trigger {
padding-block: 8px;
padding-left: 16px;
Expand Down Expand Up @@ -521,6 +532,7 @@
font-weight: 600;
line-height: 20px;
}

textarea {
background-color: var(--background-header-input);
color: var(--text-secondary);
Expand Down Expand Up @@ -551,4 +563,4 @@
font-weight: 300;
line-height: 8px;

}
}
32 changes: 21 additions & 11 deletions src/components/EmbeddedNote/EmbeddedNote.module.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

.mentionedNote {
border: none;
border: 1px solid var(--devider);
border-radius: 8px;
background-color: var(--background-header-input);
margin-block: 6px;
padding: 18px;
padding: 12px 12px 4px;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 32px 1fr;
Expand Down Expand Up @@ -34,6 +32,8 @@
color: var(--text-tertiary-2);

.postInfo {
position: relative;
top: 1px;
display: flex;
justify-content: flex-start;
margin-left: 11px;
Expand All @@ -45,8 +45,9 @@
display: flex;
align-items: center;
width: auto;

.userName {
font-size: 16px;
font-size: 15px;
line-height: 18px;
font-weight: 700;
color: var(--text-primary);
Expand All @@ -55,7 +56,9 @@
white-space: nowrap;
overflow: hidden;
}

.verifiedBy {
font-size: 14px;
max-width: 220px;
text-overflow: ellipsis;
white-space: nowrap;
Expand All @@ -64,12 +67,13 @@
}
}

.time{
.time {
margin: 0px 2px;
min-width: 40px;
font-size: 14px;
font-size: 13px;
line-height: 16px;
font-weight: 400;

&::before {
content: "|";
padding: 0px 2px;
Expand All @@ -87,6 +91,8 @@
}

.verifiedIcon {
position: relative;
top: -1px;
width: 15px;
height: 15px;
display: inline-block;
Expand All @@ -99,15 +105,19 @@
@media only screen and (max-width: 720px) {
.mentionedNoteHeader {
width: calc(100vw - 160px);

.postInfo {
width: calc(100vw - 110px);

.userInfo {
max-width: calc(100vw - 100px);
overflow: hidden;

.userName {
max-width: calc(100vw - 180px);
}
}

.verification {
max-width: 220px;
text-overflow: ellipsis;
Expand All @@ -123,7 +133,7 @@
overflow: hidden;
color: var(--text-primary);
word-break: break-word;
font-size: 16px;
font-weight: 400;
line-height: 20px;
}
font-size: 15px;
font-weight: 500;
line-height: 21px;
}
26 changes: 16 additions & 10 deletions src/components/HomeHeader/HomeHeader.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

.smallHeader {
position:absolute;
position: absolute;
height: 76px;
}

Expand Down Expand Up @@ -37,6 +37,7 @@
-webkit-mask: url(../../assets/icons/corner_right.svg) no-repeat center;
mask: url(../../assets/icons/corner_right.svg) no-repeat center;
}

.leftCorner {
display: inline-block;
width: 4px;
Expand All @@ -49,16 +50,17 @@
}

.smallLeft {
flex-grow: 20;
flex-shrink: 1;
visibility: hidden;
flex-grow: 20;
flex-shrink: 1;
visibility: hidden;
}

.smallRight {
max-width: 50%;
flex-grow: 1;
margin-bottom: 4px;
margin-left: 8px;

// margin: auto;
button {
font-size: 14px;
Expand All @@ -78,7 +80,7 @@
}

.fixedSelector {
position:fixed;
position: fixed;
top: 0px;
width: var(--central-content-width);
height: var(--header-height);
Expand Down Expand Up @@ -116,7 +118,7 @@
margin: 0px;
outline: none;
width: 100%;
height: 54px;
height: 42px;

// padding-top: 18px;
// padding-bottom: 12px;
Expand All @@ -138,9 +140,9 @@

.newContentItem {
color: var(--accent-links);
font-size: 14px;
font-size: 12px;
font-style: normal;
font-weight: 400;
font-weight: 600;
line-height: 15px;
background: none;
border: none;
Expand Down Expand Up @@ -255,6 +257,7 @@
display: flex;
align-items: center;
height: 40px;

.avatar {
// border: solid 2px var(--text-primary-button);
// border-radius: 50%;
Expand Down Expand Up @@ -302,6 +305,7 @@
display: flex;
align-items: center;
height: 40px;

.avatar {
border: solid 2px var(--text-primary-button);
border-radius: 50%;
Expand Down Expand Up @@ -337,17 +341,19 @@
.fullHeader {
width: 100%;
}

.smallHeader {
width: 100%;
}

.fixedSelector {
width: 100%;
}
}

.toggleAnimation {
position: absolute;
width:fit-content;
width: fit-content;
height: fit-content;
padding: 8px;
top: 10px;
Expand All @@ -358,4 +364,4 @@
z-index: 200;
border: none;
outline: none;
}
}
13 changes: 10 additions & 3 deletions src/components/Layout/Layout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@

.centerContent {
width: var(--center-col-w);

.headerFloater {
position: fixed;
opacity: 0;
Expand Down Expand Up @@ -118,6 +119,7 @@

&.messagesColumn {
height: 85px;

>div {
height: 85px;
border-left: none;
Expand All @@ -140,6 +142,7 @@
position: fixed;
// background-color: var(--background-site);
z-index: var(--z-index-header);
padding: 14px 0 0;

>div {
display: flex;
Expand All @@ -164,9 +167,11 @@

.rightContent {
margin-top: 92px;

>div {
margin-left: 24px;
}

&.exploreHeader {
margin-top: 20px;
}
Expand All @@ -181,8 +186,8 @@
width: 0px;
height: 0px;
position: absolute;
top:0;
left:0;
top: 0;
left: 0;
}

@media only screen and (max-width: 1300px) {
Expand Down Expand Up @@ -221,6 +226,7 @@

.rightColumn {
width: 1px;

>div {
>div {
display: none;
Expand Down Expand Up @@ -295,10 +301,11 @@

.rightColumn {
width: 1px;

>div {
>div {
display: none;
}
}
}
}
}
Loading