iobroker.smartcontrol
Version:
Control devices smarter: by grouping, including triggers like motion, opening window, etc. and set target devices accordingly
188 lines (153 loc) • 10.7 kB
CSS
/* ------------------- CSS style provided by ioBroker Adapter Creator ------------------- */
* { box-sizing: border-box; }
.m { overflow: initial; /* Don't cut off dropdowns! */ }
/* -------------------------------------------------------------------------------------- */
/* Required to avoid y-scrollbar. */
.modal { max-height:85% ; }
.m .page {height: auto ; min-height:75% ; }
/* span */
.m span { font-size: 1.0em } /* span is set to 0.9em for some unknown reason, we set back to 1.0em */
.m .dialog-config-buttons span { font-size: 0.9em } /* leave span at 0.9em for the save/cancel etc. buttons */
/* Header section "Smart Control -- Controlling ioBroker smarter..." */
#header-area {margin-top: 5px; 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 .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 ;}
.m.react-dark .md-import { background-color: #E0EBF3; color:yellow ;}
/* 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.react-blue .md-import { background-color: #E0EBF3; color:yellow ;}
/* Table header */
table.table-values th.header { background-color:#64BfF6; font-size:90%; text-align:center; line-height: 1em; padding:6px 2px;}
/* Table header -- Optional column */
table.table-values th.mOptional { color:#c9e7fa }
/* format second column of option tables */
table.table-values tr td:nth-child(2) input { font-weight:bold; }
/* but not tableZoneExecution */
#tableZoneExecution table.table-values tr td:nth-child(2) input { font-weight:normal; }
/* specific format of second column of tableCombinedDevices */
#tableCombinedDevices table.table-values tr td:nth-child(2) input { width: 40% ; font-family: monospace; }
#tableCombinedDevices table.table-values tr td:nth-child(2)::before { content: "smartcontrol.x.combinedDevices."; font-size:1.1em; font-family: monospace; color:#585858; }
/* to be able to adjust column width accordingly */
table.table-values { table-layout:fixed; }
/* Table Zones: Hide execution option rows */
#tableZones th:nth-of-type(14) { visibility: hidden; display: none; }
#tableZones td:nth-of-type(14) { visibility: hidden; display: none; }
#tableZones th:nth-of-type(15) { visibility: hidden; display: none; }
#tableZones td:nth-of-type(15) { visibility: hidden; display: none; }
/* add space at top/bottom */
.spaceTop3em {margin-top: 3em; }
.spaceBottom3em {margin-top: 3em; }
/* Introduction section */
.intro {font-size: 18px;}
.intro h5 {font-size: 1.5em;}
ol.instr li {font-size: .9em;}
ol.instr li:not(:last-child) { margin-bottom: .6em; }
/* Different format for h6 */
h6.hBlock { background-color: #184473 ; padding:7px 0 7px 7px ; border-radius: 3px; color:white; font-size:1.2em; }
/* Code */
code { padding: 2px 4px; font-size: 1.05em ; color: #2696ef; background-color: rgba(101, 190, 246, 0.05); border-radius: 0; }
/* Links */
.page a:link, .page a:visited { color: #0d47a1;} /* unvisited link */
.page a:visited { color:#616e83; } /* visited link */
.page a:visited { color:#2696ef; } /* visited link */
.page a:hover { text-decoration: underline; } /* mouse over link */
.page a:active { color: #0d47a1; } /* selected link */
/* ****** collapsible sections ****** */
/* collapsible: general ****** */
.collapsible-header { background-color: #c8e4fa69 ;}
.collapsible-header { padding-top:3px ; padding-bottom:5px ;}
.collapsible-header i { padding-top:3px; }
.collapsible-header h5 { font-weight: bold; font-size:1.3em; margin-top:0.7em; }
.collapsible-body ol li {font-size: 1.1em;}
.collapsible-body ol li:not(:last-child) { margin-bottom: .6em; }
.collapsible-body p { font-size: 1.1em; }
.collapsible-body code { font-size: 1.1em }
.collapsible-body td:nth-child(1) { font-weight:normal; color: #0d47a1; width: 200px; } /* Format first column */
.collapsible-body table {font-size: 1.0em;}
.collapsible-body th {background-color: #c8e4fa69;}
/* collapsible: Config Table Header/Documentation ****** */
.collapsible-header.config-section { background-color: #174475 ; }
.collapsible-header.config-section i.material-icons { color:#fff; } /* icon color */
.collapsible-header.config-section h5 { color:#fff; }
.collapsible-header.config-section { display: flex; justify-content: space-between; } /* for right alignment of question mark icon */
.collapsible-header.config-section i.material-icons { padding-right: 0; margin-right: 0;}
/* collapsible: Documentation ****** */
.collapsible-body.instructions td { line-height: 1.7em; }
/* For selectID.js (node_modules/iobroker.admin/www/lib/js/) */
#dialog-select-member { z-index: 9999 ; width:calc(100% - 150px) ; max-height: 75% ; }
#dialog-select-member .modal-footer { width:calc(100% - 20px) ; }
#dialog-select-member .modal-content span {font-size:1.0em ;}
#dialog-select-member .main-toolbar-table {height: 28px ;}
#dialog-select-member .panel-button {height:28px ; width:28px ;}
/* Line hight for p */
.collapsible-body p {line-height: 1.6em ;}
/* Filter for tables */
.table-filter input { color:#2696ef ; padding-left: 5px ; font-weight:bold; width: 200px ; margin:0 0 0 20px ; height: 2.5rem ;}
.table-filter button { left: -27px; width: 1.6em ; height: 1.6em ;}
.table-filter button i {font-size: .9rem ; line-height: 1rem ; }
/* FancyTree for Selecting Target Devices */
#dialog-select-settings { overflow-y: hidden ;}
#dialog-select-settings ul.fancytree-container { overflow-y: scroll; height: calc(100% - 250px); } /* prevent vertical scroll */
#dialog-select-settings input.fancy-filter { color:#2696ef ; padding-left: 5px ; width: 200px ; margin:0 0 0 25px ; height: 2.5rem ;}
#dialog-select-settings div#matches { margin-left: -20px ; display:inline-block ; }
#dialog-select-settings button#btnResetSearch { left: 230px; width: 1.6em ; height: 1.6em ;}
#dialog-select-settings button#btnResetSearch i {font-size: .9rem ; line-height: 1rem ; }
#dialog-select-settings a#fancy-collapse-all, #dialog-select-settings a#fancy-expand-all {width: 2em ; height: 2em ;}
#dialog-select-settings a#fancy-collapse-all>i, #dialog-select-settings a#fancy-expand-all>i {font-size: .9rem ; line-height: 1.8em ; }
#dialog-select-settings .modal-content div.row>p {margin:0 ;}
#dialog-select-settings ul.fancytree-container li { padding-left: 1.3em ; }
#dialog-select-settings ul.fancytree-container>li { padding-left:0px ; }
#dialog-select-settings ul.fancytree-container {padding: 10px 3px 10px 3px ;}
#dialog-select-settings span.fancytree-node {margin-top: 5px; margin-bottom:5px;}
#dialog-select-settings span.fancytree-selected span.fancytree-title { background-color: #2696ef ; color:white; font-style: normal ; }
#dialog-select-settings .fancytree-plain.fancytree-container.fancytree-treefocus span.fancytree-active span.fancytree-title {background-color: #cbe8f6; color:black; font-style: normal;}
#dialog-select-settings .fancytree-plain.fancytree-container.fancytree-treefocus span.fancytree-selected span.fancytree-title {background-color: #2696ef; color:white; font-style: normal;}
#dialog-select-settings span.fancytree-title {font-size:16px ;}
/* #dialog-select-settings #fancy-explanation {font-size:.9em; font-style: italic; color:#21448f} */
#dialog-select-settings #fancytree-select-settings {display:inline }
#dialog-select-settings .modal-content {padding-bottom: 0 ; padding-right: 0 ; height: calc(100% - 50px) }
.m.react-dark #dialog-select-settings ul.fancytree-container {
background-color: #272727;
}
.m.react-blue #dialog-select-settings ul.fancytree-container {
background-color: #272727;
}
.m.react-dark #dialog-select-settings span.fancytree-title:hover {
background-color: rgb(59, 59, 59);
}
.m.react-blue #dialog-select-settings span.fancytree-title:hover {
background-color: rgb(59, 59, 59);
}
/* Dialog called once SAVE button clicked and verification failed */
#dialog-save-verification div.error-section { font-size: 1.3em; }
#dialog-save-verification div.error-section ol>li { color:#d92626; padding-bottom:0.5em ; }
#dialog-save-verification { width: 50% ; height: 50% ;}
#dialog-save-verification .further-info {font-size:.75em;}
#dialog-save-verification h6.title { background-color: #d92626 ; }
#dialog-save-verification .modal-footer .btn { background-color: #d92626 ;; }
/* Dialog for Zone Execution Config */
#dialog-configure-zone-execution { width: 90% ; height: 80% }
#tableTriggerDevices td div.userstates {
color:#21448f;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
font-style:italic;
font-weight:bold;
font-size:.8em ;
width:100% ;
}
/* Translation required */
p.translation-required { font-style:italic; color:#21448f; font-size:14px ; line-height: 14px ;}