style: format code with prettier
This commit is contained in:
1 parent
f8345ba8c9
commit
0c71187de2
1 file changed
+38
-34
@@ -179,19 +179,23 @@
|
||||
/* maths */
|
||||
img.mwe-math-fallback-image-inline {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) saturate(100%) invert(31%) sepia(9%) saturate(1499%) hue-rotate(196deg) brightness(90%) contrast(85%);
|
||||
filter: brightness(0) saturate(100%) invert(31%) sepia(9%)
|
||||
saturate(1499%) hue-rotate(196deg) brightness(90%) contrast(85%);
|
||||
}
|
||||
|
||||
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) saturate(100%) invert(92%) sepia(6%) saturate(3753%) hue-rotate(184deg) brightness(93%) contrast(106%);
|
||||
filter: brightness(0) saturate(100%) invert(92%) sepia(6%)
|
||||
saturate(3753%) hue-rotate(184deg) brightness(93%) contrast(106%);
|
||||
}
|
||||
|
||||
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) saturate(100%) invert(82%) sepia(7%) saturate(1042%) hue-rotate(193deg) brightness(103%) contrast(92%);
|
||||
filter: brightness(0) saturate(100%) invert(82%) sepia(7%)
|
||||
saturate(1042%) hue-rotate(193deg) brightness(103%) contrast(92%);
|
||||
}
|
||||
|
||||
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) saturate(100%) invert(83%) sepia(28%) saturate(223%) hue-rotate(190deg) brightness(99%) contrast(93%);
|
||||
filter: brightness(0) saturate(100%) invert(83%) sepia(28%)
|
||||
saturate(223%) hue-rotate(190deg) brightness(99%) contrast(93%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1034,7 +1038,7 @@
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
|
||||
#frb-main {
|
||||
--wmui-base100: @base;
|
||||
--wmui-base0: @text;
|
||||
@@ -1045,7 +1049,7 @@
|
||||
--frb-error: @red;
|
||||
--frb-submit: @accent-color;
|
||||
--frb-submit-hover: darken(@accent-color, 10%);
|
||||
|
||||
|
||||
svg.frb-message-icon > g {
|
||||
circle {
|
||||
fill: @yellow;
|
||||
@@ -1054,17 +1058,17 @@
|
||||
fill: @base;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.frb-message {
|
||||
background-color: @green;
|
||||
border-color: @green;
|
||||
}
|
||||
|
||||
|
||||
.frb-message::after {
|
||||
border-left-color: @green
|
||||
border-left-color: @green;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#frb-inline {
|
||||
--wmui-base100: @base;
|
||||
--frb-primary: @red;
|
||||
@@ -1079,68 +1083,68 @@
|
||||
--wmui-green-light: @green;
|
||||
--frb-submit: @accent-color;
|
||||
--frb-submit-hover: darken(@accent-color, 10%);
|
||||
|
||||
|
||||
.frb-inline-topbar {
|
||||
color: @text;
|
||||
|
||||
|
||||
svg circle {
|
||||
fill: @yellow;
|
||||
}
|
||||
|
||||
|
||||
svg path {
|
||||
fill: @base;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.frb-btn-cta {
|
||||
background-color: @accent-color !important;
|
||||
border-color: @accent-color !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
|
||||
.frb-btn-simple {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
|
||||
.frb-monthly-pitch {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
|
||||
.frb-optin-no-prompt {
|
||||
color: @base;
|
||||
}
|
||||
|
||||
|
||||
.frb-cta-hiddenmessage {
|
||||
background-color: @red;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#frb-nag {
|
||||
--frb-primary-light: @base;
|
||||
--frb-body: @text;
|
||||
--wmui-accent-dark: @subtext0;
|
||||
--frb-link-hover: @text;
|
||||
|
||||
|
||||
span.frb-donate-button {
|
||||
color: @base;
|
||||
background-color: @red;
|
||||
|
||||
|
||||
&:hover {
|
||||
color: @base;
|
||||
background-color: darken(@red, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
svg.frb-icon-close > g {
|
||||
stroke: @subtext0;
|
||||
|
||||
|
||||
&:hover {
|
||||
stroke: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.frb-nag:not(#frb-nag) {
|
||||
--frb-message-background: @base;
|
||||
--frb-message-border: @red;
|
||||
@@ -1148,13 +1152,13 @@
|
||||
border-color: @surface0;
|
||||
background: @base;
|
||||
box-shadow: none;
|
||||
|
||||
|
||||
#nag-rml-btn {
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
|
||||
#nag-yes-btn {
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
@@ -1166,19 +1170,19 @@
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6.7 12"><path d="M.9 0 0 .9 5.1 6 0 11.1l.9.9 5.5-5.5c.3-.3.3-.7 0-.9z" fill="@{base}"/></svg>'
|
||||
);
|
||||
background-image: url('data:image/svg+xml,@{svg}') !important;
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
|
||||
|
||||
.frb-back {
|
||||
@svg-raw: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 16"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><path stroke="@{subtext0}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.778" d="M7.181 13.285.753 7 7.181.715"/><rect fill="@{subtext0}" width="18.182" height="1.778" x=".818" y="6.111" rx=".889"/></g></svg>';
|
||||
@svg: escape(@svg-raw);
|
||||
background-image: url('data:image/svg+xml,@{svg}') !important;
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
|
||||
|
||||
.frb-close {
|
||||
@svg-raw: '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><g stroke="@{subtext0}" fill="none" stroke-linecap="round"><path d="M1 1 l8 8 M9 1 l-8 8"></path></g></svg>';
|
||||
@svg: escape(@svg-raw);
|
||||
background-image: url('data:image/svg+xml,@{svg}') !important;
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
|
||||
.sprite {
|
||||
|
||||
Reference in new issue
Block a user