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/viewinfo.css

358 lines
6.0 KiB
CSS

@const textColor: #000;
html[window-blurbehind],
html.customframe {
background: transparent;
}
body {
padding: 0;
margin: 0;
image-rendering: optimize-quality;
font: system;
color: @textColor;
}
window-header {
background-color: window;
}
window-header > .icon {
margin-top: *;
margin-bottom: *;
margin-left: 8dip;
}
.tabs {
overflow: hidden;
size: *;
}
.tabs > .strip {
flow: horizontal;
margin-bottom: 0;
padding: 5dip 10dip -1dip 10dip;
background-color: window window threedface threedface;
border-bottom: 1dip solid #d9d9d9;
}
.tabs > .strip > [panel] {
color: @textColor;
border: 1dip solid transparent;
border-bottom-width: 0;
padding: 3dip 8dip;
margin: 0 -1dip 1dip -1dip;
width: max-content;
height: *;
}
.tabs > .strip > [panel]:hover {
border-color: #D9D9D9;
background-color: #F0F0F0;
color: @textColor;
}
.tabs > .strip > [panel][selected] {
border-color: #D9D9D9;
background-color: #FFFFFF;
margin-bottom: 0;
position: relative;
color: @textColor;
}
.tabs:tab-focus > .strip > [panel][selected] > * {
outline: 1dip dotted invert;
}
.panels {
background-color: window;
size: *;
}
.panels.hidden {
display: none;
}
.panels > form {
display: none;
padding: 10dip;
size: *;
border-spacing: 0;
white-space: nowrap;
overflow: hidden;
}
.panels > form[name=common] {
flow: row(label, input div);
}
.panels > form[name=phones] {
flow: row(label, input div);
}
.panels > form[name=misc] {
flow: row(label, input div);
}
.panels > form[name=client] {
flow: row(label button, input checkbox div);
}
.panels > form[name=notes] {
flow: row(label, input div);
}
.panels > form[selected] {
display: block;
}
form dummy {
display: block;
size: 0 !important;
padding: 0 !important;
margin: 0 !important;
}
form input[uwp][type="text"] {
display: block;
width: * !important;
}
form > input,
form > div.dual {
margin-bottom: 8dip !important;
}
form > div {
flow: horizontal;
vertical-align: middle;
width: *;
}
form > div.statusdiv {
margin-top: 10dip;
margin-bottom: 3dip;
border-spacing: 5dip;
}
form > div.statusdiv > label {
height: *;
}
form div.avatarimg,
form div.photoimg {
height: 140dip;
width: 0.4*;
vertical-align: middle;
}
form div.avatarimg > img,
form div.photoimg > img {
display: block;
size: *;
max-width: max-content;
max-height: max-content;
margin: 5dip auto;
opacity: 0;
transition: opacity 0.2s cubic-out;
foreground-size: contain;
foreground-position: center center;
}
form div.avatarimg > img.loaded,
form div.photoimg > img.loaded {
opacity: 1;
}
form div.avatarbtns,
form div.photobtns {
flow: vertical;
vertical-align: middle;
border-spacing: 10dip;
width: *;
margin-left: 30dip;
}
form label {
display: block;
vertical-align: middle;
}
form > label {
margin-right: 20dip;
}
form > div.dual > label {
margin: 0 20dip 0 30dip;
height: *;
}
form label.withpadding {
padding: 10dip 0 5dip 0;
}
form label.withtoppadding {
padding: 0 0 10dip 0;
}
form div.withpadding {
padding-top: 10dip;
}
form textarea {
size: * !important;
}
form div[name=c_caps] {
border: 1dip solid #ABADB3;
background-image: none;
display: block;
padding: 3dip 5dip;
white-space: pre-wrap;
overflow-x: hidden;
overflow-y: scroll-indicator;
vertical-scrollbar: "v-scroll-indicator-textarea-light";
horizontal-scrollbar: "h-scroll-indicator-textarea-light";
size: * !important;
}
form textarea[name=nl_notes] {
margin-top: 10dip;
}
form div[name=c_caps] {
behavior: selectable;
flow: horizontal;
padding: 0 !important;
border: 1dip solid @greyColor;
vertical-align: top;
}
form div[name=c_caps]:focus {
text-selection: #fff @activeColor;
}
form div[name=c_caps]:not(:focus) {
text-selection: windowtext #dedede;
}
form div.caps_hex {
overflow-x: hidden;
width: 10dip;
height: *;
padding: 0;
border-right: 1dip solid #DCDCDC;
background-color: #f7f7f7;
flow: horizontal;
transition: width 0.2s quad-out;
}
form div.caps_hex.opened {
width: max-content;
}
form div.caps_code {
white-space: pre;
overflow-x: hidden;
width: max-content;
height: *;
padding: 5dip 10dip 5dip 0;
font-size: 12dip;
font-family: monospace;
line-height: 18dip;
}
form div.caps_code * {
font-size: 12dip;
font-family: monospace;
line-height: 18dip;
}
form div.caps_handle {
height: *;
width: 10dip;
padding: 0;
cursor: pointer;
outline: none;
}
form div.caps_hex.opened div.caps_handle {
cursor: default !important;
}
form div.caps_desc {
font-size: 12dip;
white-space: pre;
line-height: 18dip;
padding: 5dip;
width: *;
height: *;
}
form div.caps_desc a {
text-decoration: none;
color: @activeColorDark;
}
form div.caps_desc a:hover {
color: @activeColor;
}
form div.caps_desc a:disabled {
color: @greyColorLightPressed;
}
span.blended {
color: #999;
}
.speedbutton {
border: 1dip solid transparent;
width: 22dip;
height: 22dip;
padding: 0;
margin: 0;
margin-left: 3dip;
vertical-align: middle;
text-align: center;
}
.speedbutton:disabled {
opacity: 0.5;
}
.speedbutton:hover {
border: 1dip solid #ABADB3;
background-color: #e1e1e1;
}
.speedbutton:active > * {
transform: translate(0, 1dip);
}
.speedbutton > div[pic] {
margin-left: *;
margin-right: *;
}
.status {
vertical-align: middle;
margin-left: 8dip;
}
.buttonPanel {
background-color: window;
flow: horizontal;
border-spacing: 10dip;
position: relative;
vertical-align: middle;
width: *;
padding: 5dip 10dip 10dip 10dip;
}
form checkbox[uwp] {
line-height: 18dip;
margin-left: 10dip !important;
}
form checkbox[name=m_smsable] {
margin-top: 6dip !important;
margin-bottom: 4dip !important;
}
form radio[uwp] span {
line-height: 19dip;
}
form #m_ageyears {
size: *;
margin: 0;
text-align: left;
}
form #m_usertype {
max-width: 100dip;
}
form checkbox[name=e_nodbdelete],
form checkbox[name=c_translit] {
margin-left: 0 !important;
}
form button.avload,
form button.avchange,
form button.avclear,
form button.thumbload,
form button.photoload,
form button.tpclear {
min-width: max-content;
width: 150dip !important;
}
button.nicklink {
padding: 0 0 0 7dip !important;
width: 22dip !important;
height: 27dip !important;
margin-left: 8dip !important;
}