Browse Source

Make "pressed" topic voting buttons less gaudy

Some minor changes to the topic voting button styles to make it less
bright, especially for topics that you've voted on.
merge-requests/37/head
Deimos 6 years ago
parent
commit
e85ee49d02
  1. 16
      tildes/scss/modules/_topic.scss

16
tildes/scss/modules/_topic.scss

@ -132,12 +132,16 @@
padding: 0.2rem; padding: 0.2rem;
height: auto; height: auto;
min-width: 3rem; min-width: 3rem;
font-weight: normal;
&.btn-used { &.btn-used {
background-color: darken($violet, 3%);
border-color: darken($violet, 8%); border-color: darken($violet, 8%);
border-style: solid; border-style: solid;
color: #fff;
border-width: 0 0 0 2px;
.topic-voting-votes {
font-weight: bold;
}
&:hover { &:hover {
background-color: darken($blue, 3%); background-color: darken($blue, 3%);
@ -147,13 +151,13 @@
} }
.topic-voting-votes { .topic-voting-votes {
font-size: 0.8rem;
font-weight: bold;
font-size: 0.9rem;
line-height: 1.1rem;
} }
.topic-voting-label { .topic-voting-label {
font-size: 0.5rem;
line-height: 0.5rem;
font-size: 0.6rem;
line-height: 0.6rem;
} }
.topic-text-excerpt { .topic-text-excerpt {

Loading…
Cancel
Save