/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (C) 2018-2019 Simon Stürz * * * * This file is part of nymea. * * * * nymea is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation, version 2 of the License. * * * * nymea is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with nymea. If not, see . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ html, body { margin:0; padding:0; height:100%; } p { color: #676767; font-family: "Ubuntu", Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 100%; } h1, h2, h3, h4, h5, h6 { font-family: "Ubuntu", Helvetica, "Helvetica Neue", Arial, sans-serif; font-weight: normal; color: #676767; text-transform: none; text-align: center; } table { display: table; border-collapse: colapse; border-color: #efefef; min-height: 100px; width: 100%; } th, td { padding: 3px; padding-left: 10px; padding-right: 10px; color: #676767; font-family: "Ubuntu", Helvetica, "Helvetica Neue", Arial, sans-serif; text-align: left; } hr { color: #efefef; } button { width: 100%; } .tab { overflow: hidden; background-color: #efefef; } .tab button { background-color: inherit; float: left; width: 25%; border: none; outline: none; cursor: pointer; padding: 14px 16px; opacity: 0.8; transition: 0.5s; font-size: 18px; font-family: "Ubuntu", Helvetica, "Helvetica Neue", Arial; } .tab button:hover { background-color: #ddd; } .tab button.active { background-color: #57baae; } .tabcontent { display: none; animation: fadeEffect 0.8s; } @keyframes fadeEffect { from { opacity: 0; } to { opacity: 1; } } textarea { background-color: #3a4055; width: 100%; padding: 15px; min-height: 100px; text-align: left; border-radius: 10px; outline: none; } .console-textarea { color: white; margin-top: 20px; margin-bottom: 20px; padding: 15px; font-family: "Ubuntu Mono", "monospace"; font-size: 100%; } .nymea-main-logo { left: 0; height: 85px; min-height: 85px; max-height: 85px; vertical-align: middle; } .warning { background-color: #ed3146; margin-top: 20px; margin-bottom: 20px; border-radius: 10px; opacity: 0.8; width: 80%; margin-left: auto; margin-right: auto; } .warning-message { padding: 30px; margin-left: 60px; opacity: 1; color: white; background-color: transparent; font-family: "Ubuntu", Helvetica, "Helvetica Neue", Arial, sans-serif; text-align: center; float: none; } .warning-image { padding:12px; height: 60px; min-height: 60px; max-height: 60px; float: left; } .warning:after { content: ""; display: table; clear: both; } .download-row { width: 100%; height: 100px; left: 0; right: 0; } .download-name-column { float: left; width: 20%; padding: 10px; } .download-path-column { float: left; width: 30%; padding: 10px; } .download-button-column { float: left; width: 20%; padding: 10px; } .show-button-column { float: left; width: 10%; padding: 10px; } .download-row: after { content: ""; display: table; clear: both; } .button { background-color: #57baae; border: none; color: white; padding: 15px 30px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; border-radius: 10px; opacity: 0.8; transition: 0.3s; cursor: pointer; outline: none; } button::-moz-focus-inner { border: 0; } .button:hover { opacity: 1 } .button:disabled, .button[disabled]{ background-color: #cccccc; color: #676767; } .log-buttons { display: -webkit-flex; /* Safari */ display: flex; flex-flow: row nowrap; } .log-buttons button { display: -webkit-flex; /* Safari */ display: flex; justify-content: center; align-items: center; margin: 10px; width: auto; } .tool-image { width: 25px; height: 25px; } #toggleLogsButton { flex-grow: 1; } #copyLogsButton { width: 20px; } #clearLogsButton { width: 20px; } .categories-area { display: -webkit-flex; display: flex; flex-flow: row wrap; } .debug-category { display: -webkit-flex; display: flex; flex-flow: row nowrap; justify-content: center; align-items: center; margin-top: 10px; width: 33%; } .debug-category p { margin: 10px; text-align: right; flex-grow: 1; } .debug-select { box-sizing: border-box; margin: 0; border-radius: 4px; font: inherit; } .debug-select { max-width: 100%; width: 100%; border: 0 none; padding: 0 10px; background: #fff; color: #666; border: 1px solid #e5e5e5; transition: .2s ease-in-out; transition-property: color,background-color,border; } .debug-select:not([multiple]):not([size]) { -webkit-appearance: none; -moz-appearance: none; padding-right: 20px; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%201%209%206%2015%206%22%20%2F%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%2013%209%208%2015%208%22%20%2F%3E%0A%3C%2Fsvg%3E%0A"); background-repeat: no-repeat; background-position: 100% 50%; } .debug-select:not([multiple]):not([size]) { height: 40px; vertical-align: middle; display: inline-block; } .debug-select:not([multiple]):not([size]) option { color: #666; } .debug-select:focus { outline:0; background-color: #fff; color: #666; border-color: #57baae; } /* The switch - the box around the slider */ .switch { position: relative; display: inline-block; width: 60px; height: 34px; } /* Hide default HTML checkbox */ .switch input { opacity: 0; width: 0; height: 0; } .switch { position: relative; display: inline-block; width: 60px; height: 34px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: .4s; transition: .4s; } .slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; } input:checked + .slider { background-color: #57baae; } input:focus + .slider { box-shadow: 0 0 1px #57baae; } input:checked + .slider:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(26px); } .slider.round { border-radius: 34px; } .slider.round:before { border-radius: 50%; } .container { min-height: 100%; position:relative; } .header { padding:10px; background-color: #efefef; text-align: center; } .body { padding-left: 10%; padding-right: 10%; padding-bottom:120px; } .footer { position:absolute; bottom:0; left:0; right:0; width:100%; height:100px; background-color: #efefef; color: #676767; text-align: center; }