iobroker.shuttercontrol
Version:
Automatic control for shutters
510 lines (421 loc) • 10.4 kB
CSS
/* You can delete those if you want. I just found them very helpful */
* {
box-sizing: border-box
}
.m {
/* Don't cut off dropdowns!
overflow: initial;*/
overflow: hidden;
}
/* Add your styles here */
/* Header section*/
#header-area {
margin-top: 2px;
margin-bottom: 1px;
background-color: #174475;
}
#header-area #header-logo-title .logo {
float: left;
margin-right: 10px;
}
#header-area #header-logo-title p {
line-height: normal ;
margin: 0 ;
padding: 8px 0 0 8px;
}
#header-area #header-logo-title p>span.h-title {
font-size: 2em ;
color: white;
}
#header-area #header-logo-title p>span.h-sub-title {
font-size: 1.1em ;
color: white;
font-style: italic;
}
/* Tabs menu */
.m .tabs .tab a {
color: rgba(13, 134, 231, 0.7);
}
/* Color */
.m .tabs .tab a {
padding: 0 5px;
}
/* space of x px at beginning and end of text */
.m .tabs {
background-color: rgb(255, 255, 255) ;
scrollbar-width: none;
}
.m .tabs .active {
border-bottom: 2px solid #0d47a1;
font-weight: bold;
}
.m .tabs .tab a.active,
.m .tabs .tab a:hover {
color: #0d47a1;
}
.m .tabs .tab a:hover {
border-bottom: 2px solid #46a0e9 ;
}
.m .row .col.m1 {
width: 14%;
}
#tab-area {
padding-left: 0;
padding-right: 0;
margin-top: 0px;
margin-bottom: 1px;
background-color: #174475;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2)
}
/* Tabs menu react-dark */
.m.react-dark .tabs .tab a.active,
.m .tabs .tab a:hover {
color: #2196f3;
}
.m.react-dark .tabs {
background-color: #272727 ;
}
/* Tabs menu react-blue */
.m.react-blue .tabs .tab a.active,
.m .tabs .tab a:hover {
color: #2196f3;
}
.m.react-blue .tabs {
background-color: #272727 ;
}
.m .modalTab {
width: calc(100% - 1.6rem) ;
margin-left: 0.8rem ;
}
.m .col .select-wrapper+label {
top: -26px;
}
.m span {
font-size: 0.9em;
}
.m .tabs {
height: 48px;
}
.m .page {
height: calc(100% - 160px);
}
#dialog-command {
width: calc(100% - 100px);
}
#dialog-command .title {
background: #174475;
color: #FFF;
padding: 0.5rem;
}
#dialog-command .textarea {
margin-bottom: 0;
}
#dialog-command textarea {
background: #e9e9e9;
font-family: courier, monospace;
font-size: 11px;
resize: none;
width: 100%;
height: calc(100% - 125px);
margin-bottom: 0;
}
#dialog-command .progress-dont-close {
float: left;
padding-left: 1rem;
padding-top: 1rem;
}
#dialog-command .command {
font-style: italic;
}
#dialog-command .btn {
margin-right: 1.5rem;
}
.do-restore {
cursor: pointer;
}
.collapsible-body {
margin-left: 2rem ;
padding-top: 0 ;
}
#dialog-shutter-edit .title {
width: 100% ;
background: #174475;
color: #FFF;
padding: 0.3rem;
}
.modal .page {
width: calc(100% - 20px) ;
}
#dialog-shutter-edit .modal-content {
width: 100% ;
height: calc(100% - 10px) ;
}
#dialog-shutter-edit .tabs {
width: calc(100% - 0px) ;
margin-top: -25px;
height: auto ;
}
#dialog-shutter-edit .titlePopUp {
width: 100% ;
background: #174475;
color: #FFF;
padding: 0.2rem;
}
#dialog-shutter-edit .page {
width: calc(100% - 10px) ;
padding-left: 20;
height: calc(100% - 115px);
}
/*
#dialog-shutter-edit .btn {
margin-right: 1.5rem;
}
*/
/* hidden table column */
#events td:nth-of-type(n+7) {
visibility: hidden ;
display: none ;
}
/* hidden table column */
#events th:nth-of-type(n+7) {
visibility: hidden ;
display: none ;
}
#dialog-select-member {
z-index: 9999 ;
}
#dialog-shutter-edit {
z-index: 9900 ;
}
#dialog-shutter-edit {
max-height: 95% ;
max-width: 85% ;
width: 80% ;
height: 90% ;
overflow: visible ;
top: 10px ;
}
.m .collapsible-header {
padding: 0.5rem;
}
.trigger-add {
margin-top: 1.3rem;
margin-left: -0.5rem;
}
.m .modal .modal-footer {
padding-right: 2rem;
}
/* Navbar Bottom */
.m nav {
background-color: #3399cc;
min-height: 48px;
}
.m .btn.disabled,
.m .btn-small.disabled {
background-color: rgba(0, 0, 0, 0.12) ;
color: rgba(0, 0, 0, 0.26) ;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-weight: 500;
font-size: 0.875rem;
}
.m .btn-save,
.m .btn-save-close,
.m .btn-cancel {
background-color: #e0e0e0;
color: #000000;
font-family: Roboto, Helvetica, Arial, sans-serif;
font-weight: 500;
font-size: 0.875rem;
}
.m .btn-save:hover,
.m .btn-save-close:hover,
.m .btn-cancel:hover {
background-color: #e0e0e0 ;
filter: brightness(105%);
box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
/* Help Buttons */
.m .btn-floating i.material-icons,
.m.react-blue .btn-floating i.material-icons,
.m.react-dark .btn-floating i.material-icons {
color: rgba(0, 0, 0, 0.87) ;
background-color: rgb(224, 224, 224) ;
line-height: 36px;
}
.m.react-dark .modal .modal-close span,
.m.react-dark .modal .modal-close i {
color: #000 ;
}
.m .btn-floating i.material-icons:hover {
background-color: #e0e0e0 ;
filter: brightness(105%);
}
.m .btn-floating {
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px;
height: 36px ;
width: 36px ;
}
.m .btn-floating:hover {
box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
/* Table Button*/
.m .values-buttons.btn-floating.btn-small {
width: 32.4px ;
height: 32.4px ;
}
.m .values-buttons.btn-floating.btn-small i.material-icons,
.m.react-blue .values-buttons.btn-floating.btn-small i.material-icons,
.m.react-dark .values-buttons.btn-floating.btn-small i.material-icons {
line-height: 32.4px ;
}
.m.material-dialogs #dialog-select-member {
width: calc(100% - 0.3rem) ;
height: calc(100% - 0.3rem) ;
left: 0px;
box-sizing: border-box;
border: none;
border-radius: 4px;
overflow-x: hidden;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2)
}
.m.material-dialogs #dialog-select-member .modal-content .title {
background: rgb(51, 153, 204);
color: white;
letter-spacing: .5px;
padding: .3rem 10px;
left: 10px;
width: calc(100% - 20px);
}
.m.material-dialogs #dialog-select-member .modal-content .grid-main-wob-div {
height: calc(100% - 140px);
scrollbar-width: thin;
}
.dialog-select-object-ids .material .main-toolbar-table .panel-button {
margin-bottom: 5px;
background-color: rgb(51, 153, 204);
}
.dialog-select-object-ids .main-header-table th {
background: rgb(51, 153, 204);
}
.dialog-content {
margin-top: -5px;
}
div#dialog-select-member .main-toolbar-table {
margin-bottom: 5px ;
padding: 0 5px 0 5px;
}
.dialog-select-object-ids .objects-list-table {
background: #fff;
}
table.fancytree-ext-table.fancytree-treefocus tbody tr.fancytree-active {
background-color: rgb(51, 153, 204);
}
/* Only for Firefox */
@supports (-moz-appearance: none) {
.adapter-body {
overflow: hidden;
}
.m .page {
height: calc(100vh - 180px);
}
}
/* Styling for small Screen (Responsive) */
@media screen and (max-width: 768px) {
.m .page {
height: calc(100% - 120px);
}
#events,
#events thead,
#events tbody,
#events th,
#events td,
#events tr {
display: block;
width: 100%;
}
#events thead tr {
display: none;
}
.m #events tr {
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
padding: 10px;
background: #f9f9f9;
}
.m.react-dark #events tr,
.m.react-blue #events tr {
background: #272727 ;
}
#events td {
display: block;
text-align: left;
padding: 10px;
box-sizing: border-box;
position: relative;
}
#events td:before {
font-weight: bold;
display: block;
margin-bottom: 5px;
color: #333;
}
/* hidden table column */
#events td:nth-of-type(1) {
visibility: hidden ;
display: none ;
}
/* hidden table column */
#events th:nth-of-type(1) {
visibility: hidden ;
display: none ;
}
#events td:nth-of-type(2) {
margin-bottom: 2.0rem;
}
#events td:nth-of-type(3):before {
content: var(--my-name);
}
#events td:nth-of-type(4):before {
content: var(--my-id);
}
#events td:nth-of-type(5) {
margin-bottom: 10px;
border-bottom: 1px solid #ddd;
}
.adapter-body {
overflow: hidden;
}
.help-link {
display: none;
}
#dialog-shutter-edit {
max-height: 98% ;
max-width: 98% ;
width: 100% ;
height: 100% ;
overflow: visible ;
top: 7px ;
}
.m [type=checkbox]+span:not(.lever) {
height: auto;
}
.m .modal .modal-content {
padding: 5px;
}
}
@media screen and (max-width: 601px) {
.m .page {
height: calc(100% - 110px);
}
.m .dropdown-menu.show {
top: -10px ;
position: absolute;
margin-top: -3px;
}
.m .dropdown-toggle {
right: 10px;
}
}