You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RnQ/Distro/Template/preferences.css

974 lines
17 KiB
CSS

@const mainFontSize: 15dip;
@const blikningDelay: var(blikningDelay, 0.2s);
@set v-scroll-indicator-nohover < v-scroll-indicator-nomargins-light {
.slider:hover {
background-color: @indicatorColorLight;
}
}
@set v-scroll-indicator-extended < base-scroll-indicator {
.slider {
margin: 0 2dip 0 4dip;
}
.base {
width: 14dip;
min-width: 14dip;
}
}
@set v-scroll-indicator-padded < base-scroll-indicator {
.slider {
margin: 1dip;
}
}
@set h-scroll-indicator-padded < base-scroll-indicator {
.slider {
margin: 1dip;
}
}
@set v-no-scroll {
.slider {
background-color: transparent;
}
.base {
width: 0;
min-width: 0;
max-width: 0;
}
}
html[window-blurbehind],
html.customframe {
background: transparent;
var(header-height): 48dip;
}
html.customframe > window-header {
position: absolute;
}
html.customframe > window-header > window-caption {
padding: 2dip 14dip !important;
color: var(text-color) !important;
}
body {
padding: 0;
margin: 0;
letter-spacing: 0.1dip;
}
body, input, input > caption, input > span, button, textarea, div.panels {
font-family: @baseFont;
font-size: @mainFontSize;
font-rendering-mode: sub-pixel;
}
img:incomplete:not(:busy) {
background-image: none;
border: 0;
min-width: 0;
min-height: 0;
}
* {
outline: none;
}
a, a:visited {
text-decoration: none;
color: @activeColor;
}
a:hover, a:focus {
color: @ctrlBorderColorLight;
}
popup[role="tooltip"],
popup[role="overflow-tooltip"] {
background-color: #f2f2f2 !important;
border: 1dip solid @popupBorderColor !important;
border-radius: 1px !important;
padding: 5dip 10dip 7dip 10dip !important;
height: 16dip !important;
vertical-align: middle !important;
font-family: @baseFont !important;
font-size: 14dip !important;
margin-top: -5dip !important;
}
#loading {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
background: #fff;
background-image: url(resource:rnqnew128);
background-repeat: no-repeat;
background-position: center center;
visibility: visible;
opacity: 1;
transition: opacity 0.3s ease;
}
#loading.finished {
visibility: hidden;
opacity: 0;
}
#loading:animating {
visibility: visible !important;
}
.container {
flow: horizontal;
size: *;
}
html.customframe .sectionsbkg {
background-color: #f5f5f560;
transition: background-color 0.1s linear;
}
.sections {
width: max-content;
height: *;
flow: vertical;
font-size: @mainFontSize;
overflow-y: scroll-indicator;
vertical-scrollbar: "v-scroll-indicator-nohover";
margin-top: var(header-height);
}
html.customframe:not(:owns-focus) .sectionsbkg {
background-color: @greyColor;
}
.section {
flow: horizontal;
vertical-align: middle;
line-height: 16dip;
height: 16dip;
padding: 16dip;
padding-right: 48dip;
position: relative;
}
.section:hover {
background-color: rgba(0, 0, 0, 0.07);
prototype: SectionTooltip;
}
.section.active {
color: @activeColor;
}
.section .fonticon img {
fill: #000;
}
.section.active .fonticon img {
fill: @activeColor;
}
.section.active::before {
position: absolute;
left: 0;
top: 12dip;
width: 4dip;
height: 24dip;
background-color: @activeColor;
}
.section .fonticon {
margin-right: 15dip;
}
.section .fonticon img {
size: 16dip;
}
.section .tooltip {
display: none;
border-radius: 1dip;
height: 16dip;
padding: 16dip;
padding-right: 15dip;
vertical-align: middle;
background-color: rgba(230, 230, 230, 0.9);
line-height: 16dip;
font: inherit;
font-size: @mainFontSize;
border: none;
width: max-content;
}
.section .tooltip .fonticon {
margin: 1dip 0 0 30dip;
}
@media collapsed {
html.customframe > window-header > window-caption {
padding-left: 62dip !important;
}
.sections {
width: 48dip;
overflow-x: hidden;
overflow-y: scroll;
vertical-scrollbar: "v-no-scroll";
}
.sections .title {
display: none;
}
.sections .section {
margin-right: 0;
padding-right: 16dip;
}
}
.prefs {
size: *;
padding: 0;
padding-left: 20dip;
padding-bottom: 0;
padding-top: var(header-height);
margin: 0;
background: window;
}
.pref {
size: *;
flow: vertical;
behavior: form;
}
.pref h1 {
padding: 10dip 0;
margin: 0;
font-weight: 350;
font-size: 28dip;
line-height: 28dip;
}
.pref h2 {
margin: 0;
padding: 20dip 0 10dip 0;
font-weight: 400;
font-size: 20dip;
}
.pref h2.withsub {
padding-bottom: 5dip;
}
.pref h3 {
margin: 0;
padding: 0;
padding-top: 10dip;
font-weight: inherit;
font-size: inherit;
}
.pref h3.sub {
padding-top: 0;
}
.settings {
flow: vertical;
overflow: scroll-indicator;
vertical-scrollbar: "v-scroll-indicator-extended";
size: *;
}
.settings > div:first-child {
flow: vertical;
width: *;
height: max-content;
padding-right: 23dip;
}
.topshift {
padding-top: 15dip;
}
.colorpicker {
border: 2dip solid @ctrlBorderColorLight;
background-color: #fff;
background-image: none;
}
select:not([type]),
select[type="list"] {
margin: 10dip 0 !important;
}
input:not([type]),
input[uwp][type="text"],
input[uwp][type="integer"],
input[uwp][type="decimal"],
input[uwp][type="masked"],
input[uwp][type="password"] {
margin: 10dip 0;
}
input[type="hslider"] {
prototype: SliderBadge;
}
.sliderhint {
margin-left: -9999dip;
opacity: 0;
position: absolute;
padding: 5dip 10dip;
background-color: #fff;
border: 1dip solid @greyColorLightPressed;
width: max-content;
height: max-content;
transition: opacity 0.1s linear, display 0.1s linear;
}
.sliderhint:expanded {
margin-left: 0;
opacity: 1;
}
.colorpicker:hover {
border: 2dip solid @ctrlBorderColor !important;
}
.colorpicker:focus {
border: 2dip solid @activeColor !important;
}
[role="option"]:hover {
background-color: @activeColorHover !important;
}
[role="option"]:current {
background-color: @activeColorCurrent !important;
color: #000;
}
[role="option"]:current:hover {
background-color: @activeColorHoverCurrent !important;
}
[role="option"] input[type="checkbox"] {
margin-right: 10dip;
}
select[multi] {
prototype: MultiSelect !important;
min-height: 100dip;
}
select.vlist {
max-width: 308dip;
min-width: 200dip;
}
select.vlist,
textarea.vtext {
height: 124dip !important;
}
select.vlist#ignorelist {
height: 155dip !important;
}
textarea.vtheme,
plaintext.vtheme {
width: *;
max-width: 100%;
}
textarea {
max-width: 304dip;
min-width: 200dip;
width: * !important;
}
#clitems {
position: relative;
}
#clitems > option {
prototype: CLItem;
}
#clitems > img.capture {
position: absolute;
//hit-margin: -9999px;
pointer-events: none;
opacity: 0.9;
}
.row, .rowt, .rowb, .rowm, .rowc, .rowd {
flow: horizontal-wrap;
width: *;
height: max-content;
border-spacing-x: 30dip;
border-spacing-y: 10dip;
margin: 0;
}
.rowt {
margin-top: 10dip;
}
.rowb {
margin-bottom: 10dip;
}
.rowm {
margin-top: 10dip;
margin-bottom: 10dip;
}
.rowc {
border-spacing-y: 0;
margin-top: 5dip;
}
.rowd {
border-spacing-x: 0;
border-spacing-y: 0;
}
.row.bottom > *,
.rowb.bottom > *,
.rowt.bottom > * {
height: *;
vertical-align: bottom;
}
.col {
flow: vertical;
width: *;
height: max-content;
border-spacing: 0dip;
}
.col.horiz {
flow: horizontal;
border-spacing: 20dip;
}
.col.horizwrap {
flow: horizontal-wrap;
border-spacing-x: 20dip;
}
.col.limited {
max-width: 308dip;
}
.col.minimal {
min-width: 200dip;
}
.col.shrunk {
width: max-content;
max-width: 100%;
}
.col.auto {
width: auto;
}
.col.fillheight {
height: *;
vertical-align: middle;
}
.col.proxy {
max-width: 130dip;
}
.col.vslabel {
max-width: 75dip;
}
.col.slabel {
max-width: 150dip;
}
.col.mlabel {
max-width: 235dip;
min-width: 180dip;
}
.col.port input:not([type]) {
min-width: 36dip;
width: 36dip;
}
.col input[type="password"],
.col input:not([type]),
.col select:not([type]) {
width: * !important;
min-width: 100dip;
max-width: 308dip;
}
.col input:not([type]) {
max-width: 296dip;
}
.col h3 {
padding-bottom: 10dip;
}
.radio,
.checkbox {
flow: horizontal;
vertical-align: middle;
margin: 0;
padding: -2dip 0 !important;
}
.checkbox {
margin-top: 10dip;
margin-bottom: 10dip;
}
.checkbox > checkbox {
margin: 0 !important;
}
div.nowrap,
span.nowrap,
.radio.nowrap,
.checkbox.nowrap {
white-space: nowrap;
}
checkbox.minlimited,
.checkbox.minlimited {
min-width: 150dip;
}
.checkbox span {
vertical-align: middle;
}
.hidden {
display: none !important;
}
[hidden] {
display: none;
}
.buttonbar {
border-spacing: 18dip 0;
height: max-content;
padding: 0;
padding-right: 20dip;
}
.buttonbar.single {
padding-top: 10dip;
padding-bottom: 10dip;
}
.buttonbar > .col {
min-width: 220dip;
max-width: 310dip;
}
button[uwp] {
margin: 10dip 0 !important;
font-size: 11pt !important;
}
@set uwp-button-ex < uwp-button {
:root[square] {
padding: 0;
}
:root[square]:active {
background-image-transformation: contrast-brightness-gamma(0.5, 0.4, 1.0);
}
}
@set uwp-add-button < uwp-button-ex {
:root[square],
:root[square]:hover,
:root[square]:focus {
background-image: url(resource:uwp_add);
}
}
@set uwp-del-button < uwp-button-ex {
:root[square],
:root[square]:hover,
:root[square]:focus {
background-image: url(resource:uwp_del);
}
}
button.add {
style-set: uwp-add-button;
}
button.del {
style-set: uwp-del-button;
}
#addprofile,
#delprofile {
margin-bottom: 2dip !important;
}
//button.autowidth {
// max-width: max-content;
// min-width: max-content;
// width: max-content;
//}
#icq_birthdate {
margin-top: -1dip;
}
#icq_addedcap {
prototype: Capability;
width: min-content;
}
#addedcap {
flow: vertical;
margin-top: -5dip;
}
#addedcap_as_text {
white-space: nowrap;
width: *;
height: max-content;
font-size: 12dip;
}
#xstatuses {
flow: vertical;
white-space: pre;
margin-bottom: 15dip;
}
@set uwp-select-dropdown-xstatus < uwp-select-dropdown {
:root .xstatus {
font-size: 10pt;
size: 18dip;
max-width: 18dip;
max-height: 18dip;
overflow: hidden;
display: inline-block;
vertical-align: top;
margin-top: 1dip;
margin-right: 8dip;
}
}
#xstatuses select[uwp] {
style-set: uwp-select-dropdown-xstatus;
}
.fonticon {
font-rendering-mode: snap-pixel;
font-family: "Segoe MDL2 Assets", "Segoe UI Symbol";
font-size: 16dip;
display: inline-block;
vertical-align: middle;
margin-top: 1dip;
margin-right: 7dip;
size: 16dip;
line-height: 16dip;
}
.fonticon img {
foreground-size: contain;
}
table.columntable {
width: *;
height: 211dip;
padding: 0;
border: 2dip solid @ctrlBorderColorLight;
border-spacing: 0;
border-collapse: separate;
overflow: hidden;
}
table.columntable > thead th {
font-weight: normal;
border-bottom: 1dip solid @ctrlBorderColorLight;
}
table.columntable > thead th:nth-child(2),
table.columntable > thead th:nth-child(3) {
border-left: 1dip solid @ctrlBorderColorLight;
}
table.columntable td:nth-child(2),
table.columntable td:nth-child(3) {
border-left: 1dip solid @ctrlBorderColorLight;
}
table.columntable td,
table.columntable th {
padding: 5dip;
}
table.columntable > tbody {
height: *;
behavior: select;
overflow-y: scroll-indicator;
overflow-x: hidden;
vertical-scrollbar: "v-scroll-indicator-padded";
}
table#hotkeytable > thead th:nth-child(1),
table#hotkeytable > tbody td:nth-child(1) {
max-width: max-content;
}
table#hotkeytable > thead th:nth-child(2),
table#hotkeytable > tbody td:nth-child(2) {
text-align: left;
width: max-content;
min-width: max-content;
max-width: max-content;
white-space: nowrap;
}
table#hotkeytable > thead th:nth-child(3) {
overflow-x: hidden;
text-overflow: ellipsis;
text-align: left;
}
table#hotkeytable > tbody td:nth-child(3) {
min-width: max-content;
white-space: nowrap;
}
#plugins > .settings > div:first-child {
height: *;
}
table#plugintable {
height: *;
margin-right: 23dip;
}
table#plugintable > tbody {
prototype: MultiSelect;
}
table#plugintable td {
padding: 0 5dip;
}
table#plugintable > thead th:nth-child(1),
table#plugintable > tbody td:nth-child(1) {
width: 0.7*;
white-space: nowrap;
min-width: max-content;
}
table#plugintable > thead th:nth-child(2),
table#plugintable > tbody td:nth-child(2) {
width: 0.3*;
white-space: nowrap;
min-width: 20dip;
text-overflow: ellipsis;
text-align: left;
}
table#plugintable > thead th:nth-child(2) {
text-align: center;
}
menu.noicons > li {
padding-left: 12dip 5dip;
}
menu#contactmenu > li {
padding-left: 12dip;
}
menu#contactmenu > li > .icon {
margin-top: 2dip;
}
menu > option:current span.accesskey,
li:current span.accesskey {
color: @activeColor !important;
}
menu#cssthemes {
margin: 0;
}
.fonticon24 {
font-rendering-mode: snap-pixel;
font-family: "Segoe MDL2 Assets", "Segoe UI Symbol";
font-size: 24dip;
margin-top: 3dip;
color: #888;
}
.fonticon24 img {
size: 24dip;
}
.blinkingicon {
prototype: Blink;
transition: opacity 0.15s linear @blikningDelay;
opacity: 1;
}
.blinkingicon:expanded {
opacity: 0;
}
.small {
color: @ctrlBorderColor;
font-size: 12dip !important;
padding: 0 !important;
}
#uiaccentcolor {
margin-top: 0 !important;
}
.textwbtn {
flow: horizontal;
vertical-align: bottom;
}
.textwbtn > span {
width: *;
display: inline-block;
}
.textwbtn > button {
margin: 0;
}
.warning {
color: @warnColor;
}
.fullheight {
height: *;
vertical-align: middle;
}
.fullwidth {
width: *;
max-width: inherit !important;
}
#chat_spellcheckstyle {
max-width: 150dip;
}
#spellcheckinfo {
width: 28dip !important;
margin: 0 !important;
margin-left: 10dip !important;
padding: 0 2dip 0 0 !important;
}
#spellchecklangs {
width: 304dip;
}
#spellchecklangs option:expanded {
color: #536DA5 !important;
}
#hkkey {
context-menu: none;
}
#hkaction {
max-width: 449dip;
}
#propslist,
#themeedit_picpath,
#themeedit_sndpath {
min-width: 250dip;
max-width: inherit !important;
}
#themeedit_contents {
height: 200dip;
}
@set colorizer < std-plaintext {
:root {
aspect: colorize url(colorizer.mjs);
font-family: @baseFont;
font-size: @mainFontSize;
font-rendering-mode: sub-pixel;
border: 2dip solid @ctrlBorderColorLight;
background-color: #fff;
background-image: none;
min-width: 200dip;
width: *;
height: 300dip;
padding: 10dip;
overflow: scroll-indicator;
vertical-scrollbar: "v-scroll-indicator-padded";
horizontal-scrollbar: "h-scroll-indicator-padded";
}
:root:hover {
border: 2dip solid @ctrlBorderColor;
}
:root:focus {
border: 2dip solid @activeColor;
text-selection: #fff @activeColor !important;
}
:root[wrap="off"] {
overflow-x: scroll;
overflow-y: scroll;
white-space: pre;
}
:root > text:last-child { padding-bottom: *; }
text {
margin: 0;
padding: 0;
list-style-type: none;
white-space: pre;
}
/*markup*/
text::highlight(tag) { color: #795548; } /*background-color: #f0f0fa;*/
text::highlight(tag-id) { color: #795548; } /*background-color: #f0f0fa;*/
/*source*/
text::highlight(number) { color: #7e047d; }
text::highlight(number-unit) { color: #303f9f; }
text::highlight(string) { color: #607d8b; }
text::highlight(keyword) { color: #303f9f; }
text::highlight(symbol) { color: #795548; }
text::highlight(literal) { color: #7d2e32; }
text::highlight(support) { color: #2e7d32; }
text::highlight(comment) { color: #7E7E7E; font-style: italic; }
text[type=markup] {}
text[type=script].start,
text[type=style].start {
border-top: 1px dashed #ccc;
}
text[type=script].stop,
text[type=style].stop {
border-bottom: 1px dashed #ccc;
}
}
#themeedit_maincss,
#themeedit_chatcss {
style-set: colorizer;
}
#themeedit_fontcolor {
background-color: #000;
}
#themetesttext {
margin-top: 10dip;
font-weight: normal;
font-style: normal;
text-decoration: none;
overflow: hidden;
}
#themetesttext[bold="true"] {
font-weight: bold;
}
#themetesttext[italic="true"] {
font-style: italic;
}
#themetesttext[underline="true"] {
text-decoration: underline;
}
#other_mybrowser {
margin-left: -10dip;
min-width: inherit;
max-width: 350dip;
}
#other_filespath {
min-width: 200dip !important;
max-width: 380dip !important;
}
.tabs {
prototype: CustomTabs;
style-set: custom-tabs;
margin-top: 15dip;
}
checkbox[title]::after {
content: " *";
color: #999;
}
.infopanel {
padding: 0 30dip 0 0;
margin-bottom: 20dip;
width: *;
line-height: normal;
}
.infopanel > div > div {
width: *;
color: @ctrlBorderColor;
font-weight: 350;
}
.infopanel > div > div a {
font-weight: 400;
}
.infopanel > div > div b {
font-weight: 450;
}
.infopanel div[auto] {
display: inline-block;
vertical-align: middle;
}
.infopanel div[auto][pic="lmb"],
.infopanel div[auto][pic="rmb"],
.infopanel div[auto][pic="fmb"],
.infopanel div[auto][pic="bmb"] {
margin-left: -1dip;
}
.infopanel .uipic {
margin-right: 3dip;
}
.infopanel h2:first-of-type {
margin-top: 0;
}
.infopanel h2:not(:first-of-type),
.infopanel h3:not(:first-of-type) {
margin-top: 10dip;
}
.hotkeytable {
flow: row(div, div);
border-spacing: 20dip 5dip;
}
.hotkeytable div:nth-child(2n+1) {
white-space: nowrap;
}
.hotkeytable div:nth-child(2n+2) {
width: *;
white-space: normal;
}
@media expanded {
.settings {
flow: horizontal;
}
.infopanel {
display: block;
height: *;
width: 250dip;
padding-left: 15dip;
margin-bottom: 0;
}
.infopanel h2:first-of-type {
margin-top: 4dip;
}
.infopanel h2 {
font-size: 16dip;
}
.infopanel .row.topped {
margin-top: 20dip;
}
}