The white background is terrible, especially in low light. Could an option for a dark theme be added?
Attached is screenshot of what a dark theme would look like.
Moderator: Staff
<body> <style type="text/css">
body {
background-color: #000000;
}
</style>
<link rel="stylesheet" href="custom.css" />a,
div,
img,
p,
span {
border: none
}
div.container {
width: 98%;
min-width: 970px;
padding-left: 1%;
padding-right: 1%;
margin: auto
}
div.header {
clear: both;
width: auto;
height: 80px;
padding: 20px 0
}
div.header div.logo {
float: left
}
div.header div.pageNav {
float: left;
margin-top: 22px;
margin-left: 40px
}
div.header div.on-off {
margin-top: 22px;
float: right
}
div.header div.cameras {
float: right;
text-align: right;
margin-top: 28px;
margin-right: 20px
}
div.content {
width: 98%;
min-height: 300px;
border: 1px solid #ccc;
border-radius: 0;
padding: 10px 1%;
background-color: #f9f9f9;
margin-bottom: 10px
}
div.contextMenu {
height: 44px;
margin-bottom: 10px
}
div.contextMenu div.backButton {
float: left;
margin-right: 15px
}
div.contextMenu div.title {
font-weight: 700;
margin-right: 15px
}
div.contextMenu div.date,
div.contextMenu div.title {
height: 44px;
font-size: 18px;
line-height: 44px;
float: left
}
div.contextMenu div.cameras {
float: right;
text-align: right;
margin-top: 7px;
margin-right: 20px
}
div#live_right_time {
float: right
}
div#live_right_time #liveTime {
margin-right: 15px
}
div.contextMenu div.dropdown,
div.contextMenu div.on-off,
div.contextMenu div.views {
float: right
}
div.contextMenu div.fullscreen {
float: right;
margin-left: 10px
}
div.liveVideoContainer {
min-height: 500px;
clear: both
}
video {
width: 100%;
height: 100%;
background-color: #000;
color: #fff
}
#cameraGrid {
position: relative
}
div.videos {
clear: both;
width: auto;
display: block;
margin: 0 auto
}
.cameraVideo {
display: inline-block;
margin: 5px;
vertical-align: top;
text-align: left;
overflow: hidden
}
.videoImgContainer {
background-color: #000;
margin: 0 auto
}
.videoImgContainer img {
max-height: 100%;
max-width: 100%;
height: auto;
width: auto;
vertical-align: middle
}
.videoImgContainer img.tall {
height: 100%;
width: auto
}
.videoImgContainer img.wide {
height: auto;
width: 100%
}
html {
height: 100%
}
body {
background: #fff;
color: #4d4d4d;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
-webkit-font-smoothing: antialiased;
margin: 0;
padding: 0
}
a,
span.expressive {
color: #0071bc
}
a,
a:hover,
span.expressive {
text-decoration: none
}
.enableRule {
display: inline-block;
vertical-align: top;
width: 121px;
margin-top: 8px;
height: 53px
}
.buttonBar {
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ddd), to(#fff));
background: -webkit-linear-gradient(bottom, #ddd, #fff);
background: -moz-linear-gradient(bottom, #ddd, #fff);
background: -ms-linear-gradient(bottom, #ddd, #fff);
background: -o-linear-gradient(bottom, #ddd, #fff);
border: 1px solid #ccc;
-moz-border-radius: 10px;
border-radius: 10px
}
a.button {
padding: 12px 18px
}
.enableRule a.button,
a.button {
text-transform: uppercase;
display: inline-block;
border-radius: 10px
}
.enableRule a.button {
padding: 18px
}
a.buttonIcon {
padding: 10px 14px;
display: inline-block;
border-radius: 10px
}
a.button:hover,
a.buttonIcon:hover {
background-color: #fff
}
a.active {
color: #fff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#0071bc), to(#29abe2));
background: -webkit-linear-gradient(bottom, #0071bc, #29abe2);
background: -moz-linear-gradient(bottom, #0071bc, #29abe2);
background: -ms-linear-gradient(bottom, #0071bc, #29abe2);
background: -o-linear-gradient(bottom, #0071bc, #29abe2);
border-radius: 10px;
-moz-border-radius: 10px;
font-weight: 700
}
.cameraVideo a {
display: block
}
#cameraGrid .cameraVideo a {
position: relative
}
div.cameraTitle {
background-color: rgba(34, 34, 34, .5);
padding: 4px 0;
position: absolute;
bottom: 0;
width: 100%
}
a .cameraTitle {
color: #fff
}
.cameraTitle span {
margin-left: 4px
}
div.rule {
color: #0071bc;
width: 770px;
width: calc(100% - 167px);
border: 1px solid #ccc;
margin-right: 10px;
margin-top: 8px;
margin-bottom: 0;
padding: 10px 15px;
display: inline-block;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#e6e6e6), to(#fff));
background: -webkit-linear-gradient(bottom, #e6e6e6, #fff);
background: -moz-linear-gradient(bottom, #e6e6e6, #fff);
background: -ms-linear-gradient(bottom, #e6e6e6, #fff);
background: -o-linear-gradient(bottom, #e6e6e6, #fff)
}
div.rule span {
font-weight: 700;
margin: 7px 10px 0 0;
text-decoration: underline;
float: right
}
div.rule span:hover {
cursor: pointer
}
div.ruleDescription,
div.ruleIcon {
margin-right: 15px;
float: left
}
div.ruleLink {
margin-top: 8px;
float: right
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
display: block
}
.ellipsis.multiline {
white-space: normal
}
#cameraName {
width: 315px;
overflow: hidden
}
.cameraVideo img {
border: none
}
.blockOverlay {
opacity: .3!important
}
#video-message h1 {
color: #fff;
padding-top: 30%;
text-align: center
}
.cameraTitle span {
white-space: nowrap
}
div.cameraTitle {
overflow-x: hidden;
text-overflow: ellipsis
}
.liveVideoContainer {
background-color: #000!important
}
#cameraRuleList .ruleDescription {
white-space: nowrap;
max-width: 600px;
overflow-x: hidden;
text-overflow: ellipsis
}