SPR-843: Fontello Icons uniform size

This commit is contained in:
Silke Pisulla 2017-03-03 10:58:14 +01:00
commit 8ed4f142b7
5 changed files with 7 additions and 21 deletions

View file

@ -95,7 +95,7 @@
> a { > a {
display: block; display: block;
width: auto; width: auto;
min-height: 2em; min-height: @toggle-size;
border: 1px solid @color-border; border: 1px solid @color-border;
border-radius: @border-radius; border-radius: @border-radius;
color: @color-nav; color: @color-nav;
@ -107,7 +107,6 @@
.btn-prefix (); .btn-prefix ();
.icon-clipboard(); .icon-clipboard();
min-height: 20px;
font-size: 1.2rem; font-size: 1.2rem;
line-height: 1; line-height: 1;
} }

View file

@ -28,7 +28,7 @@
> a { > a {
display: block; display: block;
width: auto; width: auto;
min-height: 2em; min-height: @toggle-size;
border: 1px solid @color-border; border: 1px solid @color-border;
border-radius: @border-radius; border-radius: @border-radius;
color: @color-nav; color: @color-nav;

View file

@ -54,9 +54,11 @@
@very-small-spacing: .2rem; @very-small-spacing: .2rem;
@grid: @margin-small; @grid: @margin-small;
@toggle-size: 1.75rem;
@transition: ease-out .30s; @transition: ease-out .30s;
/* + + + for programmers customizing + + + */ /* + + + for programmers customizing + + + */
@fix_border-radius: 3px; @fix_border-radius: 3px;
@toggle-showsidebar_width: 3.07rem; // shown sidebar after toggle @toggle-showsidebar_width: 3.07rem; // shown sidebar after toggle
@ -92,6 +94,7 @@
@font-size-head2: @font-size-default + (@font-scale-factor * 4); @font-size-head2: @font-size-default + (@font-scale-factor * 4);
@font-size-head1: @font-size-default + (@font-scale-factor * 5); @font-size-head1: @font-size-default + (@font-scale-factor * 5);
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* breakpoints */ /* breakpoints */

View file

@ -142,7 +142,7 @@
/* + + + + + small icon-buttons (breadcrumb, page-header) + + + + + */ /* + + + + + small icon-buttons (breadcrumb, page-header) + + + + + */
.btn-usertools-wrapper(@elem:2em) { .btn-usertools-wrapper(@elem:@toggle-size) {
display: inline-block; display: inline-block;
min-height: @elem; min-height: @elem;
min-width: @elem; min-width: @elem;
@ -194,26 +194,11 @@
margin-top: .3rem; margin-top: .3rem;
} }
.btn-default-size() {
height: 1rem;
width: 1rem;
min-height: 1.2em;
min-width: 1.4em;
}
.btn-default-height() {
height: 1rem;
min-height: 1.2em;
min-width: 1.4em;
}
.hide-text-show-before(){ .hide-text-show-before(){
display: inline-block; display: inline-block;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-indent: -9999px; text-indent: -9999px;
.btn-default-size();
&::before{ &::before{
text-indent: 0; text-indent: 0;
@ -226,7 +211,6 @@
} }
} }
.hide-text-show-after() { .hide-text-show-after() {
display: inline-block; display: inline-block;
overflow: hidden; overflow: hidden;

View file

@ -42,7 +42,7 @@
select { select {
float: left; float: left;
width: 50%; width: 50%;
//min-height: 2em; //min-height: @toggle-size;
text-align: left; text-align: left;
padding: .1em .2em; padding: .1em .2em;
} }