Initial 2024-01-26
This commit is contained in:
333
static/default.css
Normal file
333
static/default.css
Normal file
@@ -0,0 +1,333 @@
|
||||
|
||||
body {
|
||||
color:#ccc;
|
||||
background-color:#222;
|
||||
font-size: 20px;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
@media (display-mode: fullscreen) {
|
||||
body {
|
||||
color:#ccc;
|
||||
background-color:#444;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
input[type="checkbox"]:checked,
|
||||
input[type="checkbox"]:not(:checked),
|
||||
input[type="radio"]:checked,
|
||||
input[type="radio"]:not(:checked)
|
||||
{
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
input[type="checkbox"]:checked + label,
|
||||
input[type="checkbox"]:not(:checked) + label,
|
||||
input[type="radio"]:checked + label,
|
||||
input[type="radio"]:not(:checked) + label {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding-left: 28px;
|
||||
line-height: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
input[type="checkbox"]:checked + label:before,
|
||||
input[type="checkbox"]:not(:checked) + label:before,
|
||||
input[type="radio"]:checked + label:before,
|
||||
input[type="radio"]:not(:checked) + label:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border: 1px solid green;
|
||||
background-color: #444;
|
||||
}
|
||||
input[type="checkbox"]:checked + label:before,
|
||||
input[type="checkbox"]:not(:checked) + label:before {
|
||||
border-radius: 4px;
|
||||
}
|
||||
input[type="radio"]:checked + label:before,
|
||||
input[type="radio"]:not(:checked) + label:before {
|
||||
border-radius: 100%;
|
||||
}
|
||||
input[type="checkbox"]:checked + label:after,
|
||||
input[type="checkbox"]:not(:checked) + label:after,
|
||||
input[type="radio"]:checked + label:after,
|
||||
input[type="radio"]:not(:checked) + label:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
-webkit-transition: all 0.2s ease;
|
||||
-moz-transition: all 0.2s ease;
|
||||
-o-transition: all 0.2s ease;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
input[type="checkbox"]:checked + label:after,
|
||||
input[type="checkbox"]:not(:checked) + label:after {
|
||||
left: 3px;
|
||||
top: 4px;
|
||||
width: 10px;
|
||||
height: 5px;
|
||||
border-radius: 1px;
|
||||
border-left: 4px solid #ccc;
|
||||
border-bottom: 4px solid #ccc;
|
||||
-webkit-transform: rotate(-45deg);
|
||||
-moz-transform: rotate(-45deg);
|
||||
-o-transform: rotate(-45deg);
|
||||
-ms-transform: rotate(-45deg);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
input[type="radio"]:checked + label:after,
|
||||
input[type="radio"]:not(:checked) + label:after {
|
||||
left: 5px;
|
||||
top: 5px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 100%;
|
||||
background-color: #e145a3;
|
||||
}
|
||||
input[type="checkbox"]:not(:checked) + label:after,
|
||||
input[type="radio"]:not(:checked) + label:after {
|
||||
opacity: 0;
|
||||
}
|
||||
input[type="checkbox"]:checked + label:after,
|
||||
input[type="radio"]:checked + label:after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
table {
|
||||
width:100%;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
table tr.odd:nth-child(2n) {
|
||||
background: #2f2f2f;
|
||||
}
|
||||
|
||||
table tr.odd:hover {
|
||||
background: #282828;
|
||||
}
|
||||
|
||||
table tr td {
|
||||
padding:4px;
|
||||
}
|
||||
|
||||
a { color: #37a4a4; text-decoration:none; }
|
||||
a:visited { color: #37a4a4; text-decoration:none; }
|
||||
|
||||
input[type=text] {
|
||||
background: #333;
|
||||
color:#eee;
|
||||
}
|
||||
|
||||
input[type=button] {
|
||||
padding:4px 14px 4px 14px;
|
||||
border:1px solid grey;
|
||||
border-radius:4px;
|
||||
background: #333;
|
||||
color:#eee;
|
||||
}
|
||||
|
||||
.headWord {
|
||||
display:inline-block;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.lftButn {
|
||||
padding:4px 14px 4px 14px;
|
||||
border:1px solid grey;
|
||||
border-radius:4px;
|
||||
background: #333;
|
||||
color:#eee;
|
||||
display:block;
|
||||
width:100%;
|
||||
margin:4px;
|
||||
}
|
||||
|
||||
/*********/
|
||||
|
||||
#page {
|
||||
z-index:20;
|
||||
position:fixed;
|
||||
top:32px;
|
||||
left:2px;
|
||||
right:2px;
|
||||
bottom:0;
|
||||
border:1px solid #000;
|
||||
border-radius:4px;
|
||||
background:#222;
|
||||
padding:6px;
|
||||
}
|
||||
|
||||
#pageBody {
|
||||
border:0px solid red;
|
||||
overflow:auto;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
#topRight {
|
||||
z-index:10;
|
||||
position:fixed;
|
||||
background:#000;
|
||||
top:-4px;
|
||||
left:76%;
|
||||
right:80px;
|
||||
bottom:0px;
|
||||
overflow:auto;
|
||||
border:1px solid #000;
|
||||
border-radius:4px;
|
||||
padding:8px;
|
||||
opacity:0.8;
|
||||
}
|
||||
|
||||
#topRight:hover {
|
||||
z-index:50;
|
||||
border:1px solid green;
|
||||
}
|
||||
|
||||
#topCent {
|
||||
z-index:10;
|
||||
position:fixed;
|
||||
background:#222;
|
||||
top:0;
|
||||
left:20%;
|
||||
right:20%;
|
||||
border:1px solid #222;
|
||||
padding:8px;
|
||||
}
|
||||
|
||||
#topCent:hover {
|
||||
z-index:50;
|
||||
}
|
||||
|
||||
#topLeft {
|
||||
z-index:10;
|
||||
position:fixed;
|
||||
background:#000;
|
||||
top:-6px;
|
||||
left:-2px;
|
||||
right:80%;
|
||||
border:1px solid #444;
|
||||
padding:8px;
|
||||
}
|
||||
|
||||
#topLeft:hover {
|
||||
z-index:50;
|
||||
border:1px solid green;
|
||||
}
|
||||
|
||||
/*******/
|
||||
|
||||
#diag {
|
||||
z-index:50;
|
||||
position:fixed;
|
||||
border:1px solid red;
|
||||
border-radius:8px;
|
||||
background-color:#222;
|
||||
top:20px;
|
||||
left:20px;
|
||||
min-width:640px;
|
||||
min-height:480px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
/*******/
|
||||
|
||||
#cmpKernelVanilaNodeRoot {
|
||||
border:1px solid grey;
|
||||
position:absolute;
|
||||
top:16px;
|
||||
right:4px;
|
||||
width:300px;
|
||||
height:90px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#cmpKernelVanilaTitle {
|
||||
padding-left:32px;
|
||||
background-image: url(/go-prefix/static/img/tux-favicon.png);
|
||||
background-repeat:no-repeat;
|
||||
background-size:16px;
|
||||
background-position: 8px 2px;
|
||||
}
|
||||
|
||||
#cmpKernelVanilaHead {
|
||||
font-size:16px;
|
||||
border-bottom:1px solid grey;
|
||||
}
|
||||
|
||||
#cmpKernelVanilaHeadButton {
|
||||
border:0px solid grey;
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:-24px;
|
||||
|
||||
padding:0px;
|
||||
padding-right:0px;
|
||||
margin:0;
|
||||
background-color:transparent;
|
||||
color:white;
|
||||
font-size:16px;
|
||||
}
|
||||
#cmpKernelVanilaNodeRoot:hover #cmpKernelVanilaHeadButton {
|
||||
right:8px;
|
||||
transform: rotate(-180deg);
|
||||
transition: right 1s, transform 1s;
|
||||
}
|
||||
|
||||
#cmpTinkoffCurrencyNodeRoot {
|
||||
border:1px solid grey;
|
||||
position:absolute;
|
||||
top:110px;
|
||||
right:4px;
|
||||
width:300px;
|
||||
height:90px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#cmpTinkoffCurrencyTitle {
|
||||
padding-left:32px;
|
||||
background-image: url(/go-prefix/static/img/tkf-favicon-32x32.png);
|
||||
background-repeat:no-repeat;
|
||||
background-size:16px;
|
||||
background-position: 8px 2px;
|
||||
}
|
||||
|
||||
#cmpTinkoffCurrencyHead {
|
||||
font-size:16px;
|
||||
border-bottom:1px solid grey;
|
||||
}
|
||||
|
||||
#cmpTinkoffCurrencyHeadButton {
|
||||
border:0px solid grey;
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:-24px;
|
||||
|
||||
padding:0px;
|
||||
padding-right:0px;
|
||||
margin:0;
|
||||
background-color:transparent;
|
||||
color:white;
|
||||
font-size:16px;
|
||||
}
|
||||
#cmpTinkoffCurrencyNodeRoot:hover #cmpTinkoffCurrencyHeadButton {
|
||||
right:8px;
|
||||
transform: rotate(-270deg);
|
||||
transition: right 1s, transform 1s;
|
||||
}
|
||||
|
||||
#cmpTinkoffCurrencyButton {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url(/go-prefix/static/img/tkf-logo-tinkoff.ru.png);
|
||||
background-repeat:no-repeat;
|
||||
background-size:32px;
|
||||
background-position: 8px 2px;
|
||||
}
|
Reference in New Issue
Block a user