PluginProbe
NETSENSAI Shield / 1.4
NETSENSAI Shield v1.4
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
netsensai-shield / assets / style.css

style.css in NETSENSAI Shield 1.4, at assets/style.css

201 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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ł�
80 cznikiem a polem tekstowym */
81 position: relative; /* Kluczowe dla pozycjonowania tooltipa */
82 }
83
84 /* Ustawienie stałej szerokości dla pól tekstowych w kontenerach */
85 .change-url-container input[type="text"],
86 .disable-admin-container input[type="text"] {
87 width: 250px;
88 }
89
90 /* Pozycjonowanie tooltipów w tabelach */
91 td label.switch {
92 position: relative;
93 }
94
95 td label.switch + .tooltip {
96 left: 70px;
97 top: 5px;
98 }
99
100 /* Sekcja ustawień wtyczki – kontener */
101 #netsensai-shield-plugin {
102 background-color: #333333;
103 padding: 20px;
104 border-radius: 8px;
105 }
106
107 /* Nagłówek sekcji ustawień */
108 #netsensai-shield-plugin h2 {
109 color: #E6DB00;
110 font-size: 26px;
111 margin-bottom: 40px;
112 }
113
114 /* Nagłówki poziomów bezpieczeństwa */
115 #netsensai-shield-plugin .level-header {
116 font-size: 18px;
117 font-weight: bold;
118 color: #000;
119 background-color: #E6DB00;
120 padding: 10px;
121 border-radius: 5px;
122 margin-bottom: 15px;
123 }
124
125 /* Stylizacja tabeli – nagłówki i komórki */
126 #netsensai-shield-plugin .form-table th {
127 color: #ffffff;
128 font-size: 16px;
129 }
130
131 #netsensai-shield-plugin .form-table td {
132 color: #ffffff;
133 font-size: 14px;
134 }
135
136 /* Stała odległość między suwakiem a polem tekstowym */
137 .change-url-container label.switch,
138 .disable-admin-container label.switch {
139 margin-right: 20px;
140 }
141
142 /* Stylizacja przycisku "Zapisz zmiany" */
143 #submit.button.button-primary {
144 background-color: #E6DB00;
145 border-color: #E6DB00;
146 color: black;
147 font-size: 14px;
148 font-weight: bold;
149 padding: 10px 16px;
150 border-radius: 5px;
151 transition: background-color 0.3s ease;
152 }
153
154 #submit.button.button-primary:hover {
155 background-color: #c4b200;
156 border-color: #c4b200;
157 color: black;
158 }
159 /* Klasy dla popupu */
160 .ns-popup-logo-container {
161 text-align: center;
162 margin-bottom: 5px; /* Zmniejszony odstęp między logo a tekstem */
163 }
164
165 .ns-popup-logo {
166 max-width: 150px;
167 display: block;
168 margin: 0 auto 5px; /* Zmniejszony margines dolny */
169 }
170
171 .ns-popup-text {
172 color: #000;
173 font-size: 1.5em; /* Powiększony rozmiar czcionki */
174 line-height: 1.5;
175 text-align: center;
176 }
177
178 .ns-popup-text p {
179 margin-bottom: 5px;
180 }
181
182 .ns-popup-button-container {
183 text-align: center;
184 margin-top: 10px;
185 }
186
187 .ns-modal-ok-button {
188 background-color: #E6DB00;
189 border: none;
190 color: #000;
191 font-size: 1.2em;
192 padding: 10px 20px;
193 border-radius: 5px;
194 cursor: pointer;
195 transition: background-color 0.3s;
196 }
197
198 .ns-modal-ok-button:hover {
199 background-color: #c4b200;
200 }
201