Skip to content

Commit

Permalink
improved styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ishubin committed Nov 14, 2023
1 parent 896ff5d commit af9ab47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,16 @@ ul.tabs li .tab {
font-weight: bold;
cursor: pointer;
line-height: 1;
user-select: none;
}
@media (max-width: 900px) {
ul.tabs li .tab {
padding: 6px 10px;
}
}
ul.tabs li .tab .tab-icon {
font-size: 9px;
}
ul.tabs li .tab.active, ul.tabs li .tab.active:hover {
background: var(--faint-weak);
border-bottom: 1px solid var(--faint-weak);
Expand Down Expand Up @@ -324,6 +328,7 @@ ul.tabs li .tab.disabled, ul.tabs li .tab.disabled:hover {
transition: background-color 0.5s ease;
box-sizing: border-box;
line-height: 1.0;
user-select: none;
}
.btn:hover {
background: var(--faint-weak);
Expand Down Expand Up @@ -1173,6 +1178,7 @@ ul.button-group.disabled > li, ul.button-group > li.disabled {
display: inline-block;
padding: 0;
font-size: 0;
user-select: none;
}
.toggle-group > .toggle-button {
color: var(--faint-strong);
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/SchemeEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
:class="{active: currentTab === `extra:${tab.name}`}"
@click="changeTab(`extra:${tab.name}`)"
>
<i v-if="tab.icon" :class="tab.icon"></i>
<i v-if="tab.icon" class="tab-icon" :class="tab.icon"></i>
<span v-else>{{tab.name}}</span>
<span v-if="tab.count">({{tab.count}})</span>
</div>
Expand Down

0 comments on commit af9ab47

Please sign in to comment.