refactor: move custom icon styles to proper stylesheet file and remove redundant whitespace

This commit is contained in:
Sammy Ndabo 2025-10-14 20:51:54 +03:00
parent 9b57f0834a
commit cc8fa54cdb
2 changed files with 23 additions and 22 deletions

View File

@ -1,13 +0,0 @@
/* Shared styles for all custom icons */
.custom-icon svg {
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 1em !important;
height: 1em !important;
display: inline-block !important;
}
.custom-icon svg path {
display: none !important;
}

View File

@ -272,7 +272,7 @@ body {
padding-top: 5px;
cursor: pointer;
position: absolute;
right: 0;
right: 0;
margin-right: 10px;
}
@ -348,7 +348,7 @@ body {
-ms-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
-webkit-box-sizing:border-box;
-webkit-box-sizing:border-box;
}
.night #column_l {
@ -562,7 +562,7 @@ body {
padding: 3px;
margin-right: 3px;
cursor: pointer;
background-color: white;
background-color: white;
}
#id_dialogtitle {
@ -761,7 +761,7 @@ body {
margin-left: 5px;
}
/* Example if <table> is relplaced with <div><p> then image can be defined in css
/* Example if <table> is relplaced with <div><p> then image can be defined in css
#NoMeshesPanel {
background: url(../images/info.png) no-repeat 23px 20px;
height: 48px;
@ -2075,7 +2075,7 @@ nav .lbbuttonsel2 {
#d2notifyMsg,
#d2devNotes,
#d2devEvent,
#d2runcmd,
#d2runcmd,
#d2devMessage,
#d2smsText,
#d2emailSubject,
@ -2657,7 +2657,7 @@ nav .lbbuttonsel2 {
.deskToolsBar:hover {
background-color: #EFE8B6;
}
.night .deskToolsBar {
color: #ddd;
}
@ -3291,7 +3291,7 @@ nav .lbbuttonsel2 {
.sidebar .nav-link {
font-size: xx-large;
}
.card:hover, #p2AccountImage:hover, #p2canvas:hover {
background: #f3f5f7 !important;
}
@ -3326,6 +3326,20 @@ nav .lbbuttonsel2 {
border: none;
}
/* Shared styles for all custom icons */
.custom-icon svg {
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 1em !important;
height: 1em !important;
display: inline-block !important;
}
.custom-icon svg path {
display: none !important;
}
/* hide .sidebar when on mobile */
@media (max-width: 768px) {
#page_leftbar {
@ -3397,11 +3411,11 @@ nav .lbbuttonsel2 {
/* .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
display: inline;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
display: inline-flex;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-search {
display: inline !important;
} */