Files
slava.home/template/MedWait/css.php
2025-11-07 20:53:17 +02:00

383 lines
8.6 KiB
PHP

/*- основные стили и стили для плагинов */
body, html{
margin: 0px;
margin-bottom: 30px;
padding: 0px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
}
body, html, .textStyle, input, textarea, select, button {
font-size: 17px;
font-family: Arial, Tahoma, Verdana, sans-serif;
}
.titleBackground, .btitle, .mainBackground, .bfloat {
background-color: rgba(255, 255, 255, 0.5);
}
.borderStyle, #sslogan, #hmenu {
border: 1px solid #000000;
}
button {
background-color: #ffffff;
border: 1px solid rgb(0, 0, 0);
border-radius: 2px;
}
ul, ol {
margin-block-start: 0em;
margin-block-end: 0em;
}
/*- тело */
#bcbody {
background: #ffffff;
position: relative;
}
#bibody {
opacity: 0.3;
background-image: url("/img/hall.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
width: 100%;
height: 100%;
position: fixed;
top: 0;
bottom: 0;
left: 0;
}
#pbody {
width: 1800px;
max-width: -webkit-fill-available !important;
min-height: 100%;
margin-left: auto;
margin-right: auto;
padding-left: 16px;
padding-right: 16px;
top: 13px;
}
/*- верхняя часть */
#head {
height: 30px;
left: -1px;
top: -1px;
width: 100%;
position: relative;
}
#slogo {
left: 5px;
float: left;
position: relative;
width: 80px;
height: 99px;
background-repeat: no-repeat;
padding-right: 5px;
}
#sname {
width: 200px;
height: 37px;
overflow: hidden;
position: relative;
background-image: url(/img/rpi.svg);
background-repeat: no-repeat;
top: 40px;
}
#sslogan {
overflow: hidden;
text-align: left;
margin-top: 10px;
}
#hmemo {
position: relative;
width: 150px;
height: 99px;
float: right;
background-image: url(/img/rpi.gif);
background-repeat: no-repeat;
background-size: auto 100px;
padding-right: 5px;
}
#hmenu {
display: none;
position: relative;
width: 600px;
margin: 0 auto;
margin-bottom: 0px;
height: 30px;
}
#smap {
position: relative;
margin: 0 auto;
margin-top: 5px;
width: 99%;
height: 20px;
}
#smap a {
text-decoration: none;
}
/*- центральный блок */
#left-float,
#right-float,
.center-float {
padding: 5px;
}
#right-float,
#left-float {
z-index: 1;
position: relative;
}
#left-float {
float: left;
padding-right: 10px;
}
#right-float {
float: right;
}
#left-float:empty,
#right-float:empty {
width: 0px;
}
#left-float:not(:empty),
#right-float:not(:empty) {
width: 20%;
}
.center-float {
float: none;
width: auto;
display: inline-block;
width: calc(60% - 40px);
}
.center-float .bfloat {
overflow-x: visible;
}
.bfloat {
overflow-x: hidden;
left: -1px;
top: -1px;
position: relative;
border-radius: 0 0 10px 10px;
padding: 10px;
font-size: 1em;
}
.cfloat {
left: -1px;
top: -1px;
position: relative;
width: 100%;
height: auto;
}
.btitle {
padding: 10px;
left: -1px;
top: -1px;
position: relative;
line-height: 30px;
font-size: 2em;
font-weight: bold;
background-size: auto 30px;
border-radius: 10px 10px 0 0;
color: #000000;
overflow-wrap: break-word;
padding: 5px;
}
.ctitle {
left: 0px;
top: -1px;
position: relative;
width: 100%;
height: 20px;
text-align: center;
line-height: 20px;
font-weight: bold;
}
#content {
overflow-x: hidden;
overflow-y: hidden;
}
#content td {
height: 19px;
}
#editor a {
text-decoration: none;
color: inherit;
}
[contenteditable="true"]:focus {
outline: 1px solid #000;
outline-offset: 2px;
border-radius: 2px;
}
/*- показ сообщений */
.messageBlock {
width: 400px;
height: auto;
top: 10px;
z-index: 1003;
right: 0;
position: fixed;
display: inline-block;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
margin: 15px;
font-family: 'Roboto', sans-serif;
transition: opacity 0.15s ease-in-out;
background-color: rgba(255, 255, 255, 0.92);
max-width: -webkit-fill-available;
}
.messageBlock.show {
opacity: 1;
}
.messageBasicText {
padding: 10px 15px 10px 15px;
border: none;
border-bottom: inherit;
font-size: 1.5em;
}
.messageText {
font-size: 1.15em;
margin: 15px;
}
.messageInput {
font-size: 1.15em;
margin: 18px 18px 3px 18px;
padding: 2px;
width: -webkit-fill-available;
}
.messageButton {
background-color: rgba(255, 255, 255, 0.92);
padding: 8px;
border-radius: 15px;
float: left;
font-size: 1.15em;
width: 35px;
text-align: center;
cursor: pointer;
margin: 15px;
}
/*- размер окна */
@media (min-width: 1240px) {
#pbody { padding-left: 40px; padding-right: 40px; }
.center-float { width: calc(64% - 40px); }
#left-float:not(:empty), #right-float:not(:empty) { width: 18%; }
}
@media (min-width: 700px) and (max-width: 1239px) {
.center-float { width: calc(60% - 30px); }
#left-float:not(:empty), #right-float:not(:empty) { width: 20%; }
#left-float, #right-float, .center-float { padding: 5px !important; }
}
@media (min-width: 550px) and (max-width: 699px) {
.center-float { width: calc(56% - 30px); }
#left-float:not(:empty), #right-float:not(:empty) { width: 22%; }
#left-float, #right-float, .center-float { padding: 5px !important; }
}
@media (min-width: 550px) {
#editableArea { display: flex; }
.center-float { order: 2; flex: 1; }
#left-float { order: 1; }
#right-float { order: 3; }
#hbody { font-size: 1.3em; }
}
@media only screen and (pointer: coarse) {
#panel { border-radius: 0px !important; }
#managerDiv, #treeDiv {
position: fixed;
top: 72px !important;
left: 0 !important;
width: 100vw !important;
height: calc(100vh - 74px) !important;
overflow-x: hidden !important;
overflow-y: auto !important;
box-shadow: none !important;
border-radius: 0 !important;
transform: none !important;
}
#treeTableDiv {
margin: 0px 10px 0px 10px !important; overflow-y: hidden !important; height: auto !important;
}
#managerTableDiv {
margin: 0px 10px 0px 10px !important; overflow-y: overlay !important; height: -webkit-fill-available !important;
}
#treeTableDiv, #managerProperties { width: calc(100% - 20px) !important; }
}
@media (min-width: 0px) and (max-width: 549px) {
#hbody { font-size: 1.4em !important; }
#treeDiv { font-size: 1.05em !important; }
#authorizationButton {
background: url(../../img/pict/mc_iconslyb.svg) calc(var(--autButBackX) * 1.27px) calc(var(--autButBackY) * 1.27px) !important;
background-size: calc(1122px * 1.27) !important; width: 28px !important; height: 28px !important; margin-left: 9px;
}
#siteSettingsButton {
background: url(../../img/pict/mc_iconslyb.svg) calc(-1840px * 1.27) calc(1664px * 1.27 - 1px) !important;
background-size: calc(1122px * 1.27) !important; width: 28px !important; height: 28px !important; margin-left: 9px;
}
#left-float:not(:empty), #right-float:not(:empty) { width: calc(50% - 10px); }
.center-float { width: 100%; }
#left-float, #right-float { padding: 5px 0px !important; }
.center-float { padding: 5px 0px 15px 0px !important; }
.menu-btn { margin-left: 14px; }
#slng { margin-left: 3px; }
#authorizationDiv { width: 90% !important; }
#BackArrow {
background: url(../../img/pict/mc_iconslyb.svg) calc(-77px * 1.27) calc(-37px * 1.27) !important;
background-size: calc(1122px * 1.27) !important; width: 28px !important; height: 28px !important; top: 37px !important;
}
.authorizationDivCloseFun {
background: url(../../img/pict/mc_iconslyb.svg) calc(-159px * 1.27) calc(-120px * 1.27) !important;
background-size: calc(1122px * 1.27) !important; width: 28px !important; height: 28px !important;
}
.butinAuto, .butin, .sele { height: 25px !important; font-size: 1em !important; }
.cust2 { top: 247% !important; }
}