1
|
/**
|
2
|
* http://tools.andreknieriem.de/chmod_calculator
|
3
|
*/
|
4
|
|
5
|
.spacer {
|
6
|
clear: both;
|
7
|
height: 20px;
|
8
|
width: 100%;
|
9
|
}
|
10
|
.chmod {
|
11
|
background-color: #DCDCDC;
|
12
|
display: block;
|
13
|
margin: 0.625em 0.525em;
|
14
|
min-width: 25.225em;
|
15
|
}
|
16
|
.chmodbox {
|
17
|
width:100% !important;
|
18
|
max-width: 280px;
|
19
|
}
|
20
|
|
21
|
.half {
|
22
|
padding: 0.125em;
|
23
|
width: 30%;
|
24
|
min-width: 380px;
|
25
|
position: relative;
|
26
|
}
|
27
|
*, *::before, *::after {
|
28
|
box-sizing: border-box;
|
29
|
}
|
30
|
.chmod .boxes {
|
31
|
float: left;
|
32
|
margin: 0.625em;
|
33
|
}
|
34
|
.chmod .labelbox {
|
35
|
margin-left: 100px;
|
36
|
}
|
37
|
.chmod .labelbox label {
|
38
|
margin-left: 20px;
|
39
|
}
|
40
|
.chmod .boxes label {
|
41
|
display: block;
|
42
|
margin: 12px 0;
|
43
|
font-weight: bold;
|
44
|
}
|
45
|
.chmod .boxes .cb {
|
46
|
margin: 2px 0px;
|
47
|
}
|
48
|
input[type="checkbox"], input[type="radio"] {
|
49
|
box-sizing: border-box;
|
50
|
padding: 0;
|
51
|
}
|
52
|
input.formInput {
|
53
|
border: 1px solid #d3d3d8 !important;
|
54
|
margin-bottom: 5px;
|
55
|
padding: 7px;
|
56
|
width: 300px;
|
57
|
}
|
58
|
input {
|
59
|
line-height: normal;
|
60
|
}
|
61
|
.chmod .labelbox {
|
62
|
font-weight: bold;
|
63
|
margin-left: 6.225em;
|
64
|
}
|
65
|
.clear {
|
66
|
clear: both;
|
67
|
}
|
68
|
|
69
|
#chmodDirCode,
|
70
|
#chmodDirValue,
|
71
|
#chmodFileCode,
|
72
|
#chmodFileValue {
|
73
|
color: tomato;
|
74
|
font-size: 1.125em;
|
75
|
font-weight: bold;
|
76
|
}
|
77
|
|
78
|
/**
|
79
|
* http://www.paulund.co.uk/style-checkboxes-with-css
|
80
|
* Checkbox Four
|
81
|
*/
|
82
|
/**
|
83
|
* Start by hiding the checkboxes
|
84
|
*/
|
85
|
input[type=checkbox] {
|
86
|
visibility: hidden;
|
87
|
}
|
88
|
|
89
|
/**
|
90
|
* Checkbox Three
|
91
|
*/
|
92
|
.checkboxThree {
|
93
|
width: 4.275em;
|
94
|
height: 1.3625em;
|
95
|
background: #333;
|
96
|
margin: 1.425em 0.0em;
|
97
|
border-radius: 0px;
|
98
|
position: relative;
|
99
|
}
|
100
|
/**
|
101
|
* Create the text for the On position 26ca28
|
102
|
*/
|
103
|
.checkboxThree:before {
|
104
|
content: 'On';
|
105
|
position: absolute;
|
106
|
top: -4px;
|
107
|
left: 3px;
|
108
|
height: 2px;
|
109
|
color: #26ca28;
|
110
|
font-weight: bold;
|
111
|
}
|
112
|
/**
|
113
|
* Create the label for the off position
|
114
|
*/
|
115
|
.checkboxThree:after {
|
116
|
content: 'Off';
|
117
|
position: absolute;
|
118
|
top: -4px;
|
119
|
left: 32px;
|
120
|
height: 2px;
|
121
|
color: #fff;
|
122
|
font-weight: bold;
|
123
|
}
|
124
|
/**
|
125
|
* Create the pill to click
|
126
|
*/
|
127
|
.checkboxThree label {
|
128
|
display: block;
|
129
|
width: 30px;
|
130
|
height: 18px;
|
131
|
border-radius: 0px;
|
132
|
-webkit-transition: all .5s ease;
|
133
|
-moz-transition: all .5s ease;
|
134
|
-o-transition: all .5s ease;
|
135
|
-ms-transition: all .5s ease;
|
136
|
transition: all .5s ease;
|
137
|
cursor: pointer;
|
138
|
position: absolute;
|
139
|
top: -12px;
|
140
|
z-index: 1;
|
141
|
left: 0px;
|
142
|
background: #fff;
|
143
|
}
|
144
|
|
145
|
/**
|
146
|
* Create the checkbox event for the label
|
147
|
*/
|
148
|
.checkboxThree input[type=checkbox]:checked + label {
|
149
|
left: 2.1125em;
|
150
|
background: #26ca28;
|
151
|
}
|
152
|
.disabled {
|
153
|
opacity: 0.5;
|
154
|
}
|
155
|
.reformed-form input[type="text"], .reformed-form input[type="password"] {
|
156
|
width: 49%;
|
157
|
min-width: 140px;
|
158
|
}
|