CAICP/css/core.css
2018-11-22 21:02:44 +03:00

431 lines
11 KiB
CSS

/* Common classes block */
.wide {width: 100%;}
.hidden {
/* visibility: hidden; */
display: none;
}
.div_clear {
clear: both;
height: 1px;
margin: 5px 0;
}
.div_maximized {
width: calc(100% - 10px) !important;
height: calc(100% - 90px) !important;
}
.div_maximized_content {
max-height: calc(100% - 30px) !important;
}
.loading_div {
background: url(../gfx/ico_loading.gif) no-repeat center center;
}
.slightly_visible {
opacity: 0.25;
}
th,
.table_header {
font-weight: bold;
}
.top_right_hint {
text-align: right;
font-weight: normal;
font-style: italic
}
.distro_logo {
max-height: 140px;
max-width: 380px;
}
/* Elements block */
html, body {
margin: 0;
padding: 0;
min-width: 600px;
height: 100%;
width: 100%;
background: url(../gfx/bg.jpg) repeat fixed;
font-family: Arial, sans-serif;
}
header {
display: block;
position: fixed;
top: 0;
width: 100%;
color: #fff;
background-color: rgba(0, 0, 0, 0.85);
box-shadow: 0 0 10px rgba(0,0,0,0.5);
padding: 4px;
font-size: 14px;
font-weight: bold;
}
hr {
margin: 0;
padding: 0;
border: 0;
height: 1px;
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
background: linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
}
/* Page block */
#app_header {min-width: 600px;}
#s_header {
position: absolute;
margin: 14px auto 0 55px;
top: 0;
font-family: Courier;
font-size: 24px;
font-weight: bold;
font-style: italic;
}
#page_content {
margin: 70px 10px 0 10px;
height: inherit;
text-align: center;
}
/* Attention block */
#div_attention {
position: absolute;
right: 100px;
top: 4px;
}
#div_attention img {width: 30px;}
#div_attention_content {
right: 0;
width: 400px;
}
#ul_attention {
display: inline-block;
margin: 2px;
padding: 0;
border-color: #fff;
}
#ul_attention li{
margin: 1px;
float: left;
position: relative;
list-style: none;
}
#ul_attention a {
font-weight: bold;
color: #fff;
text-decoration: none;
display: block;
padding: 8px 8px 6px 8px;
border: solid 1px transparent;
border-radius: 25px;
transition: all 0.5s ease-out 0.1s;
}
#ul_attention a:hover {
box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
#ul_attention .current a,
#ul_attention li:hover a {
background-color: #fff;
border: solid 1px #000;
}
#ul_attention li:hover > #div_attention_content {
visibility: visible;
opacity: 0.95;
}
#ul_attention #div_attention_content {
visibility: hidden;
opacity: 0;
position: absolute;
width: 400px;
min-height: 40px;
max-height: calc(100vh - 80px);
max-width: calc(100vw - 80px);
overflow: auto;
padding: 5px;
border: 1px solid #000;
background: #fff;
color: #000;
z-index: 1000;
margin-top: -1px;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
transition: all 0.5s ease-out 0.1s;
}
/* Navigation block */
#ul_menu {
display: inline-block;
margin: 2px;
padding: 0;
border-color: #fff;
}
#ul_menu li {
margin: 1px;
float: left;
position: relative;
list-style: none;
}
#ul_menu a {
font-weight: bold;
color: #fff;
text-decoration: none;
display: block;
padding: 8px 8px 6px 8px;
border: solid 1px transparent;
transition: all 0.5s ease-out 0.1s;
}
#ul_menu a:hover {
box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
#ul_menu .current a,
#ul_menu li:hover > a {
background-color: #fff;
border: solid 1px #000;
}
#ul_menu li:hover > #div_menu {
visibility: visible;
opacity: 0.95;
}
#ul_menu li img {
width: 25px;
-webkit-filter: invert(1);
filter: invert(1);
}
#ul_menu li:hover > a img {
-webkit-filter: invert(0) !important;
filter: invert(0) !important;
}
#ul_menu #div_menu {
visibility: hidden;
opacity: 0;
position: absolute;
min-width: 700px;
min-height: 100px;
max-height: calc(100vh - 80px);
max-width: calc(100vw - 80px);
overflow: auto;
padding: 5px;
border: 1px solid #000;
background: #fff;
color: #000;
z-index: 1000;
margin-top: -1px;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
transition: all 0.5s ease-out 0.1s;
}
#ul_menu #div_menu a {
color: #000;
text-decoration: none;
padding: 0;
}
.div_menu_block {
padding: 0;
overflow: hidden;
position: relative;
}
.div_menu_block_caption {
margin: 5px;
}
/* Menu item */
.div_m_item {
float: left;
min-height: 120px;
width: 100px;
margin: 5px;
padding: 5px;
text-align: center;
cursor: pointer;
}
.div_m_item:hover {
background-color: rgba(0, 0, 0, 0.25);
transition: all 0.5s ease-out 0.1s;
}
.div_m_item_footer {
text-align: center;
vertical-align: bottom;
}
.menu_icon {
height: 64px !important;
width: 64px !important;
border-width: 0;
-webkit-filter: invert(0) !important;
filter: invert(0) !important;
}
/* Widget div block */
.div_widget {
border: solid #888 1px;
border-radius: 5px 5px 0 0;
display: inline-block;
padding: 0;
margin: 5px;
vertical-align: top;
/* float: left; */
/* min-width: 900px; */
min-height: 100px;
width: 600px;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
background: rgba(255, 255, 255, 0.85);
transition: all 0.5s linear;
}
.div_widget_type_a {
border: solid #888 1px;
border-radius: 5px 5px 0 0;
display: inline-block;
padding: 0;
margin: 5px;
vertical-align: top;
/* float: left; */
/* min-width: 900px; */
min-height: 328px;
width: 400px;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
background: rgba(255, 255, 255, 0.85);
transition: all 0.5s linear;
}
.div_widget_type_b {
border: solid #888 1px;
border-radius: 5px 5px 0 0;
display: inline-block;
padding: 0;
margin: 5px;
vertical-align: top;
/* float: left; */
/* min-width: 900px; */
min-height: 330px;
width: 600px;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
background: rgba(255, 255, 255, 0.85);
transition: all 0.5s linear;
}
.div_widget_full_width {
border: solid #888 1px;
border-radius: 5px 5px 0 0;
display: inline-block;
padding: 0;
margin: 5px;
vertical-align: top;
/* float: left; */
/* min-width: 900px; */
min-height: 330px;
width: calc(100% - 10px);
box-shadow: 0 0 10px rgba(0,0,0,0.5);
background: rgba(255, 255, 255, 0.85);
transition: all 0.5s linear;
}
.div_w_head {
margin: 0;
padding: 5px;
font-weight: bold;
border-radius: 4px 4px 0 0;
color: #fff;
/* background-color: rgba(10, 110, 180, 0.5); */
background-color: rgba(0, 0, 0, 0.85);
box-shadow: inset 0 0 4px rgba(0,0,0,0.5);
}
.div_w_content_container {
overflow: auto;
max-height: 300px; /* 500 */
}
/* Info table block */
/*.tbl_info {float: left !important;} */
.tbl_info table {
border-spacing: 1px;
width: 100%;
}
.tbl_info th {
color: #fff;
background-color: #555;
font-weight: bold;
padding: 5px;
}
.tbl_info td {padding: 2px 5px;}
.tbl_info .even_line {background-color: #ccc;}
/* Canvas block */
.canvas_info {
width: 400px;
min-height: 209px;
background-color: #000;
}
.canvas_legend {
float: left;
font-size: 12px;
margin: 0 5px 5px 5px;
}
.app_widget {
display: inherit !important;
/* float: inherit !important; */
height: calc(100% - 100px);
width: calc(100% - 10px) !important;
}
.app_widget .div_w_content,
.app_widget .div_w_content_container {
height: calc(100% - 18px);
overflow: hidden !important;
max-height: inherit !important;
}
.app_widget iframe {
width: 100%;
height: 100%;
border: 0;
}
/* Language selector */
input, select {border: solid 1px #999;}
.select_lang {
/* margin-left: 0 !important;
border: solid 1px #999;
float: right; */
position : absolute;
top : 22px;
right : 20px;
padding : 0 5px 0 20px;
border : 0;
color : #fff;
background-color : transparent;
-webkit-appearance : none;
-moz-appearance : none;
appearance : none;
}
.select_lang option {
color: #000;
background-color: rgba(255, 255, 255, 0.85);
}
/*
select#gender option[value="male"] { background-image:url(male.png); }
select#gender option[value="female"] { background-image:url(female.png); }
select#gender option[value="others"] { background-image:url(others.png); }
*/
.input_ru {
background-image: url('../gfx/flags/russian-16x16.png');
background-repeat: no-repeat;
background-attachment: scroll;
background-position: 2px center;
padding-left: 21px;
margin-left: 1px;
}
.input_en {
background-image: url('../gfx/flags/uk-16x16.png');
background-repeat: no-repeat;
background-attachment: scroll;
background-position: 2px center;
padding-left: 21px;
margin-left: 1px;
}