-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new seperate grid only css * new buttons only css * Only update cms styles under umb-row-inner * accordio & typography grid styles Co-authored-by: Nathan Rogan <nathan.rogan@wmca.org.uk>
- Loading branch information
1 parent
47b1bf0
commit 95f44b4
Showing
5 changed files
with
88 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Vars | ||
@import "https://fonts.googleapis.com/css?family=DM+Sans:700&display=swap"; // Google Fonts | ||
@import "../vars"; | ||
|
||
// Mixins | ||
@import "../mixins"; | ||
|
||
|
||
// Accorddion Styles | ||
.umb-grid { | ||
@import "../../../components/accordion/accordion"; | ||
} |
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,12 @@ | ||
// Vars | ||
@import "https://fonts.googleapis.com/css?family=DM+Sans:700&display=swap"; // Google Fonts | ||
@import "../vars"; | ||
|
||
// Mixins | ||
@import "../mixins"; | ||
|
||
|
||
// Button Styles | ||
.umb-grid { | ||
@import "../../../components/button/button"; // Import all pattern styles | ||
} |
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,13 @@ | ||
// Vars | ||
@import "https://fonts.googleapis.com/css?family=DM+Sans:700&display=swap"; // Google Fonts | ||
@import "../vars"; | ||
|
||
// Mixins | ||
@import "../mixins"; | ||
|
||
|
||
// Typography Styles | ||
#umb-grid { | ||
@import "../typography"; | ||
} | ||
|
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,46 @@ | ||
@import "../vars"; | ||
|
||
// When setting the primary font stack, apply it to the Pure grid units along | ||
// with `html`, `button`, `input`, `select`, and `textarea`. Pure Grids use | ||
// specific font stacks to ensure the greatest OS/browser compatibility. | ||
|
||
.umb-grid { | ||
button, | ||
input, | ||
select, | ||
textarea, | ||
.wmcads-grid [class*="wmcads-col-"] { | ||
font-family: $x-font-family; | ||
-webkit-font-smoothing: antialiased; | ||
} | ||
|
||
.wmcads-grid { | ||
display: flex; | ||
width: 100%; | ||
text-rendering: optimizespeed; | ||
-webkit-box-orient: horizontal; | ||
-webkit-box-direction: normal; | ||
-webkit-flex-flow: row wrap; | ||
-ms-flex-flow: row wrap; | ||
flex-flow: row wrap; | ||
-webkit-align-content: flex-start; | ||
-ms-flex-line-pack: start; | ||
align-content: flex-start; | ||
|
||
[class*="wmcads-col-"] { | ||
display: inline-block; | ||
zoom: 1; | ||
letter-spacing: normal; | ||
word-spacing: normal; | ||
text-rendering: auto; | ||
vertical-align: top; | ||
} | ||
} | ||
|
||
// Import grid components | ||
@import "grid-cols"; | ||
@import "grid-spacing"; | ||
|
||
// Import utilities | ||
@import "../utilities"; | ||
} |