mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 00:51:03 +08:00
Use choose-grey(5%) instead of diff(97%)
This commit is contained in:
parent
7083bfdf27
commit
aaccb73a3b
|
@ -169,7 +169,7 @@ pre {
|
|||
display: block;
|
||||
padding: 5px 10px;
|
||||
color: $primary;
|
||||
background: dark-light-diff($primary, $secondary, 97%, -65%);
|
||||
background: choose-grey(5%);
|
||||
max-height: 500px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -265,9 +265,9 @@
|
|||
|
||||
&.clicks {
|
||||
font-weight: normal;
|
||||
background-color: dark-light-diff($primary, $secondary, 85%, -65%);
|
||||
background-color: dark-light-diff($primary, $secondary, 85%, -60%);
|
||||
top: -1px;
|
||||
color: dark-light-diff($primary, $secondary, 50%, -45%);
|
||||
color: dark-light-diff($primary, $secondary, 50%, -20%);
|
||||
position: relative;
|
||||
margin-left: 2px;
|
||||
border: none;
|
||||
|
|
|
@ -98,5 +98,5 @@
|
|||
// Stuff we repeat
|
||||
@mixin post-aside {
|
||||
border-left: 5px solid dark-light-diff($primary, $secondary, 90%, -85%);
|
||||
background-color: dark-light-diff($primary, $secondary, 97%, -75%);
|
||||
background-color: choose-grey(5%);
|
||||
}
|
||||
|
|
|
@ -308,7 +308,7 @@ a.star {
|
|||
|
||||
.topic-map {
|
||||
margin: 20px 0 0 0;
|
||||
background: dark-light-diff($primary, $secondary, 97%, -75%);
|
||||
background: choose-grey(5%);
|
||||
border: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
border-top: none; // would cause double top border
|
||||
|
||||
|
@ -414,7 +414,7 @@ a.star {
|
|||
border: 0;
|
||||
padding: 0 23px;
|
||||
color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%));
|
||||
background: dark-light-diff($primary, $secondary, 97%, -75%);
|
||||
background: choose-grey(5%);
|
||||
border-left: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
&:hover {
|
||||
|
@ -626,13 +626,13 @@ blockquote {
|
|||
.quote {
|
||||
&>blockquote {
|
||||
.onebox-result {
|
||||
background-color: dark-light-diff($primary, $secondary, 97%, -45%);
|
||||
background-color: choose-grey(5%);
|
||||
}
|
||||
}
|
||||
|
||||
aside {
|
||||
.quote, .title, blockquote, .onebox, .onebox-result {
|
||||
background: dark-light-diff($primary, $secondary, 97%, -45%);
|
||||
background: choose-grey(5%);
|
||||
border-left: 5px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
}
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ a.star {
|
|||
.topic-map {
|
||||
|
||||
margin: 10px 0;
|
||||
background: dark-light-diff($primary, $secondary, 97%, -45%);
|
||||
background: choose-grey(5%);
|
||||
border: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
border-top: none; // would cause double top border
|
||||
|
||||
|
@ -287,7 +287,7 @@ a.star {
|
|||
border: 0;
|
||||
padding: 0 15px;
|
||||
color: $primary;
|
||||
background: dark-light-diff($primary, $secondary, 97%, -75%);
|
||||
background: choose-grey(5%);
|
||||
border-left: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
||||
.fa {
|
||||
|
|
Loading…
Reference in New Issue
Block a user