| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426 |
- // SIZES
- // -----------------------------------------------------------------------------
- .text-xs {
- @include font-size( 10 );
- }
- .text-sm {
- @include font-size( 13 );
- }
- .text-md {
- @include font-size( 16 );
- }
- .text-lg {
- @include font-size( 19 );
- }
- .text-xl {
- @include font-size( 22 );
- }
- // STATES
- // -----------------------------------------------------------------------------
- .text-muted {
- color: $color-muted !important;
- }
- html.dark {
- .text-muted {
- color: darken( $dark-default-text, 20% ) !important;
- }
- }
- @each $color in $colors-list {
- .text-#{nth($color,1)} {
- color: #{nth($color,2)} !important;
- }
- }
- @each $color in $colors-list {
- .text-#{nth($color,1)}-inverse {
- color: #{nth($color,3)} !important;
- }
- }
- // WEIGHTS
- // -----------------------------------------------------------------------------
- /* weights */
- .text-light {
- font-weight: $font-weight-light;
- }
- .text-normal {
- font-weight: $font-weight-normal;
- }
- .text-semibold {
- font-weight: $font-weight-semibold;
- }
- .text-bold {
- font-weight: $font-weight-bold;
- }
- // TEXT OTHERS
- // -----------------------------------------------------------------------------
- .text-uppercase {
- text-transform: uppercase;
- }
- .text-lowercase {
- text-transform: lowercase;
- }
- .text-capitalize {
- text-transform: capitalize;
- }
- // BORDERS
- // -----------------------------------------------------------------------------
- .rounded {
- border-radius: $border-radius;
- }
- .b-thin {
- border-width: $border-thin;
- }
- .b-normal {
- border-width: $border-normal;
- }
- .b-thick {
- border-width: $border-thick;
- }
- // SPACEMENTS
- // -----------------------------------------------------------------------------
- /* Spacements */
- /* spacement top & bottom */
- .m-none {
- margin: 0 !important;
- }
- .m-auto {
- margin: 0 auto !important;
- }
- .m-xs {
- margin: $spacement-xs !important;
- }
- .m-sm {
- margin: $spacement-sm !important;
- }
- .m-md {
- margin: $spacement-md !important;
- }
- .m-lg {
- margin: $spacement-lg !important;
- }
- .m-xl {
- margin: $spacement-xl !important;
- }
- .m-xlg {
- margin: $spacement-xlg !important;
- }
- /* spacement top */
- .mt-none {
- margin-top: 0 !important;
- }
- .mt-xs {
- margin-top: $spacement-xs !important;
- }
- .mt-sm {
- margin-top: $spacement-sm !important;
- }
- .mt-md {
- margin-top: $spacement-md !important;
- }
- .mt-lg {
- margin-top: $spacement-lg !important;
- }
- .mt-xl {
- margin-top: $spacement-xl !important;
- }
- .mt-xlg {
- margin-top: $spacement-xlg !important;
- }
- /* spacement bottom */
- .mb-none {
- margin-bottom: 0 !important;
- }
- .mb-xs {
- margin-bottom: $spacement-xs !important;
- }
- .mb-sm {
- margin-bottom: $spacement-sm !important;
- }
- .mb-md {
- margin-bottom: $spacement-md !important;
- }
- .mb-lg {
- margin-bottom: $spacement-lg !important;
- }
- .mb-xl {
- margin-bottom: $spacement-xl !important;
- }
- .mb-xlg {
- margin-bottom: $spacement-xlg !important;
- }
- /* spacement left */
- .mr-none {
- margin-left: 0 !important;
- }
- .ml-xs {
- margin-left: $spacement-xs !important;
- }
- .ml-sm {
- margin-left: $spacement-sm !important;
- }
- .ml-md {
- margin-left: $spacement-md !important;
- }
- .ml-lg {
- margin-left: $spacement-lg !important;
- }
- .ml-xl {
- margin-left: $spacement-xl !important;
- }
- .ml-xlg {
- margin-left: $spacement-xlg !important;
- }
- /* spacement right */
- .mr-none {
- margin-right: 0 !important;
- }
- .mr-xs {
- margin-right: $spacement-xs !important;
- }
- .mr-sm {
- margin-right: $spacement-sm !important;
- }
- .mr-md {
- margin-right: $spacement-md !important;
- }
- .mr-lg {
- margin-right: $spacement-lg !important;
- }
- .mr-xl {
- margin-right: $spacement-xl !important;
- }
- .mr-xlg {
- margin-right: $spacement-xlg !important;
- }
- /* Spacement Padding */
- .p-none {
- padding: 0 !important;
- }
- .p-xs {
- padding: $spacement-xs !important;
- }
- .p-sm {
- padding: $spacement-sm !important;
- }
- .p-md {
- padding: $spacement-md !important;
- }
- .p-lg {
- padding: $spacement-lg !important;
- }
- .p-xl {
- padding: $spacement-xl !important;
- }
- .p-xlg {
- padding: $spacement-xlg !important;
- }
- /* spacement top */
- .pt-none {
- padding-top: 0 !important;
- }
- .pt-xs {
- padding-top: $spacement-xs !important;
- }
- .pt-sm {
- padding-top: $spacement-sm !important;
- }
- .pt-md {
- padding-top: $spacement-md !important;
- }
- .pt-lg {
- padding-top: $spacement-lg !important;
- }
- .pt-xl {
- padding-top: $spacement-xl !important;
- }
- .pt-xlg {
- padding-top: $spacement-xlg !important;
- }
- /* spacement bottom */
- .pb-none {
- padding-bottom: 0 !important;
- }
- .pb-xs {
- padding-bottom: $spacement-xs !important;
- }
- .pb-sm {
- padding-bottom: $spacement-sm !important;
- }
- .pb-md {
- padding-bottom: $spacement-md !important;
- }
- .pb-lg {
- padding-bottom: $spacement-lg !important;
- }
- .pb-xl {
- padding-bottom: $spacement-xl !important;
- }
- .pb-xlg {
- padding-bottom: $spacement-xlg !important;
- }
- /* spacement left */
- .pr-none {
- padding-left: 0 !important;
- }
- .pl-xs {
- padding-left: $spacement-xs !important;
- }
- .pl-sm {
- padding-left: $spacement-sm !important;
- }
- .pl-md {
- padding-left: $spacement-md !important;
- }
- .pl-lg {
- padding-left: $spacement-lg !important;
- }
- .pl-xl {
- padding-left: $spacement-xl !important;
- }
- .pl-xlg {
- padding-left: $spacement-xlg !important;
- }
- /* spacement right */
- .pr-none {
- padding-right: 0 !important;
- }
- .pr-xs {
- padding-right: $spacement-xs !important;
- }
- .pr-sm {
- padding-right: $spacement-sm !important;
- }
- .pr-md {
- padding-right: $spacement-md !important;
- }
- .pr-lg {
- padding-right: $spacement-lg !important;
- }
- .pr-xl {
- padding-right: $spacement-xl !important;
- }
- .pr-xlg {
- padding-right: $spacement-xlg !important;
- }
- // HELPERS
- // -----------------------------------------------------------------------------
- .ib {
- display: inline-block;
- vertical-align: top;
- }
- .va-middle {
- vertical-align: middle;
- }
- .ws-nowrap {
- white-space: nowrap;
- }
- .ws-normal {
- white-space: normal;
- }
- // BG STATES
- // -----------------------------------------------------------------------------
- .bg-default {
- background: $color-default;
- color: $color-default-inverse;
- }
- @each $color in $colors-list {
- .bg-#{nth($color,1)} {
- background: #{nth($color,2)};
- color: #{nth($color,3)};
- }
- }
|