2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

initial pass at color simplification

This commit is contained in:
awesomerobot 2017-06-11 22:20:14 -04:00
parent 2ffddfb32c
commit c29b7aa65d
53 changed files with 296 additions and 266 deletions

View file

@ -160,7 +160,7 @@
th {
text-align: left;
border-bottom: 3px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-bottom: 3px solid $primary-low;
padding: 0 0 10px 0;
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
font-weight: normal;
@ -168,7 +168,7 @@
td {
padding: 10px 0 10px 0;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-bottom: 1px solid $primary-low;
}
}
@ -180,7 +180,7 @@
}
.user-invite-controls {
background-color: dark-light-diff($primary, $secondary, 90%, -75%);
background-color: $primary-low;
padding: 5px 10px 0px 0;
height: 35px;
}
@ -212,8 +212,8 @@
.secondary {
background: scale-color($secondary, $lightness: -5%);
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-top: 1px solid $primary-low;
border-bottom: 1px solid $primary-low;
font-size: 0.929em;
.btn { padding: 3px 12px; }
@ -250,7 +250,7 @@
}
dt {
color: dark-light-diff($secondary, $primary, 50%, -40%);
color: $secondary-medium;
margin: 0;
}
}
@ -262,8 +262,8 @@
transition: margin .15s linear;
blockquote {
background-color: dark-light-diff($secondary, $primary, 30%, -70%);
border-left-color: dark-light-diff($secondary, $primary, 50%, -50%);
background-color: $secondary-low;
border-left-color: $secondary-low;
}
h1 {
@ -390,7 +390,7 @@
padding: 0 0 2px 0;
margin-top: 0;
background: rgba($secondary, .85);
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-bottom: 1px solid $primary-low;
.bio { display: none; }
.primary {
@ -434,7 +434,7 @@
color: $primary;
}
.item.moderator-action {
background-color: dark-light-diff($highlight, $secondary, 50%, -10%);
background-color: $highlight-medium;
}
.item.deleted {
opacity: 0.8;
@ -447,7 +447,7 @@
.item {
padding: 20px 8px 15px 8px;
background-color: $secondary;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-bottom: 1px solid $primary-low;
}
.type {
color: $primary;
@ -491,7 +491,7 @@
}
.notification {
&.unread {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
background-color: $tertiary-low;
}
li { display: inline-block; }