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

577 lines
9.4 KiB
CSS
Raw Normal View History

2015-07-23 20:12:32 +08:00
/*
* ZoneMinder Base Stylesheet, $Date$, $Revision$
* 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.
2015-07-23 20:12:32 +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.
2015-07-23 20:12:32 +08:00
*/
/*
* Primary look and feel styles
*/
body {
2017-01-31 10:45:48 +08:00
font-family: "Open Sans", Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
2015-07-23 20:12:32 +08:00
color: #dddddd;
background-color: #222222;
font-weight: normal;
text-align: center;
}
h1 {
font-family: inherit;
font-size: 120%;
color: #10a4e8;
font-weight: bold;
text-align: center;
}
h2 {
font-family: inherit;
font-size: 110%;
color: #10a4e8;
font-weight: bold;
}
h3 {
font-family: inherit;
font-size: 100%;
color: #117AAd;
font-weight: bold;
}
h4 {
font-family: inherit;
font-size: 100%;
color: #117AAd;
}
p {
font-family: inherit;
font-size: 100%;
color: #dddddd;
font-weight: normal;
}
th {
font-weight: bold;
color: #117AAd;
}
a:link {
color: #8f8fc2;
text-decoration: none;
}
a:visited {
color: #8f8fc2;
text-decoration: none;
}
a:hover {
color: #7777aa;
text-decoration: underline;
}
label {
margin-right: 4px;
}
input,textarea,select,button,.btn-primary {
border: 1px #8f8fc2 solid !important;
2017-01-31 10:45:48 +08:00
padding: 10px;
border-radius: 2px;
2015-07-23 20:12:32 +08:00
font-family: inherit;
2017-01-31 10:45:48 +08:00
font-weight: 400;
2015-07-23 20:12:32 +08:00
font-size: 100%;
color: #eeeeee !important;
background-color: #444444 !important;
2015-07-23 20:12:32 +08:00
}
2017-01-31 10:45:48 +08:00
input[type=text], input[type=password], input[type="url"], textarea, select {
2015-07-23 20:12:32 +08:00
padding: 1px;
}
input.noborder {
border: 0;
}
img {
display: inline-block;
}
2015-07-23 20:12:32 +08:00
img.normal {
border: #cccccc solid 1px;
}
img.alarm {
border: red solid 1px;
}
hr {
height: 1px;
width: 100%;
border: 0;
color: #8f8fc2;
background-color: #8f8fc2;
}
/*
* 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;
2015-07-27 16:07:01 +08:00
color: #8f8fc2;
2015-07-23 20:12:32 +08:00
border: #8f8fc2 solid 1px;
border-bottom-width: 0;
margin: 0 2px 0 0;
2015-07-27 16:07:01 +08:00
background: #444444;
2015-07-23 20:12:32 +08:00
text-align: center;
2017-01-31 10:45:48 +08:00
padding: 5px 10px;
2015-07-23 20:12:32 +08:00
}
ul.tabList li a {
text-decoration: none;
}
ul.tabList li:hover {
2015-07-27 16:07:01 +08:00
background-color: #dddddd;
2015-07-23 20:12:32 +08:00
}
ul.tabList li.active {
2015-07-27 16:07:01 +08:00
background-color: #222222;
2015-07-23 20:12:32 +08:00
border-bottom: #8f8fc2 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 {
color: #eeeeee;
background-color: #000000;
}
#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 {
2017-01-31 10:45:48 +08:00
border-bottom: 2px solid #8f8fc2;
padding: 5px 10px;
2015-07-23 20:12:32 +08:00
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;
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: #333333;
}
2015-07-23 20:12:32 +08:00
.overlay {
font-size: 11px;
background-color: #222222;
}
.overlay .overlayHeader {
color: #eeeeee;
background-color: #070707;
}
.overlay fieldset {
background-color: #222222;
}
.validation-advice {
padding: 4px;
color: #dc143c;
}
fieldset {
border: 1px solid #dddddd;
padding: 4px;
margin-bottom: 8px;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
fieldset > legend {
padding: 0 2px;
}
/*
* Behavior classes
*/
.alarm, .errorText {
color: #dc143c;
}
.alert, .warnText {
color: #ff8c00;
}
.ok, .infoText {
color: #77a328;
}
.fakelink {
color: #8f8fc2;
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;
2015-07-23 20:12:32 +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;
2015-07-23 20:12:32 +08:00
}
.table-tr-odd {
background-color: #070707;
}
/*
* Primary layout styles
*/
#page {
width: 100%;
}
#header {
2017-02-03 00:31:16 +08:00
width: 100%;
2017-11-21 23:11:39 +08:00
line-height: 1;
2015-07-23 20:12:32 +08:00
text-align: left;
2017-11-21 23:11:39 +08:00
padding: 5px 20px;
2017-12-01 05:46:51 +08:00
margin: 0 auto 4px auto;
2017-01-31 10:45:48 +08:00
font-weight: 300;
border-bottom: 1px solid #000000;
2015-07-23 20:12:32 +08:00
}
#header h2 {
left: 0;
}
#header h2.floating {
float: left;
}
#headerControl {
text-align: center;
margin: 0 auto;
}
#headerButtons {
float: right;
}
#headerButtons a {
margin-left: 8px;
}
#headerButtons input {
margin-left: 4px;
}
#content {
width: 96%;
2017-11-21 23:11:39 +08:00
margin: 0 auto 8px auto;
2015-07-23 20:12:32 +08:00
line-height: 130%;
text-align: center;
}
#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 {
margin-top: 8px;
}
#content table input[type=submit], #content table input[type=button], #content table button {
2017-01-31 10:45:48 +08:00
margin-top: 1px;
2015-07-23 20:12:32 +08:00
}
#contentButtons {
margin-top: 8px;
float: right;
}
2017-11-25 04:37:50 +08:00
#contentButtons button,
2015-07-23 20:12:32 +08:00
#contentButtons input {
margin-left: 8px;
margin-bottom: 4px;
}
#footer {
width: 96%;
margin: 8px auto;
}
2017-11-24 22:36:45 +08:00
button,
2017-01-31 10:45:48 +08:00
input[type=button],
input[type=submit],
.btn-primary,
.btn-primary:link {
background-color: #444444;
color: #eeeeee;
border-color: #444444;
2017-11-25 04:37:50 +08:00
text-transform: uppercase;
font-weight: 200;
padding: 5px 10px;
cursor: pointer;
text-decoration: none;
display: inline-block;
2017-01-31 10:45:48 +08:00
}
2017-11-24 22:36:45 +08:00
button:hover,
2017-01-31 10:45:48 +08:00
input[type=button]:hover,
input[type=submit]:hover,
.btn-primary:hover {
background-color: #555555;
border-color: #444444;
2017-01-31 10:45:48 +08:00
}
/* PP - make it easy to identify disabled buttons */
2017-11-24 22:36:45 +08:00
button:disabled,
2017-11-25 04:37:50 +08:00
input[disabled],
2017-01-31 10:45:48 +08:00
input[type=button]:disabled,
input[type=submit]:disabled,
.btn-primary:disabled {
color: #888888;
background-color: #666666;
border-color: #666666;
2017-01-31 10:45:48 +08:00
}
.navbar{
margin-bottom: 0 !important;
border-radius: 0;
color: #03A9F4 !important;
}
.navbar-brand {
font-weight: bold;
font-size: 20px;
}
2017-02-03 00:31:16 +08:00
.container-fluid {
position: relative;
}
2017-01-31 10:45:48 +08:00
.sidebar {
2017-02-03 00:31:16 +08:00
position: absolute;
top: 0;
left: 0;
z-index: 1000;
display: block;
padding: 0;
overflow-x: hidden;
overflow-y: auto;
border-right: 1px solid #eeeeee;
2017-01-31 10:45:48 +08:00
}
.sidebar ul {
2017-02-03 00:31:16 +08:00
margin-right: 0;
margin-bottom: 20px;
margin-left: 0;
2017-01-31 10:45:48 +08:00
}
2020-08-27 02:31:58 +08:00
.table {
width: 100%;
margin-bottom: 1rem;
color: #eeeeee;
}
.table-striped > tbody > tr:nth-of-type(2n+1) {
background-color: #333333;
}
2020-08-27 02:31:58 +08:00
.table-hover > tbody > tr:hover {
background-color: orange;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
color: #8f8fc2;
background-color: #333333;
}
.nav>li>a:focus, .nav>li>a:hover {
background-color: #444444;
}
/* Override chosen for dark theme */
.chosen-single,
.chosen-container,
.chosen-container-multi,
.chosen-results,
.chosen-search,
.chosen-drop,
.chosen-choices,
li.search-choice {
font-size: inherit !important;
background: -webkit-gradient(linear,left top,left bottom,color-stop(20%,#555),color-stop(50%,#464646),color-stop(52%,#444),to(#545454)) !important;
background: linear-gradient(#555 20%,#464646 50%,#444 52%,#545454 100%) !important;
background-color: #444444 !important;
color: #eee !important;
border-color: #8f8fc2 !important;
-webkit-box-shadow: none !important;
background-image: none !important;
}
/* end chosen override */
modal-content {
2020-12-01 00:19:12 +08:00
background-color: #222222;
}