-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved custom-style buttons and forms templates
- The custom-style buttons and forms files now have the custom properties defined inside the .btn and .form-control classes (easier to understand for early framework adopters) - New radius utility classes - Added custom-style/_util.scss file with example of how to create a custom utility class - Added min-width: 0; to grid items to prevent a potential flexbox bug caused by content overflow - .icon--{size} classes now update width+height of the icons instead of font-size
- Loading branch information
1 parent
7862ddd
commit 70fdb30
Showing
13 changed files
with
106 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ | |
> * { | ||
flex-basis: 100%; | ||
max-width: 100%; | ||
min-width: 0; | ||
} | ||
|
||
@supports (--css: variables) { | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// -------------------------------- | ||
|
||
// How to add custom utility classes | ||
|
||
// -------------------------------- | ||
|
||
// 👇 your custom utility class | ||
// .my-util-class { | ||
// property: value; | ||
// } | ||
|
||
// 👇 (optional) create responsive variations - edit only [my-util-class, property, value] | ||
// @each $breakpoint, $value in $breakpoints { | ||
// @include breakpoint(#{$breakpoint}) { | ||
// .my-util-class\@#{$breakpoint} { | ||
// property: value; | ||
// } | ||
// } | ||
// } |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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