12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- /* ------------------------------------------------------------------------------
- *
- * # Custom template mixins
- *
- * All custom mixins are prefixed with "ll-" to avoid conflicts
- *
- * ---------------------------------------------------------------------------- */
- // Content
- // ------------------------------
- // Font smoothing
- @mixin ll-font-smoothing() {
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- //
- // Colors (for color system)
- //
- // For .bg-* classes
- @mixin ll-background-variant($color) {
- background-color: $color;
- }
- // For .text-* classes
- @mixin ll-text-color-variant($color) {
- color: $color;
- // Darken link color on hover
- &[href] {
- @include hover-focus {
- color: darken($color, 7.5%);
- }
- }
- }
- // For .border-* classes
- @mixin ll-border-color-variant($color) {
- border-color: $color;
- }
- // For .border-top-* classes
- @mixin ll-border-top-color-variant($color) {
- border-top-color: $color;
- }
- // For .border-bottom-* classes
- @mixin ll-border-bottom-color-variant($color) {
- border-bottom-color: $color;
- }
- // For .border-left-* classes
- @mixin ll-border-left-color-variant($color) {
- border-left-color: $color;
- }
- // For .border-right-* classes
- @mixin ll-border-right-color-variant($color) {
- border-right-color: $color;
- }
|