diff --git a/example-singleServer-chart.html b/example-singleServer-chart.html index d0040e34..9ed66bbb 100755 --- a/example-singleServer-chart.html +++ b/example-singleServer-chart.html @@ -35,11 +35,82 @@ display: block; margin: 0 auto; } + + .theme-switch-wrapper { + margin: 20px; + } + + .theme-switch { + display: inline-block; + height: 40px; + position: relative; + width: 65px; + } + + .theme-switch input { + display: none; + } + + .slider { + background: #000; + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + font-size: 13px; + transition: 0.4s; + } + + .slider p:after { + color: #fff; + float: right; + margin: 0 5px 0 0; + content: "OFF"; + transition: 0.4s; + } + + input:checked + .slider p:after { + float: left; + color: #000; + content: "ON"; + margin: 0 0 0 5px; + } + + .slider:before { + background: #fff; + top: 8px; + content: ""; + height: 26px; + left: 4px; + position: absolute; + transition: 0.4s; + width: 26px; + } + + input:checked + .slider { + background-color: #fff; + } + + input:checked + .slider:before { + transform: translateX(28px); + background: #000; + } + + .slider.round { + border-radius: 34px; + } + + .slider.round:before { + border-radius: 50%; + } diff --git a/example-singleServer-customSettings.html b/example-singleServer-customSettings.html index b1c0cfbb..04c4cf26 100755 --- a/example-singleServer-customSettings.html +++ b/example-singleServer-customSettings.html @@ -78,9 +78,9 @@ box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1); } #startStopBtn.running{ - background-color:#FF3030; - border-color:#FF6060; - color:#FFFFFF; + background-color:#FF3030!important; + border-color:#FF6060!important; + color:#FFFFFF!important; } #startStopBtn:before{ content:"Start"; @@ -147,6 +147,74 @@ } } + .theme-switch-wrapper { + margin: 20px; + } + + .theme-switch { + display: inline-block; + height: 40px; + position: relative; + width: 65px; + } + + .theme-switch input { + display: none; + } + + .slider { + background: #000; + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + font-size: 13px; + transition: 0.4s; + } + + .slider p:after { + color: #fff; + float: right; + margin: 0 5px 0 0; + content: "OFF"; + transition: 0.4s; + } + + input:checked + .slider p:after { + float: left; + color: #000; + content: "ON"; + margin: 0 0 0 5px; + } + + .slider:before { + background: #fff; + top: 8px; + content: ""; + height: 26px; + left: 4px; + position: absolute; + transition: 0.4s; + width: 26px; + } + + input:checked + .slider { + background-color: #fff; + } + + input:checked + .slider:before { + transform: translateX(28px); + background: #000; + } + + .slider.round { + border-radius: 34px; + } + + .slider.round:before { + border-radius: 50%; + } @@ -166,9 +234,60 @@

LibreSpeed Example

+
+

DARKMODE

+
+
Source code diff --git a/example-singleServer-full.html b/example-singleServer-full.html index 823ef9f2..f1d0caff 100755 --- a/example-singleServer-full.html +++ b/example-singleServer-full.html @@ -154,9 +154,9 @@ box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1); } #startStopBtn.running{ - background-color:#FF3030; - border-color:#FF6060; - color:#FFFFFF; + background-color:#FF3030!important; + border-color:#FF6060!important; + color:#FFFFFF!important; } #startStopBtn:before{ content:"Start"; @@ -272,6 +272,78 @@ font-size:0.8em; } } + + #darkMode{ + margin-top:-100px; + } + .theme-switch-wrapper { + margin:5px; + } + + .theme-switch { + display: inline-block; + height: 40px; + position: relative; + width: 65px; + } + + .theme-switch input { + display: none; + } + + .slider { + background: #000; + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + font-size: 13px; + transition: 0.4s; + } + + .slider p:after { + color: #fff; + float: right; + margin: 0 5px 0 0; + content: "OFF"; + transition: 0.4s; + } + + input:checked + .slider p:after { + float: left; + color: #000; + content: "ON"; + margin: 0 0 0 5px; + } + + .slider:before { + background: #fff; + top: 8px; + content: ""; + height: 26px; + left: 4px; + position: absolute; + transition: 0.4s; + width: 26px; + } + + input:checked + .slider { + background-color: #fff; + } + + input:checked + .slider:before { + transform: translateX(28px); + background: #000; + } + + .slider.round { + border-radius: 34px; + } + + .slider.round:before { + border-radius: 50%; + } LibreSpeed Example @@ -317,6 +389,15 @@

Share results

+
+

DARKMODE

+
+
Source code

- + diff --git a/example-singleServer-gauges.html b/example-singleServer-gauges.html index 9a49705f..46572187 100755 --- a/example-singleServer-gauges.html +++ b/example-singleServer-gauges.html @@ -139,9 +139,9 @@ box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1); } #startStopBtn.running{ - background-color:#FF3030; - border-color:#FF6060; - color:#FFFFFF; + background-color: #ff3030 !important; + border-color: #ff6060 !important; + color: #ffffff !important; } #startStopBtn:before{ content:"Start"; @@ -217,6 +217,78 @@ font-size:0.8em; } } + + #darkMode{ + margin-top:-100px; + } + .theme-switch-wrapper { + margin:5px; + } + + .theme-switch { + display: inline-block; + height: 40px; + position: relative; + width: 65px; + } + + .theme-switch input { + display: none; + } + + .slider { + background: #000; + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + font-size: 13px; + transition: 0.4s; + } + + .slider p:after { + color: #fff; + float: right; + margin: 0 5px 0 0; + content: "OFF"; + transition: 0.4s; + } + + input:checked + .slider p:after { + float: left; + color: #000; + content: "ON"; + margin: 0 0 0 5px; + } + + .slider:before { + background: #fff; + top: 8px; + content: ""; + height: 26px; + left: 4px; + position: absolute; + transition: 0.4s; + width: 26px; + } + + input:checked + .slider { + background-color: #fff; + } + + input:checked + .slider:before { + transform: translateX(28px); + background: #000; + } + + .slider.round { + border-radius: 34px; + } + + .slider.round:before { + border-radius: 50%; + } LibreSpeed Example @@ -255,8 +327,72 @@

LibreSpeed Example

+
+

DARKMODE

+
+
+ +
Source code - + diff --git a/example-singleServer-pretty.html b/example-singleServer-pretty.html index 77155353..fcb8c776 100755 --- a/example-singleServer-pretty.html +++ b/example-singleServer-pretty.html @@ -1,192 +1,352 @@ - - - -LibreSpeed Example - - - - - - - -

LibreSpeed Example

-
-
-
-
-
Download
-
-
Mbps
-
-
-
Upload
-
-
Mbps
-
-
-
-
-
Ping
-
-
ms
-
-
-
Jitter
-
-
ms
-
-
-
- IP Address: -
-
-Source code - - + + + + LibreSpeed Example + + + + + + + + +

LibreSpeed Example

+
+
+
+
+
Download
+
+
Mbps
+
+
+
Upload
+
+
Mbps
+
+
+
+
+
Ping
+
+
ms
+
+
+
Jitter
+
+
ms
+
+
+
IP Address:
+
+

DARKMODE

+
+ +
+ Source code + + diff --git a/example-singleServer-progressBar.html b/example-singleServer-progressBar.html index f9e7007c..00563729 100755 --- a/example-singleServer-progressBar.html +++ b/example-singleServer-progressBar.html @@ -1,212 +1,383 @@ - - - -LibreSpeed Example - - - + + + + + + +

LibreSpeed Example

+
+
+
+
+
+
+
+
Download
+
+
Mbps
+
+
+
Upload
+
+
Mbps
+
+
+
+
+
Ping
+
+
ms
+
+
+
Jitter
+
+
ms
+
+
+
IP Address:
+
+

DARKMODE

+
+ +
+ Source code + + + - - - - -

LibreSpeed Example

-
-
-
-
-
-
Download
-
-
Mbps
-
-
-
Upload
-
-
Mbps
-
-
-
-
-
Ping
-
-
ms
-
-
-
Jitter
-
-
ms
-
-
-
- IP Address: -
-
-Source code - - +