Skip to content

Commit 44cbb60

Browse files
committed
1.2.4
1 parent 98bed7b commit 44cbb60

3 files changed

Lines changed: 226 additions & 160 deletions

File tree

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const {
5959
} = require('express');
6060

6161
// Kubek version
62-
const version = "v1.2.3";
62+
const version = "v1.2.4";
6363

6464
const rateLimit = require('express-rate-limit');
6565
const authLimiter = rateLimit({

www/css/pages/hosting-settings.css

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
.settings-item {
2+
display: grid;
3+
grid-auto-columns: 1fr;
4+
grid-template-columns: 64px 1fr auto;
5+
grid-template-rows: 1fr;
6+
gap: 0.2em 2em;
7+
grid-template-areas:
8+
"icon caption element";
9+
justify-content: center;
10+
justify-items: center;
11+
align-items: center;
12+
width: 100%;
13+
height: max-content;
14+
padding: 24px 20px;
15+
}
16+
17+
.window .settings-item:not(:last-child){
18+
border-bottom: 1px solid var(--mdb-gray-300);
19+
}
20+
21+
.settings-item .icon {
22+
grid-area: icon;
23+
}
24+
25+
.settings-item .icon .material-icons {
26+
font-size: 24pt;
27+
}
28+
29+
.settings-item .caption {
30+
justify-self: start;
31+
grid-area: caption;
32+
font-size: 14pt;
33+
font-weight: 700;
34+
color: black;
35+
}
36+
37+
.settings-item .element {
38+
grid-area: element;
39+
justify-self: end;
40+
}
41+
42+
/* Slider*/
43+
.switch {
44+
position: relative;
45+
display: inline-block;
46+
width: 60px;
47+
height: 34px;
48+
}
49+
50+
/* Hide default HTML checkbox */
51+
.switch input {
52+
opacity: 0;
53+
width: 0;
54+
height: 0;
55+
}
56+
57+
/* The slider */
58+
.slider {
59+
position: absolute;
60+
cursor: pointer;
61+
top: 0;
62+
left: 0;
63+
right: 0;
64+
bottom: 0;
65+
background-color: #ccc;
66+
-webkit-transition: .4s;
67+
transition: .4s;
68+
}
69+
70+
.slider:before {
71+
position: absolute;
72+
content: "";
73+
height: 26px;
74+
width: 26px;
75+
left: 4px;
76+
bottom: 4px;
77+
background-color: white;
78+
-webkit-transition: .4s;
79+
transition: .4s;
80+
}
81+
82+
input:checked+.slider {
83+
background-color: var(--mdb-primary);
84+
}
85+
86+
input:focus+.slider {
87+
box-shadow: 0 0 1px var(--mdb-primary);
88+
}
89+
90+
input:checked+.slider:before {
91+
-webkit-transform: translateX(26px);
92+
-ms-transform: translateX(26px);
93+
transform: translateX(26px);
94+
}
95+
96+
/* Rounded sliders */
97+
.slider.round {
98+
border-radius: 34px;
99+
}
100+
101+
.slider.round:before {
102+
border-radius: 50%;
103+
}
104+
105+
.window {
106+
width: 100%;
107+
height: max-content;
108+
border-radius: 24px;
109+
background: rgb(250,250,250);
110+
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
111+
}

0 commit comments

Comments
 (0)