Less: Add uk-text-small

This commit is contained in:
Konstantinos Triantafyllou 2022-06-17 14:39:21 +03:00
parent 69817f8b1f
commit b0d18ef30c
6 changed files with 20 additions and 3 deletions

View File

@ -1,5 +1,5 @@
@button-font-size: @global-small-font-size;
@button-small-font-size: @global-small-font-size - 2px;
@button-small-font-size: @global-xsmall-font-size;
@button-large-font-size: @global-font-size;
@button-font-weight: 700;
@button-border-width: @global-border-width;

View File

@ -1,3 +1,4 @@
@dropdown-z-index: @global-z-index - 19;
@dropdown-min-width: 200px;
@dropdown-padding: 5px 0;
@dropdown-background: @global-background;

View File

@ -3,7 +3,7 @@
@label-border-width: @global-border-width;
@label-border-radius: 500px;
@label-color: @global-color;
@label-font-size: @global-small-font-size - 2px;
@label-font-size: @global-xsmall-font-size;
@label-font-weight: 400;
@label-line-height: 15px;
@label-padding-horizontal: 20px;

View File

@ -1,6 +1,7 @@
@navbar-background: @global-inverse-color;
@navbar-background-image: none;
@navbar-box-shadow: @global-default-shadow;
@navbar-z-index: @global-z-index - 10;
@navbar-nav-item-font-size: @global-small-font-size;
@navbar-nav-item-font-weight: 600;
@ -53,6 +54,8 @@
background-image: @navbar-background-image;
background-size: cover;
box-shadow: @navbar-box-shadow;
position: relative;
z-index: @navbar-z-index;
& .uk-logo {
& > img {

View File

@ -7,7 +7,7 @@
@offcanvar-switcher-background: @global-background;
@offcanvas-count-size: 20px;
@offcanvas-count-font-size: @global-small-font-size - 2px;
@offcanvas-count-font-size: @global-xsmall-font-size;
@offcanvas-count-padding: 1px;
@offcanvas-count-border-radius: 500px;
@offcanvas-count-background: @global-secondary-background;

View File

@ -1,3 +1,6 @@
@text-xsmall-font-size: @global-xsmall-font-size;
@text-xsmall-line-height: 1.5;
/* Meta */
@text-meta-font-size: inherit;
@text-meta-line-height: inherit;
@ -11,5 +14,15 @@
background-image: @text-background-gradient;
}
.hook-text-misc() {
.uk-text-xsmall {
font-size: @text-xsmall-font-size;
line-height: @text-xsmall-line-height;
.hook-text-xsmall();
}
}
.hook-text-xsmall() {};