SPR-843: Fontello Icons umstellen auf Material Design Icons (font-size, padding)
This commit is contained in:
parent
9e3ba4a7f8
commit
ff975f3577
4 changed files with 222 additions and 114 deletions
|
@ -60,16 +60,36 @@
|
|||
|
||||
> bdi:first-of-type {
|
||||
.fontello();
|
||||
.icon-user();
|
||||
.icon-user-circle();
|
||||
|
||||
position: relative;
|
||||
|
||||
@media @screen_min-md {
|
||||
padding-left: 22px;
|
||||
}
|
||||
|
||||
@media @screen_max-md {
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
&::before {
|
||||
float: left;
|
||||
background: @color-nav;
|
||||
border: 4px solid @color-nav;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
font-size: @font-size-small;
|
||||
margin: -2px 6px -2px 0;
|
||||
position: absolute;
|
||||
left: -2px;
|
||||
font-size: 1.4rem;
|
||||
color: @color-nav;
|
||||
margin: 0;
|
||||
|
||||
@media @screen_min-xlg {
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
@media @screen_max-xlg {
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
@media @screen_max-md {
|
||||
top: -2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // user
|
||||
|
@ -92,6 +112,8 @@
|
|||
.prefix {
|
||||
.btn-prefix();
|
||||
.icon-clipboard();
|
||||
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
} // user-task
|
||||
} // li
|
||||
|
@ -124,7 +146,7 @@
|
|||
box-sizing: border-box;
|
||||
font-size: @font-size-default + (@font-scale-factor * 4);
|
||||
cursor: pointer;
|
||||
margin: .2em 0 0;
|
||||
margin: .15em 0 0;
|
||||
}
|
||||
|
||||
/* icon register new user */
|
||||
|
@ -145,10 +167,6 @@
|
|||
/* icon admin */
|
||||
&.admin {
|
||||
.icon-cog();
|
||||
|
||||
&::before {
|
||||
margin-top: .18rem;
|
||||
}
|
||||
}
|
||||
} // a
|
||||
} // ul
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue