fix(all): improve text customization

This commit is contained in:
Manu Mtz.-Almeida
2018-08-10 00:35:59 +02:00
parent 4ec038d507
commit 6e3e07bc8b
11 changed files with 44 additions and 76 deletions

View File

@ -18,6 +18,13 @@
color: #{current-color(contrast)};
font-size: 14px;
text-align: center;
text-overflow: ellipsis;
text-transform: none;
white-space: nowrap;
font-kerning: none;
}
@ -26,6 +33,7 @@
}
.fab-button-native {
@include text-inherit();
@include border-radius(50%);
@include margin(var(--padding-top), var(--padding-end), var(--padding-bottom), var(--padding-start));
@ -45,25 +53,14 @@
background: var(--background);
background-clip: padding-box;
color: inherit;
font-size: inherit;
font-weight: inherit;
line-height: var(--size);
text-align: center;
text-overflow: ellipsis;
text-transform: none;
white-space: nowrap;
box-shadow: var(--box-shadow);
contain: strict;
cursor: pointer;
overflow: hidden;
z-index: 0;
font-kerning: none;
appearance: none;
}
@ -86,8 +83,6 @@
flex-flow: row nowrap;
flex-shrink: 0;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
height: 100%;