style: format code with prettier
This commit is contained in:
1 parent
7c7a63cd95
commit
3cfd7c61e3
1 file changed
+18
-12
@@ -545,7 +545,8 @@
|
||||
.text--primary,
|
||||
.tx-clr--dk,
|
||||
.tx-clr--slate,
|
||||
.module__temperature-unit:not(.module__temperature-unit--on), .module__items-day {
|
||||
.module__temperature-unit:not(.module__temperature-unit--on),
|
||||
.module__items-day {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
.module__temperature-unit,
|
||||
@@ -558,7 +559,10 @@
|
||||
.js-definitions-internal {
|
||||
color: @blue !important;
|
||||
}
|
||||
.module__detail__hour-label, .module__current, .module__detail__temp-label, .module__items-unit--on {
|
||||
.module__detail__hour-label,
|
||||
.module__current,
|
||||
.module__detail__temp-label,
|
||||
.module__items-unit--on {
|
||||
color: @text !important;
|
||||
}
|
||||
.module__items-item {
|
||||
@@ -580,16 +584,18 @@
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
//rain icon
|
||||
.module__items-icon-precip {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40" fill="none"><path d="M12.35 22.064a1 1 0 0 1 .586 1.287l-3 8a1 1 0 0 1-1.873-.702l3-8a1 1 0 0 1 1.288-.585m3.999 0a1 1 0 0 1 .586 1.287l-3 8a1 1 0 1 1-1.873-.702l3-8a1 1 0 0 1 1.288-.585m4.585 1.287a1 1 0 0 0-1.872-.702l-3 8a1 1 0 1 0 1.872.702zm3.414-1.287a1 1 0 0 1 .586 1.287l-3 8a1 1 0 1 1-1.872-.702l3-8a1 1 0 0 1 1.287-.585m4.585 1.287a1 1 0 0 0-1.872-.702l-3 8a1 1 0 1 0 1.872.702z" fill="@{blue}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.256 14.313a6.5 6.5 0 0 1 12.486-3.633A4 4 0 0 1 28.874 14H29a5 5 0 0 1 0 10H11a5 5 0 0 1-1.744-9.687" fill="@{text}"/></svg>');
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-top: 5px;
|
||||
margin-bottom:-5px;
|
||||
max-width: 100%;
|
||||
}
|
||||
//rain icon
|
||||
.module__items-icon-precip {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40" fill="none"><path d="M12.35 22.064a1 1 0 0 1 .586 1.287l-3 8a1 1 0 0 1-1.873-.702l3-8a1 1 0 0 1 1.288-.585m3.999 0a1 1 0 0 1 .586 1.287l-3 8a1 1 0 1 1-1.873-.702l3-8a1 1 0 0 1 1.288-.585m4.585 1.287a1 1 0 0 0-1.872-.702l-3 8a1 1 0 1 0 1.872.702zm3.414-1.287a1 1 0 0 1 .586 1.287l-3 8a1 1 0 1 1-1.872-.702l3-8a1 1 0 0 1 1.287-.585m4.585 1.287a1 1 0 0 0-1.872-.702l-3 8a1 1 0 1 0 1.872.702z" fill="@{blue}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.256 14.313a6.5 6.5 0 0 1 12.486-3.633A4 4 0 0 1 28.874 14H29a5 5 0 0 1 0 10H11a5 5 0 0 1-1.744-9.687" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: -5px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
//calculator
|
||||
.tile__ctrl__btn,
|
||||
|
||||
Reference in new issue
Block a user