Created
June 14, 2019 18:19
-
-
Save davidlagace/4157f6a6f92103515f7914de0afb817a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ***************************************************************************** | |
| * | |
| * Utilities | |
| * | |
| * ***************************************************************************** */ | |
| // Paddings | |
| // -------------------------------------------------------- | |
| .pl-card { | |
| padding-left: $card-body-padding-x; | |
| } | |
| .pl-responsive { | |
| @include media-breakpoint-down(md){ | |
| padding-left: $responsive-padding; | |
| } | |
| } | |
| .pr-responsive { | |
| @include media-breakpoint-down(md){ | |
| padding-right: $responsive-padding; | |
| } | |
| } | |
| .pr-card { | |
| padding-right: $card-body-padding-x; | |
| } | |
| .p-input { | |
| padding: $input-padding-y $input-padding-x; | |
| } | |
| .pt-section { | |
| @include media-scale(padding-top, 2rem, 3rem, 4rem); | |
| } | |
| .pb-section { | |
| @include media-scale(padding-bottom, 2rem, 3rem, 4rem); | |
| } | |
| .py-section { | |
| @extend .pt-section; | |
| @extend .pb-section; | |
| } | |
| .pt-hero { | |
| @include media-scale(padding-top, 2rem, 2.5rem, 3rem); | |
| } | |
| .pb-hero { | |
| @include media-scale(padding-bottom, 2rem, 2.5rem, 3rem); | |
| } | |
| .py-hero { | |
| @extend .pt-hero; | |
| @extend .pb-hero; | |
| } | |
| // Others | |
| // -------------------------------------------------------- | |
| .font-weight-medium { | |
| font-weight: 600 !important; | |
| } | |
| .font-italic { | |
| font-style: italic; | |
| } | |
| .text-underline { | |
| text-decoration: underline; | |
| } | |
| .text-strike { | |
| text-decoration: line-through; | |
| } | |
| .viewport-freeze{ | |
| width: 100vw; | |
| height: 100vh; | |
| overflow: hidden; | |
| } | |
| .border-rounded { | |
| border-radius: $border-radius; | |
| } | |
| .overflow-hidden{ | |
| overflow: hidden; | |
| } | |
| .list-reset { | |
| list-style-type: none; | |
| } | |
| .pointer-none { | |
| pointer-events: none!important; | |
| } | |
| .w-100--mobile-only { | |
| @include media-breakpoint-down(sm){ | |
| width: 100%; | |
| } | |
| } | |
| .text-transform-initial { | |
| text-transform: initial !important; | |
| } | |
| .mh-70-autoscroll { | |
| max-height: 70vh; | |
| overflow: auto; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment