aboutsummaryrefslogtreecommitdiff
path: root/public/stylesheets/style.css
diff options
context:
space:
mode:
authorJames Barnett <james.barnett@fivium.co.uk>2018-04-08 17:25:47 +0100
committerGitHub <noreply@github.com>2018-04-08 17:25:47 +0100
commiteb0185c03f8d5b68949798e8040b42a203b040a2 (patch)
tree86da8449b0c92ec29a15baffe3e7bd8ebd34488e /public/stylesheets/style.css
parent954aff49707738e660e92e0418c31b1ec78a85a8 (diff)
parent4ec37af74fc77f7381d7c5c3b2560c8726f75ffa (diff)
downloadtplink-energy-monitor-0.2.tar.xz
tplink-energy-monitor-0.2.zip
Merge pull request #1 from jamesbarnett91/websocketsv0.2
Switch from http polling to websockets
Diffstat (limited to 'public/stylesheets/style.css')
-rw-r--r--public/stylesheets/style.css63
1 files changed, 62 insertions, 1 deletions
diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css
index 3f4c1ca..2057c4d 100644
--- a/public/stylesheets/style.css
+++ b/public/stylesheets/style.css
@@ -25,4 +25,65 @@ footer ul {
color: #fff;
background-color: #5cb85c;
border-color: #4cae4c;
-} \ No newline at end of file
+}
+
+.alert-danger {
+ color: #a94442;
+ background-color: #f2dede;
+ border-color: #ebccd1;
+}
+
+.list-inline > .active {
+ font-weight: bold;
+}
+
+.nav_title {
+ width: 170px;
+}
+
+.nav-md .container.body .col-md-3.left_col {
+ width: 170px;
+}
+
+.nav-md .container.body .right_col {
+ margin-left: 170px;
+}
+
+@media (min-width: 992px) {
+ footer {
+ margin-left: 170px;
+ }
+}
+
+@media (max-width: 991px) {
+ .nav-md .container.body .right_col {
+ padding-right: 0;
+ margin-left: 0;
+ }
+}
+
+@media (max-width: 1100px) {
+ .col-md-2, .col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-md-9, .col-xs-12, .col-lg-2 {
+ padding-left: 5px;
+ padding-right: 5px;
+ }
+}
+
+@media (min-width: 1635px) {
+ .col-xl-2,{
+ float: left;
+ }
+ .col-xl-2 {
+ width: 16.66666667%;
+ }
+}
+
+.device-list-small{
+ display: none;
+}
+
+@media (max-width: 991px) {
+ .device-list-small{
+ display: inline;
+ }
+}