Skip to content

Commit f75374c

Browse files
committed
refactor: rimozione css reprecato
1 parent 1e9f01e commit f75374c

1 file changed

Lines changed: 4 additions & 62 deletions

File tree

modules/aggiornamenti/edit.php

Lines changed: 4 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -29,46 +29,17 @@
2929
echo '<div class="module-aggiornamenti">
3030
3131
<style>
32-
.query-container {
33-
position: relative;
34-
}
35-
36-
.query-toggle {
37-
font-size: 11px;
38-
padding: 2px 8px;
39-
border-radius: 3px;
40-
transition: all 0.2s ease;
41-
}
42-
43-
.query-toggle:hover {
44-
background-color: #007bff;
45-
color: white;
46-
border-color: #007bff;
47-
}
48-
49-
.query-toggle i {
50-
font-size: 10px;
51-
margin-right: 3px;
52-
}
53-
54-
.query-toggle-container {
55-
text-align: left;
56-
}
57-
58-
.query-cell {
59-
max-width: 300px;
60-
word-wrap: break-word;
61-
}
62-
63-
.query-preview code,
64-
.query-full code {
32+
.query-preview,
33+
.query-full {
6534
font-size: 11px;
6635
line-height: 1.3;
6736
background-color: #f8f9fa;
6837
border: 1px solid #e9ecef;
6938
border-radius: 3px;
7039
padding: 8px;
7140
display: block;
41+
white-space: pre-wrap;
42+
word-break: break-all;
7243
}
7344
7445
.btn-xs {
@@ -105,35 +76,6 @@
10576
.table th {
10677
padding: 10px 8px !important;
10778
}
108-
109-
/* Stili per i link ai moduli */
110-
td a {
111-
text-decoration: none;
112-
color: inherit;
113-
}
114-
115-
td a:hover {
116-
text-decoration: none;
117-
color: #007bff;
118-
}
119-
120-
td a:hover strong {
121-
color: #007bff;
122-
}
123-
124-
td a:hover code {
125-
color: #007bff;
126-
background-color: #e3f2fd;
127-
}
128-
129-
.fa-external-link {
130-
opacity: 0.6;
131-
transition: opacity 0.2s ease;
132-
}
133-
134-
td a:hover .fa-external-link {
135-
opacity: 1;
136-
}
13779
</style>';
13880

13981
if (!function_exists('normalizeForDiff')) {

0 commit comments

Comments
 (0)