mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-19 05:13:01 +00:00
Fix domain label position and color (#9033)
* Fix position of the domain label * Fix position of the domain label for RTL - Fix color mismatch of linear gradient which assigned to "::after" pseudo class
This commit is contained in:
parent
f468bfb830
commit
25f9ead041
|
@ -427,7 +427,7 @@ code {
|
||||||
|
|
||||||
&__append {
|
&__append {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 1px;
|
right: 3px;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
padding-bottom: 9px;
|
padding-bottom: 9px;
|
||||||
|
|
|
@ -246,12 +246,12 @@ body.rtl {
|
||||||
|
|
||||||
.simple_form .label_input__append {
|
.simple_form .label_input__append {
|
||||||
right: auto;
|
right: auto;
|
||||||
left: 0;
|
left: 3px;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
right: auto;
|
right: auto;
|
||||||
left: 0;
|
left: 0;
|
||||||
background-image: linear-gradient(to left, rgba($ui-base-color, 0), $ui-base-color);
|
background-image: linear-gradient(to left, rgba(darken($ui-base-color, 10%), 0), darken($ui-base-color, 10%));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue