Skip to content

Commit

Permalink
chore: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Jul 11, 2024
1 parent befa9ae commit 0ea3a8b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/Console/Console.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
padding-bottom: 0;
}
.control {
@include control();
padding: 10px 10px 10px 35px;
@include control();
.icon-clear {
padding-right: 0px;
left: 0;
Expand Down Expand Up @@ -96,10 +96,10 @@
border-right: 1px solid var(--border);
height: 40px;
line-height: 40px;
transition: background-color $anim-duration, color $anim-duration;
&:last-child {
border-right: none;
}
transition: background-color $anim-duration, color $anim-duration;
&:active {
color: var(--select-foreground);
background: var(--highlight);
Expand Down
4 changes: 2 additions & 2 deletions src/Elements/Elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
font-size: 14px;
}
.control {
@include control();
padding: 10px 0;
@include control();
.icon-eye {
right: 0;
}
Expand Down Expand Up @@ -86,14 +86,14 @@
color: var(--foreground);
margin: 10px 0;
h2 {
@include right-btn();
color: var(--primary);
background: var(--darker-background);
border-top: 1px solid var(--border);
padding: $padding;
line-height: 18px;
font-size: $font-size;
transition: background-color $anim-duration;
@include right-btn();
&.active-effect {
cursor: pointer;
}
Expand Down
6 changes: 3 additions & 3 deletions src/Network/Network.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
padding-top: 39px;
}
.control {
@include control();
padding: 10px;
border-bottom: none;
@include control();
.title {
font-size: $font-size;
}
Expand Down Expand Up @@ -91,15 +91,15 @@
.section {
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
margin-top: 10px;
margin-bottom: 10px;
h2 {
background: var(--darker-background);
color: var(--primary);
padding: $padding;
line-height: 18px;
font-size: $font-size;
}
margin-top: 10px;
margin-bottom: 10px;
table {
color: var(--foreground);
* {
Expand Down
6 changes: 3 additions & 3 deletions src/Resources/Resources.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
}
}
.title {
@include right-btn();
padding: $padding;
line-height: 18px;
color: var(--primary);
background: var(--darker-background);
@include right-btn();
}
.link-list {
font-size: $font-size-s;
Expand All @@ -52,20 +52,20 @@
}
}
.image-list {
@include clear-float();
color: var(--foreground);
font-size: $font-size-s;
display: flex;
flex-wrap: wrap;
padding: $padding !important;
@include clear-float();
li {
flex-grow: 1;
cursor: pointer;
overflow-y: hidden;
&.image {
height: 100px;
font-size: 0;
}
overflow-y: hidden;
img {
height: 100px;
min-width: 100%;
Expand Down
6 changes: 3 additions & 3 deletions src/style/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

.container {
min-width: 320px;
&.dark {
color-scheme: dark;
}
pointer-events: none;
position: fixed;
left: 0;
Expand All @@ -18,6 +15,9 @@
font-family: $font-family;
font-size: $font-size;
direction: ltr;
&.dark {
color-scheme: dark;
}
* {
box-sizing: border-box;
pointer-events: all;
Expand Down

0 comments on commit 0ea3a8b

Please sign in to comment.