Replace Daira glyphs with normalized weather icons
This commit is contained in:
@@ -66,14 +66,6 @@ table tr:hover {
|
||||
background: #c0c0c0;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Daira by LTV grafika';
|
||||
src: url('../assets/ltv_meteo.otf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
@@ -93,4 +85,3 @@ table tr:hover {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: 10px;
|
||||
}
|
||||
.weatherIconStub{position:fixed!important;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
.weatherIconButton {
|
||||
font-family: 'Daira by LTV grafika';
|
||||
font-size: 30px;
|
||||
display:inline-flex;align-items:center;justify-content:center;
|
||||
width:50px;height:50px;min-height:50px;
|
||||
background:#f4f6f8;border:1px solid #d9e0e8;border-radius:10px;
|
||||
@@ -12,17 +10,8 @@
|
||||
background:#e9eef4;border-color:#aebccc;color:#17212d;
|
||||
}
|
||||
|
||||
.weatherIconInput {
|
||||
font-family: 'Daira by LTV grafika';
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.weatherIconStub {
|
||||
font-family: 'Daira by LTV grafika';
|
||||
font-size: 20px;
|
||||
color: white;
|
||||
}
|
||||
.weatherIconButton.selected{background:#17212d;border-color:#17212d;color:#fff;box-shadow:0 0 0 3px var(--accent-pale)}
|
||||
.weatherIconButton:focus-visible{outline:3px solid var(--accent-soft);outline-offset:2px}
|
||||
.weatherGlyph{display:block;flex:none;color:inherit;pointer-events:none}
|
||||
.weatherIconAsset{display:block;flex:none;object-fit:contain;pointer-events:none;filter:brightness(0) saturate(100%) invert(12%) sepia(13%) saturate(1127%) hue-rotate(173deg) brightness(93%) contrast(92%)}
|
||||
.weatherIconAsset.inverse,.weatherIconButton.selected .weatherIconAsset{filter:none}
|
||||
.symbolPalette{grid-template-columns:repeat(auto-fill,50px)!important}.selectedPreview{width:46px!important;height:46px!important}.selectedPreview,.currentSymbol{font-family:inherit!important}
|
||||
|
||||
Reference in New Issue
Block a user