tournai: use image files to dashboard icons (and add porte-doc) (#32623)
This commit is contained in:
parent
0f58bebf6f
commit
03ecb99833
|
@ -151,9 +151,7 @@ div.dashboard-title h1 {
|
|||
@extend %title;
|
||||
}
|
||||
|
||||
$dashboard_items: ((profil, "\e64c"), /* icon-user-1 */
|
||||
(demandes, "\e8c5"), /* icon-folder-11 */
|
||||
(paiements, "\e90b")); /* icon-credit-card-5 */
|
||||
$dashboard_items: profil, demandes, paiements, porte-documents;
|
||||
|
||||
#content div.dashboard-menu ul li {
|
||||
font-size: 15px;
|
||||
|
@ -164,13 +162,13 @@ $dashboard_items: ((profil, "\e64c"), /* icon-user-1 */
|
|||
color: $primary-color;
|
||||
}
|
||||
}
|
||||
@each $dashboard_class, $dashboard_icon in $dashboard_items {
|
||||
&.menu-#{$dashboard_class} a::before {
|
||||
font-size: 30px;
|
||||
font-family: Icons;
|
||||
content: $dashboard_icon;
|
||||
position: relative;
|
||||
top: 7px;
|
||||
@each $dashboard_class in $dashboard_items {
|
||||
&.menu-#{$dashboard_class} {
|
||||
background: url(assets/menu-#{$dashboard_class}.png) left center no-repeat;
|
||||
background-size: auto 100%;
|
||||
a {
|
||||
padding-left: 40px
|
||||
}
|
||||
}
|
||||
span {
|
||||
color: #2b2b2b;
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
Loading…
Reference in New Issue