Botpurple (обсуждение | вклад) мНет описания правки |
Botpurple (обсуждение | вклад) мНет описания правки |
||
Строка 122: | Строка 122: | ||
.color-security, | .color-security, | ||
tr.color-security { | tr.color-security { | ||
border-color:#BF4C4C; /* Secondary */ | |||
border-color:#BF4C4C; | |||
} | } | ||
.color-security th, | .color-security th, | ||
tr.color-security th { | tr.color-security th { | ||
background-color:#BF2626; | background-color:#BF2626; /* Primary */ | ||
border-color:#BF1313; | border-color:#BF1313; /* Primary Bold */ | ||
} | } | ||
.color-security td, | .color-security td, | ||
tr.color-security td { | tr.color-security td { | ||
background-color: | background-color:rgb(242,242,242,5%) /* Very Light */ | ||
} | } | ||
:not(.regular).color-security th:not(.regular):first-of-type, | :not(.regular).color-security th:not(.regular):first-of-type, | ||
:not(.regular) tr.color-security th:not(.regular):first-of-type, | :not(.regular) tr.color-security th:not(.regular):first-of-type, | ||
.color-security th.capital, { | .color-security th.capital, { | ||
background-color:#BF4C4C; | background-color:#BF4C4C; /* Secondary */ | ||
color:#000000; | color:#000000; /* Secondary Text */ | ||
border-color:#BF1313; | border-color:#BF1313; /* Primary Bold */ | ||
} | } |
Версия от 09:06, 3 февраля 2024
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ .tooltip{ position: relative; } .tooltiptext { position: absolute; display: block; z-index: 2; width: 250px; padding: 10px; visibility: hidden; opacity: 0; white-space: normal; text-align: left; transition: all 0.2s; border: 1px solid #aaa; background-color: #ffdd66; } .tooltipmarine { position: absolute; display: block; z-index: 2; width: fit-content; padding: 20px; visibility: hidden; opacity: 0; white-space: normal; text-align: left; transition: all 0.2s; } .tooltiptable { position: absolute; display: block; z-index: 2; max-width:600px; width:max-content; padding: 10px; top:11pt; right:-55px; visibility: hidden; opacity: 0; white-space: normal; text-align: left; transition: all 0.2s; border: 1px solid #666; background-color: #ff6666; } .tooltip:hover>.tooltiptext { visibility: visible; opacity: 1; } .tooltip:hover>.tooltipmarine { visibility: visible; opacity: 1; } .tooltipmarine > * { width: max-content; } .tooltip:hover>.tooltiptable { visibility: visible; opacity: 1; } img { image-rendering: optimizeSpeed; image-rendering: -webkit-optimize-contrast; image-rendering: optimize-contrast; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: crisp-edges; image-rendering: pixelated; -ms-interpolation-mode: nearest-neighbor; } /* Стиль таблицы для описания объектов, без излишеств */ .standart-table { width:100%; padding:2px; border:3px solid grey; border-radius:8px; border-spacing:4px; } .standart-table th { background-color:dimgray; color:white; padding:3px; border:3px solid black; border-radius:3px; } .standart-table td { background-color:rgb(220,220,220,5%); padding:16px; } .standart-table td:hover{ background-color:rgb(220,220,220,20%); } .items-table:not(.regular) th:not(.regular):first-of-type, th.capital { background-color:darkgrey; color:black; font-weight:bold; text-align: center; padding:3px; border:3px outset grey; border-radius:3px; } /* Раскрашивание таблицы выше под стиль SECURITY */ .color-security, tr.color-security { border-color:#BF4C4C; /* Secondary */ } .color-security th, tr.color-security th { background-color:#BF2626; /* Primary */ border-color:#BF1313; /* Primary Bold */ } .color-security td, tr.color-security td { background-color:rgb(242,242,242,5%) /* Very Light */ } :not(.regular).color-security th:not(.regular):first-of-type, :not(.regular) tr.color-security th:not(.regular):first-of-type, .color-security th.capital, { background-color:#BF4C4C; /* Secondary */ color:#000000; /* Secondary Text */ border-color:#BF1313; /* Primary Bold */ }