Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions css/.global-stats.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
## Design
`v0.2.19` - *generated on Mar 27 2017*
`v0.2.20-prerelease` - *generated on Apr 14 2017*
### Stats
#### css/global.min.css
|Stat|Metric|
|---|---|
|Total Stylesheets|1|
|Total Stylesheet Size|32739|
|Total Stylesheet Size|32718|
|Total Rules|496|
|Total Selectors|700|
|Total Identifiers|1483|
|Total Declarations|973|
|Total Declarations|972|
|Selectors Per Rule|1.4112903225806452|
|Identifiers Per Selector|2.1185714285714288|
|Specificity Per Selector|16.952857142857145|
Expand Down
4 changes: 2 additions & 2 deletions css/.mx-stats.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## Design
`v0.2.19` - *generated on Mar 27 2017*
`v0.2.20-prerelease` - *generated on Apr 14 2017*
### Stats
#### css/mx.min.css
|Stat|Metric|
|---|---|
|Total Stylesheets|1|
|Total Stylesheet Size|28310|
|Total Stylesheet Size|28338|
|Total Rules|365|
|Total Selectors|590|
|Total Identifiers|1186|
Expand Down
3 changes: 1 addition & 2 deletions css/global.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/global.min.css

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions css/mx.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/mx.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "daxko.design",
"version": "0.2.19",
"version": "0.2.20-prerelease",
"description": "",
"author": "Daxko",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion scss/mx.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
@import "mx/tiles";
@import "mx/calendar";
@import "mx/cards";
@import "mx/promotions";
@import "mx/mobile-banners";
18 changes: 9 additions & 9 deletions scss/mx/_promotions.scss → scss/mx/_mobile-banners.scss
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
.promotion {
.mobile-banner {
position: relative;
}

.promotion--tagline {
.mobile-banner--tagline {
position: absolute;
width: 100%;
bottom: 0;
}

.promotion--color-block {
.mobile-banner--color-block {
top: 50%;
bottom: auto;
text-align: center;
transform: translateY(-50%);
color: transparent;
}

.promotion--tagline:before {
.mobile-banner--tagline:before {
content: "";
position: absolute;
top: 0;
Expand All @@ -28,21 +28,21 @@
opacity: .8;
}

.promotion--image {
.mobile-banner--image {
display: block;
width: 100%;
width: 100%
}

.promotion--text {
.mobile-banner--text {
padding: .5em;
position: relative;
z-index: 2;
color: #fff;
}

.promotion--pending {
.mobile-banner--pending {
display: block;
width: 100%;
padding: 0;
padding-bottom: (2/3) * 100%; // match the same aspect ratio of the promotional images
padding-bottom: (2/3) * 100%; // match the same aspect ratio of the mobile banner images
}