Skip to content

Commit aaadd63

Browse files
committed
fix: style per tooltip
1 parent 56c31d5 commit aaadd63

1 file changed

Lines changed: 127 additions & 4 deletions

File tree

assets/src/css/style.css

Lines changed: 127 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,129 @@ span.form-control {
352352
font-size: 11px;
353353
}
354354

355+
/* Stili per i tooltip con testo troncato */
356+
.shorten-wrapper, .request-wrapper {
357+
position: relative;
358+
display: inline-block;
359+
width: 100%;
360+
}
361+
362+
.shorten-full, .request-full {
363+
word-wrap: break-word;
364+
white-space: normal;
365+
max-width: 100%;
366+
line-height: 1.5;
367+
margin-bottom: 10px;
368+
}
369+
370+
/* Stile per il tooltip */
371+
.tooltipster-shadow {
372+
border-radius: 4px !important;
373+
box-shadow: 0 3px 10px rgba(0,0,0,0.2) !important;
374+
}
375+
376+
.tooltipster-shadow .tooltipster-content {
377+
font-family: inherit !important;
378+
padding: 8px !important;
379+
width: 400px !important;
380+
}
381+
382+
.tooltipster-base {
383+
max-width: 400px !important;
384+
width: 400px !important;
385+
}
386+
387+
.tooltip-header {
388+
position: relative;
389+
padding: 8px;
390+
background-color: #3c8dbc;
391+
color: white;
392+
border-top-left-radius: 3px;
393+
border-top-right-radius: 3px;
394+
margin: -8px -8px 8px -8px;
395+
}
396+
397+
.tooltip-header-title {
398+
font-weight: bold;
399+
font-size: 14px;
400+
}
401+
402+
.tooltip-close-button {
403+
position: absolute;
404+
top: 8px;
405+
right: 8px;
406+
cursor: pointer;
407+
background-color: rgba(255,255,255,0.2);
408+
color: white;
409+
border-radius: 50%;
410+
width: 22px;
411+
height: 22px;
412+
text-align: center;
413+
line-height: 22px;
414+
transition: background-color 0.3s;
415+
}
416+
417+
.tooltip-close-button:hover {
418+
background-color: rgba(255,255,255,0.4) !important;
419+
}
420+
421+
/* Stili per le informazioni nel tooltip */
422+
.tooltip-info-section {
423+
margin-bottom: 15px;
424+
border-bottom: 1px solid #eee;
425+
padding-bottom: 10px;
426+
}
427+
428+
.tooltip-info-section-noborder {
429+
border-bottom: none;
430+
margin-bottom: 0;
431+
padding-bottom: 0;
432+
}
433+
434+
.tooltip-info-row {
435+
margin-bottom: 5px;
436+
display: flex;
437+
align-items: flex-start;
438+
}
439+
440+
.tooltip-info-label {
441+
font-weight: bold;
442+
margin-right: 5px;
443+
min-width: 120px;
444+
color: #3c8dbc;
445+
}
446+
447+
.tooltip-info-value {
448+
flex: 1;
449+
}
450+
451+
.shorten-toggle, .request-toggle {
452+
display: inline-block;
453+
margin: 5px 0;
454+
color: #fff;
455+
background-color: #3c8dbc;
456+
padding: 4px 10px;
457+
border-radius: 3px;
458+
font-weight: bold;
459+
text-decoration: none;
460+
z-index: 9999;
461+
position: relative;
462+
font-size: 12px;
463+
border: none;
464+
cursor: pointer;
465+
width: 100%;
466+
text-align: center;
467+
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
468+
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
469+
}
470+
471+
.shorten-toggle:hover, .request-toggle:hover {
472+
background-color: #367fa9;
473+
color: #fff;
474+
text-decoration: none;
475+
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
476+
}
477+
355478
.nav-tabs-custom>.nav-tabs.pull-right>li>a.back-btn {
356479
font-size: 12px;
357480
color: #FFFFFF;
@@ -1056,11 +1179,11 @@ kbd{
10561179
.read-more-target {
10571180
display: none;
10581181
}
1059-
1182+
10601183
.read-more-trigger {
10611184
cursor: pointer;
10621185
}
1063-
1186+
10641187
.read-more-target:target {
10651188
display: block;
10661189
}
@@ -1708,7 +1831,7 @@ body:not(.sidebar-collapse) .sidebar .nav-treeview .nav-treeview .nav-link {
17081831
.extra-buttons{
17091832
padding-top: 0;
17101833
float: right;
1711-
1834+
17121835
}
17131836
}
17141837

@@ -1792,7 +1915,7 @@ body:not(.sidebar-collapse) .sidebar .nav-treeview .nav-treeview .nav-link {
17921915

17931916
.login-page{
17941917
background: #ddd;
1795-
}
1918+
}
17961919
}
17971920

17981921

0 commit comments

Comments
 (0)