zoneminder/web/skins/classic/css/base/skin.css

752 lines
12 KiB
CSS
Raw Normal View History

2014-01-22 22:24:06 +08:00
/*
* ZoneMinder Base Stylesheet, $Date$, $Revision$
2014-01-22 22:24:06 +08:00
* Copyright (C) 2001-2008 Philip Coombes
*
* This program 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; either version 2
2015-09-19 15:30:07 +08:00
* of the License, or (at your option) any later version.
2014-01-22 22:24:06 +08:00
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2014-01-22 22:24:06 +08:00
*/
/*
* Primary look and feel styles
*/
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
url(../fonts/MaterialIcons-Regular.woff) format('woff'),
url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
vertical-align:middle;
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
.material-icons.md-18 { font-size: 18px; }
2018-03-26 04:18:50 +08:00
.material-icons.md-36 { font-size: 36px; }
2014-01-22 22:24:06 +08:00
body {
font-family: "Open Sans", Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
2014-01-22 22:24:06 +08:00
font-weight: 300;
text-align: center;
}
h1 {
font-family: inherit;
font-size: 120%;
font-weight: bold;
text-align: center;
}
h2 {
font-family: inherit;
font-size: 110%;
font-weight: bold;
}
h3 {
font-family: inherit;
font-size: 100%;
font-weight: bold;
}
h4 {
font-family: inherit;
font-size: 100%;
}
p {
font-family: inherit;
font-size: 100%;
font-weight: normal;
}
th {
2017-06-06 00:49:39 +08:00
/*
2014-01-22 22:24:06 +08:00
padding: 3px;
text-transform: uppercase;
font-size: 0.8em;
font-weight: 600;
2017-06-06 00:49:39 +08:00
*/
2014-01-22 22:24:06 +08:00
}
2018-03-25 23:43:34 +08:00
.thead-highlight {
background-color:#dfe4ea;
}
/* rounded table head top corners */
table th:first-child{
border-radius:5px 0 0 0 ;
}
table th:last-child{
border-radius:0 5px 0 0 ;
}
2014-01-22 22:24:06 +08:00
a:link {
color: #0fbcf9;
2014-01-22 22:24:06 +08:00
text-decoration: none;
}
a:visited {
color: #44b8eb;
text-decoration: none;
}
a:hover {
2018-03-24 21:59:39 +08:00
text-decoration: none;
background-color:rgba(72, 84, 96,0.2);
border-radius:4px;
2014-01-22 22:24:06 +08:00
}
label {
2018-02-09 23:19:38 +08:00
margin: 0 4px;
2014-01-22 22:24:06 +08:00
}
input,textarea,select,button,.btn-primary {
2014-01-22 22:24:06 +08:00
border: 1px #ccc solid;
padding: 5px;
2018-03-24 21:59:39 +08:00
border-radius: 1px;
2014-01-22 22:24:06 +08:00
font-family: inherit;
font-weight: 400;
font-size: 100%;
color: #333333;
background-color: #f8f8f8;
2018-03-24 21:59:39 +08:00
text-align: left;
border-radius:4px;
2014-01-22 22:24:06 +08:00
}
/*
2017-01-31 10:45:48 +08:00
input[type=text], input[type=password], input[type="url"], textarea, select {
2014-01-22 22:24:06 +08:00
padding: 1px;
}
*/
2014-01-22 22:24:06 +08:00
input.noborder {
border: 0;
}
input[disabled] {
color: #888888;
}
img {
display: inline-block;
}
2014-01-22 22:24:06 +08:00
img.normal {
border: white solid 1px;
}
img.alarm {
border: red solid 1px;
}
hr {
height: 1px;
width: 100%;
border: 0;
color: #7f7fb2;
background-color: #7f7fb2;
}
/*
* Tabbed headings
*/
ul.tabList {
float: left;
list-style: none;
padding: 0;
margin: 0 0 -4px 0;
white-space: nowrap;
text-align: left;
}
ul.tabList li {
float: left;
border: 1px solid;
color: #333333;
border: #ccc solid 1px;
border-bottom-width: 0;
margin: 0 2px 0 0;
background: #eee;
text-align: center;
padding: 5px 10px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
ul.tabList li a {
text-decoration: none;
}
ul.tabList li:hover {
background-color: #eeeeee;
}
ul.tabList li.active {
background-color: #ffffff;
border-bottom: #7f7fb2 dotted 1px;
}
ul.tabList li.active a {
font-weight: bold;
}
/*
* Major league table for multiple inputs or presentation
*/
#content table.major {
margin: 4px auto;
width: 100%;
border-collapse: collapse;
}
#content table.major tr.highlight {
background-color: #eeeeee;
}
#content table.major thead tr th {
padding-top: 6px;
padding-bottom: 6px;
vertical-align: middle;
}
#content table.major tfoot td {
padding-top: 6px;
padding-bottom: 6px;
vertical-align: middle;
}
#content table.major th, #content table.major td {
border-bottom: 2px solid #f2f2f2;
padding: 5px 10px;
text-align: left;
}
#content table.major th {
vertical-align: bottom;
}
#content table.major td {
vertical-align: middle;
}
#content table.major th[scope=row] {
padding: 4px 3px 3px;
vertical-align: top;
}
#content table.major .colMark, #content table.major .colSelect {
text-align: center;
}
/*
* Lesser table for very simple forms
*/
#content table.minor {
width: 280px;
2014-01-22 22:24:06 +08:00
margin: 0 auto;
}
#content table.minor td {
padding: 4px;
}
#content table.minor .colLeft {
width: 50%;
text-align: right;
}
#content table.minor .colRight {
width: 50%;
text-align: left;
}
#content table.minor input[type=submit]
{
margin-top: 8px;
padding: 0 2px;
font-size: 120%;
}
#content table > tbody > tr:hover
{
background-color: #EEE;
}
2014-01-22 22:24:06 +08:00
.overlay {
font-size: 11px;
}
.overlay fieldset {
background-color: #f8f8f8;
}
.validation-advice {
padding: 4px;
color: #dc143c;
}
/*
* Behavior classes
*/
.ok, .infoText {
2018-03-24 21:59:39 +08:00
color: #0fb9b1;
2014-01-22 22:24:06 +08:00
}
.alert, .warnText, .warning, .disabledText {
color: #ffa801;
}
2019-05-17 21:32:23 +08:00
.alarm, .errorText, .error {
color: #ff3f34;
}
2014-01-22 22:24:06 +08:00
2019-05-17 21:32:23 +08:00
.timedErrorBox {
color:white;
background:#e74c3c;
border-radius:5px;
padding:5px;
-moz-animation: inAndOut 5s ease-in forwards;
-webkit-animation: inAndOut 5s ease-in forwards;
animation: inAndOut 5s ease-in forwards;
}
/*
the timed classed auto disappear after 5s
*/
.timedWarningBox {
color:white;
background:#e67e22;
border-radius:5px;
padding:5px;
-moz-animation: inAndOut 5s ease-in forwards;
-webkit-animation: inAndOut 5s ease-in forwards;
animation: inAndOut 5s ease-in forwards;
}
.timedSuccessBox {
color:white;
background:#27ae60;
border-radius:5px;
padding:5px;
-moz-animation: inAndOut 5s ease-in forwards;
-webkit-animation: inAndOut 5s ease-in forwards;
animation: inAndOut 5s ease-in forwards;
}
@keyframes inAndOut {
0% {opacity:0;}
10% {opacity:1;}
90% {opacity:1;}
100% {opacity:0;}
}
2014-01-22 22:24:06 +08:00
.fakelink {
color: #7f7fb2;
cursor: pointer;
}
.fakelink:hover {
color: #336699;
text-decoration: none;
}
/*
* Generic useful classes, especially with mootools
*/
.hidden {
display: none;
}
.invisible {
visibility: hidden;
}
.nowrap {
white-space: nowrap;
}
div.clear {
clear: both;
}
/*
.table-th-sort {
font-style:italic;
}
td.table-td-sort {
font-style:italic;
}
*/
th.table-th-sort {
margin-right: 12px;
}
th.table-th-sort span.table-th-sort-span {
float: right;
width: 12px;
height: 12px;
background: url("../skins/classic/graphics/arrow-s-u.png") no-repeat 0 0;
2014-01-22 22:24:06 +08:00
}
th.table-th-sort-rev span.table-th-sort-span {
float: right;
width: 12px;
height: 12px;
background: url("../skins/classic/graphics/arrow-s-d.png") no-repeat 0 0;
2014-01-22 22:24:06 +08:00
}
.table-tr-odd {
background-color: #f8f8f8;
}
/*
* Primary layout styles
*/
#page {
width: 100%;
}
#header {
2017-02-03 00:31:16 +08:00
width: 100%;
2014-01-22 22:24:06 +08:00
text-align: left;
2018-03-25 05:34:46 +08:00
background-color: #34495e;
2017-11-21 23:11:39 +08:00
padding: 5px 20px;
2017-12-01 05:46:51 +08:00
margin: 0 auto 4px auto;
2018-03-25 05:34:46 +08:00
color: white;
2014-01-22 22:24:06 +08:00
font-weight: 300;
}
#header:after {
content: ".";
display: block;
height: 0;
font-size: 0;
clear: both;
visibility: hidden;
}
2014-01-22 22:24:06 +08:00
#header h2 {
left: 0;
font-weight: 300;
}
#header h2.floating {
float: left;
font-weight: 300;
}
#header h3 {
font-weight: 300;
font-size:0.8em;
}
#headerControl {
text-align: center;
margin: 0 auto;
}
#headerButtons {
float: right;
}
#headerButtons a {
margin-left: 8px;
}
#headerButtons input {
margin-left: 4px;
}
#content {
width: 100%;
2017-11-21 23:11:39 +08:00
margin: 0 auto 8px auto;
2014-01-22 22:24:06 +08:00
line-height: 130%;
text-align: center;
clear: both;
2014-01-22 22:24:06 +08:00
}
#content p {
margin-top: 4px;
}
#content p.textblock {
text-align: justify;
padding: 4px;
}
#content p.textblock br {
margin-bottom: 8px;
}
/*
#contentDiv {
margin: 0 auto 8px;
line-height: 140%;
text-align: center;
}
*/
#content > input[type=submit], #content > input[type=button], #content > button, #content > .btn-primary {
2014-01-22 22:24:06 +08:00
margin-top: 8px;
}
#content table input[type=submit], #content table input[type=button], #content table button, #content table .btn-primary {
margin-top: 1px;
2014-01-22 22:24:06 +08:00
}
#contentButtons {
margin-top: 8px;
float: right;
}
#contentButtons input {
margin-left: 8px;
margin-bottom: 4px;
}
#footer {
width: 96%;
margin: 8px auto;
}
2017-11-24 22:36:45 +08:00
button,
2014-01-22 22:24:06 +08:00
input[type=button],
input[type=submit],
.btn-primary,
.btn-primary:link {
2014-01-22 22:24:06 +08:00
background-color: #3498db;
color: #fff;
border-color: #3498db;
text-transform: uppercase;
font-weight: 200;
padding: 5px 10px;
cursor: pointer;
text-decoration: none;
display: inline-block;
2018-02-12 03:18:26 +08:00
text-align: center;
2014-01-22 22:24:06 +08:00
}
.btn-normal,
.btn-normal:link {
color: #fff;
background-color: #3498db;
border: 1px solid #3498db;
}
2017-11-24 22:36:45 +08:00
button:hover,
2014-01-22 22:24:06 +08:00
input[type=button]:hover,
input[type=submit]:hover,
.btn-primary:hover {
2014-01-22 22:24:06 +08:00
background-color: #34a2ee;
}
2015-08-26 00:29:40 +08:00
/* PP - make it easy to identify disabled buttons */
2017-11-24 22:36:45 +08:00
button:disabled,
2015-08-26 00:29:40 +08:00
input[type=button]:disabled,
input[type=submit]:disabled,
2019-05-25 02:51:39 +08:00
a.disabled,
.btn-primary:disabled {
2015-08-26 00:29:40 +08:00
background-color: #aaaaaa;
border-color: #bbbbbb;
}
2017-06-06 00:49:39 +08:00
#options {
font-size:90%;
2014-01-22 22:24:06 +08:00
}
2017-06-06 00:49:39 +08:00
#options .help-block {
margin-top: 0;
2014-01-22 22:24:06 +08:00
}
2017-06-06 00:49:39 +08:00
#options .form-group {
margin-bottom: 20px;
border-bottom: 1px solid #e7e7e7;
2014-01-22 22:24:06 +08:00
}
.navbar{
margin-bottom: 0 !important;
border-radius: 0;
2018-03-24 21:59:39 +08:00
background-color:#485460 !important;
color: #0fbcf9 !important;
2018-03-25 05:34:46 +08:00
border:none;
}
.navbar-brand {
2018-03-24 21:59:39 +08:00
font-weight: normal;
font-size: 20px;
}
2018-03-24 21:59:39 +08:00
.navbar-brand a {
color:#ffa801;
}
.navbar-btn {
background-color:#95afc0;
color:white;
padding:4px;
2018-03-25 06:36:10 +08:00
margin-right:8px;
2018-03-24 21:59:39 +08:00
border:none;
}
2017-02-03 00:31:16 +08:00
2018-03-26 04:18:50 +08:00
2017-02-03 00:31:16 +08:00
.container-fluid {
position: relative;
padding-bottom: 10px;
2017-02-03 00:31:16 +08:00
}
.sidebar {
2017-02-03 00:31:16 +08:00
position: absolute;
top: 0;
left: 0;
z-index: 1000;
display: block;
2017-02-03 00:31:16 +08:00
padding: 0;
overflow-x: hidden;
overflow-y: auto;
background-color: #f5f5f5;
border-right: 1px solid #eeeeee;
}
.sidebar ul {
2017-02-03 00:31:16 +08:00
margin-right: 0;
margin-bottom: 20px;
2017-02-03 00:31:16 +08:00
margin-left: 0;
}
2017-06-06 00:49:39 +08:00
.nav-pills > li > a {
border-radius: 0;
}
2020-07-30 03:38:00 +08:00
ul.nav.nav-pills.flex-column {
background-color: #f5f5f5;
}
2018-02-03 02:24:01 +08:00
.chosen-container {
text-align: left;
}
2018-03-24 21:59:39 +08:00
.chosen-single,
.chosen-container,
.chosen-container-multi,
.chosen-results,
.chosen-search,
.chosen-drop,
.chosen-choices,
li.search-choice {
font-size: inherit !important;
border-radius:4px;
border-color:rgb(200,200,200) !important ;
}
2018-03-25 21:56:41 +08:00
.reduced-text {
font-size:0.9em;
}
2018-03-24 21:59:39 +08:00
.glyphicon.glyphicon-dot:before {
content: "\25cf";
font-size: 1.5em;
padding-right:5px;
}
.gi-1p5x{font-size: 1.5em;}
.gi-2x{font-size: 2em;}
.gi-3x{font-size: 3em;}
.gi-4x{font-size: 4em;}
.gi-5x{font-size: 5em;}
2020-08-17 21:37:03 +08:00
.fa:hover{
color: black;
}
2018-03-25 23:43:34 +08:00
.filterBar {
margin-top:5px;
margin-bottom:5px;
}
.form-check-inline {
display: inline-block;
}
#dropdown_storage+div,
#dropdown_reminder+div,
#dropdown_bandwidth+div {
2020-08-20 23:39:55 +08:00
background-color:#485460;
}
#framesTable td:hover {
cursor: pointer;
}
2020-08-14 01:50:59 +08:00
.zoom {
transform-origin: 70% 50%;
transform: scale(5); /* (arbitray zoom value - Note if the zoom is too large, it will go outside of the viewport) */
2020-08-14 01:50:59 +08:00
}
.zoom-console {
transform-origin: 0% 50%;
transform: scale(5); /* (arbitray zoom value - Note if the zoom is too large, it will go outside of the viewport) */
}
a.flip {
float: right;
margin-right: -20px;
}
#content table.major .colDiskSpace {
text-align: right;
}
#objdetectModal .modal-content {
width: fit-content;
}