PluginProbe
NETSENSAI Shield / trunk
NETSENSAI Shield vtrunk
1.6.1 trunk 1.1 1.2 1.3 1.4 1.4.1 1.4.2 1.4.3 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.6.0
← All changes | assets/style.css +241 -157 1.2 → trunk View file →
@@ -1,157 +1,241 @@
1 -/* Ukrywanie pola tekstowego domyślnie */
2 -#admin_login_field {
3 - display: none;
4 - /* Usunięto margin-left */
5 -}
6 -
7 -/* Suwak stylowania */
8 -.switch {
9 - position: relative;
10 - display: inline-block;
11 - width: 60px;
12 - height: 34px;
13 -}
14 -
15 -.switch input {
16 - opacity: 0;
17 - width: 0;
18 - height: 0;
19 -}
20 -
21 -.slider {
22 - position: absolute;
23 - cursor: pointer;
24 - top: 0;
25 - left: 0;
26 - right: 0;
27 - bottom: 0;
28 - background-color: gray;
29 - transition: background-color 0.4s, transform 0.4s;
30 - border-radius: 15px;
31 -}
32 -
33 -.slider:before {
34 - position: absolute;
35 - content: "";
36 - height: 26px;
37 - width: 26px;
38 - left: 4px;
39 - bottom: 4px;
40 - background-color: white;
41 - transition: transform 0.4s;
42 - border-radius: 50%;
43 -}
44 -
45 -input:checked + .slider {
46 - background-color: #E6DB00;
47 -}
48 -
49 -input:checked + .slider:before {
50 - transform: translateX(26px);
51 -}
52 -
53 -/* Tooltip stylizacja */
54 -.tooltip {
55 - display: none;
56 - background-color: #E6DB00;
57 - color: black;
58 - padding: 5px;
59 - border-radius: 5px;
60 - position: absolute;
61 - z-index: 10;
62 - font-size: 12px;
63 - width: 250px;
64 - left: 70px;
65 - top: 5px;
66 - font-weight: bold;
67 -}
68 -
69 -/* Tooltip pojawia się przy najechaniu na suwak */
70 -.switch:hover + .tooltip {
71 - display: block;
72 -}
73 -
74 -/* Kontenery dla suwaka i pól tekstowych */
75 -.change-url-container,
76 -.disable-admin-container {
77 - display: flex;
78 - align-items: center;
79 - gap: 10px; /* Odstęp między przełącznikiem a polem tekstowym */
80 - position: relative; /* Kluczowe dla pozycjonowania tooltipa */
81 -}
82 -
83 -/* Ustawienie stałej szerokości dla pól tekstowych w kontenerach */
84 -.change-url-container input[type="text"],
85 -.disable-admin-container input[type="text"] {
86 - width: 250px;
87 -}
88 -
89 -/* Pozycjonowanie tooltipów w tabelach */
90 -td label.switch {
91 - position: relative;
92 -}
93 -
94 -td label.switch + .tooltip {
95 - left: 70px;
96 - top: 5px;
97 -}
98 -
99 -/* Sekcja ustawień wtyczki – kontener */
100 -#netsensai-shield-plugin {
101 - background-color: #333333;
102 - padding: 20px;
103 - border-radius: 8px;
104 -}
105 -
106 -/* Nagłówek sekcji ustawień */
107 -#netsensai-shield-plugin h2 {
108 - color: #E6DB00;
109 - font-size: 26px;
110 - margin-bottom: 40px;
111 -}
112 -
113 -/* Nagłówki poziomów bezpieczeństwa */
114 -#netsensai-shield-plugin .level-header {
115 - font-size: 18px;
116 - font-weight: bold;
117 - color: #000;
118 - background-color: #E6DB00;
119 - padding: 10px;
120 - border-radius: 5px;
121 - margin-bottom: 15px;
122 -}
123 -
124 -/* Stylizacja tabeli – nagłówki i komórki */
125 -#netsensai-shield-plugin .form-table th {
126 - color: #ffffff;
127 - font-size: 16px;
128 -}
129 -
130 -#netsensai-shield-plugin .form-table td {
131 - color: #ffffff;
132 - font-size: 14px;
133 -}
134 -
135 -/* Stała odległość między suwakiem a polem tekstowym */
136 -.change-url-container label.switch,
137 -.disable-admin-container label.switch {
138 - margin-right: 20px;
139 -}
140 -
141 -/* Stylizacja przycisku "Zapisz zmiany" */
142 -#submit.button.button-primary {
143 - background-color: #E6DB00;
144 - border-color: #E6DB00;
145 - color: black;
146 - font-size: 14px;
147 - font-weight: bold;
148 - padding: 10px 16px;
149 - border-radius: 5px;
150 - transition: background-color 0.3s ease;
151 -}
152 -
153 -#submit.button.button-primary:hover {
154 - background-color: #c4b200;
155 - border-color: #c4b200;
156 - color: black;
157 -}
1 +/* Ukrywanie pola tekstowego domyślnie */
2 +#admin_login_field {
3 + display: none;
4 + /* Usunięto margin-left */
5 +}
6 +
7 +/* Suwak stylowania */
8 +.switch {
9 + position: relative;
10 + display: inline-block;
11 + width: 60px;
12 + height: 34px;
13 +}
14 +
15 +.switch input {
16 + opacity: 0;
17 + width: 0;
18 + height: 0;
19 +}
20 +
21 +.slider {
22 + position: absolute;
23 + cursor: pointer;
24 + top: 0;
25 + left: 0;
26 + right: 0;
27 + bottom: 0;
28 + background-color: gray;
29 + transition: background-color 0.4s, transform 0.4s;
30 + border-radius: 15px;
31 +}
32 +
33 +.slider:before {
34 + position: absolute;
35 + content: "";
36 + height: 26px;
37 + width: 26px;
38 + left: 4px;
39 + bottom: 4px;
40 + background-color: white;
41 + transition: transform 0.4s;
42 + border-radius: 50%;
43 +}
44 +
45 +input:checked + .slider {
46 + background-color: #E6DB00;
47 +}
48 +
49 +input:checked + .slider:before {
50 + transform: translateX(26px);
51 +}
52 +
53 +/* Tooltip stylizacja */
54 +.tooltip {
55 + display: none;
56 + background-color: #E6DB00;
57 + color: black;
58 + padding: 5px;
59 + border-radius: 5px;
60 + position: absolute;
61 + z-index: 10;
62 + font-size: 12px;
63 + width: 250px;
64 + left: 70px;
65 + top: 5px;
66 + font-weight: bold;
67 +}
68 +
69 +/* Tooltip pojawia się przy najechaniu na suwak */
70 +.switch:hover + .tooltip {
71 + display: block;
72 +}
73 +
74 +/* Kontenery dla suwaka i pól tekstowych */
75 +.change-url-container,
76 +.disable-admin-container {
77 + display: flex;
78 + align-items: center;
79 + gap: 10px; /* Odstęp między przełącznikiem a polem tekstowym */
80 + position: relative; /* Kluczowe dla pozycjonowania tooltipa */
81 +}
82 +
83 +/* Ustawienie stałej szerokości dla pól tekstowych w kontenerach */
84 +.change-url-container input[type="text"],
85 +.disable-admin-container input[type="text"] {
86 + width: 250px;
87 +}
88 +
89 +/* Pozycjonowanie tooltipów w tabelach */
90 +td label.switch {
91 + position: relative;
92 +}
93 +
94 +td label.switch + .tooltip {
95 + left: 70px;
96 + top: 5px;
97 +}
98 +
99 +/* Sekcja ustawień wtyczki – kontener */
100 +#netsensai-shield-plugin {
101 + background-color: #333333;
102 + padding: 20px;
103 + border-radius: 8px;
104 +}
105 +
106 +/* Nagłówek sekcji ustawień */
107 +#netsensai-shield-plugin h2 {
108 + color: #E6DB00;
109 + font-size: 26px;
110 + margin-bottom: 40px;
111 +}
112 +
113 +/* Nagłówki poziomów bezpieczeństwa */
114 +#netsensai-shield-plugin .level-header {
115 + font-size: 18px;
116 + font-weight: bold;
117 + color: #000;
118 + background-color: #E6DB00;
119 + padding: 10px;
120 + border-radius: 5px;
121 + margin-bottom: 15px;
122 +}
123 +
124 +/* Stylizacja tabeli – nagłówki i komórki */
125 +#netsensai-shield-plugin .form-table th {
126 + color: #ffffff;
127 + font-size: 16px;
128 +}
129 +
130 +#netsensai-shield-plugin .form-table td {
131 + color: #ffffff;
132 + font-size: 14px;
133 +}
134 +
135 +/* Stała odległość między suwakiem a polem tekstowym */
136 +.change-url-container label.switch,
137 +.disable-admin-container label.switch {
138 + margin-right: 20px;
139 +}
140 +
141 +/* Stylizacja przycisku "Zapisz zmiany" */
142 +#netsensai-shield-plugin #submit.button.button-primary {
143 + background-color: #E6DB00;
144 + border-color: #E6DB00;
145 + color: black;
146 + font-size: 14px;
147 + font-weight: bold;
148 + padding: 10px 16px;
149 + border-radius: 5px;
150 + transition: background-color 0.3s ease;
151 +}
152 +
153 +#netsensai-shield-plugin #submit.button.button-primary:hover {
154 + background-color: #c4b200;
155 + border-color: #c4b200;
156 + color: black;
157 +}
158 +
159 +/* Keep the settings actions together inside the plugin panel. */
160 +#netsensai-shield-plugin .ns-shield-settings-actions {
161 + display: flex;
162 + align-items: center;
163 + justify-content: space-between;
164 + gap: 16px;
165 + width: 100%;
166 + margin-top: 16px;
167 +}
168 +
169 +#netsensai-shield-plugin .ns-shield-settings-actions #submit,
170 +#netsensai-shield-plugin .ns-shield-settings-actions #ns-shield-current-access-guide .button {
171 + box-sizing: border-box;
172 + min-height: 40px;
173 + padding: 10px 16px;
174 + border: 1px solid #e6db00;
175 + border-radius: 5px;
176 + background: #e6db00;
177 + color: #081a33;
178 + font-weight: 700;
179 + line-height: 18px;
180 +}
181 +
182 +#netsensai-shield-plugin .ns-shield-settings-actions #ns-shield-current-access-guide .button:hover,
183 +#netsensai-shield-plugin .ns-shield-settings-actions #ns-shield-current-access-guide .button:focus {
184 + border-color: #fff36a;
185 + background: #fff36a;
186 + color: #081a33;
187 +}
188 +
189 +#netsensai-shield-plugin .ns-shield-settings-actions #submit:focus,
190 +#netsensai-shield-plugin .ns-shield-settings-actions #ns-shield-current-access-guide .button:focus {
191 + outline: 2px solid #081a33;
192 + outline-offset: 2px;
193 +}
194 +
195 +@media screen and (max-width: 782px) {
196 + #netsensai-shield-plugin .ns-shield-settings-actions {
197 + flex-wrap: wrap;
198 + }
199 +}
200 +/* Klasy dla popupu */
201 +.ns-popup-logo-container {
202 + text-align: center;
203 + margin-bottom: 5px; /* Zmniejszony odstęp między logo a tekstem */
204 +}
205 +
206 +.ns-popup-logo {
207 + max-width: 150px;
208 + display: block;
209 + margin: 0 auto 5px; /* Zmniejszony margines dolny */
210 +}
211 +
212 +.ns-popup-text {
213 + color: #000;
214 + font-size: 1.5em; /* Powiększony rozmiar czcionki */
215 + line-height: 1.5;
216 + text-align: center;
217 +}
218 +
219 +.ns-popup-text p {
220 + margin-bottom: 5px;
221 +}
222 +
223 +.ns-popup-button-container {
224 + text-align: center;
225 + margin-top: 10px;
226 +}
227 +
228 +.ns-modal-ok-button {
229 + background-color: #E6DB00;
230 + border: none;
231 + color: #000;
232 + font-size: 1.2em;
233 + padding: 10px 20px;
234 + border-radius: 5px;
235 + cursor: pointer;
236 + transition: background-color 0.3s;
237 +}
238 +
239 +.ns-modal-ok-button:hover {
240 + background-color: #c4b200;
241 +}