mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
UX: simplify delete gap style
This commit is contained in:
parent
27e52bc66d
commit
cfb30bca80
3 changed files with 5 additions and 37 deletions
|
@ -300,39 +300,12 @@ blockquote > *:last-child {
|
|||
}
|
||||
|
||||
.gap {
|
||||
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
||||
padding: 5px 0;
|
||||
padding: 0.25em 0 0.5em 4.3em;
|
||||
color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%));
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
|
||||
&.jagged-border {
|
||||
background-image:
|
||||
linear-gradient(
|
||||
135deg,
|
||||
$secondary 50%, rgba(255,255,255,0) 50%
|
||||
),
|
||||
linear-gradient(
|
||||
-135deg,
|
||||
$secondary 50%, rgba(255,255,255,0) 50%
|
||||
),
|
||||
linear-gradient(
|
||||
45deg,
|
||||
$secondary 50%, rgba(255,255,255,0) 50%
|
||||
),
|
||||
linear-gradient(
|
||||
-45deg,
|
||||
$secondary 50%, rgba(255,255,255,0) 50%
|
||||
);
|
||||
background-position:
|
||||
top center, top center,
|
||||
bottom center, bottom center;
|
||||
background-size: .9em .9em;
|
||||
background-repeat: repeat-x;
|
||||
padding: 20px 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.who-liked {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue