mod-base 1.0.0 → 1.0.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/package.json +1 -1
  2. package/src/fonts/modstyle-icons/modicons-basic/read-me.txt +1 -0
  3. package/src/fonts/modstyle-icons/modicons-fill/read-me.txt +1 -0
  4. package/src/fonts/modstyle-icons/modicons-stroke/read-me.txt +1 -0
  5. package/src/fonts/modstyle-icons/modicons-stroke-md/read-me.txt +1 -0
  6. package/src/styles/base/_breakpoint-mixins.scss +14 -2
  7. package/src/styles/base/_colors.scss +19 -27
  8. package/src/styles/base/_flex.scss +4 -0
  9. package/src/fonts/modstyle-icons/modicons-basic/Read Me.txt +0 -7
  10. package/src/fonts/modstyle-icons/modicons-basic/demo-files/demo.css +0 -152
  11. package/src/fonts/modstyle-icons/modicons-basic/demo-files/demo.js +0 -30
  12. package/src/fonts/modstyle-icons/modicons-basic/demo.html +0 -346
  13. package/src/fonts/modstyle-icons/modicons-fill/Read Me.txt +0 -7
  14. package/src/fonts/modstyle-icons/modicons-fill/demo-files/demo.css +0 -152
  15. package/src/fonts/modstyle-icons/modicons-fill/demo-files/demo.js +0 -30
  16. package/src/fonts/modstyle-icons/modicons-fill/demo.html +0 -626
  17. package/src/fonts/modstyle-icons/modicons-stroke/Read Me.txt +0 -7
  18. package/src/fonts/modstyle-icons/modicons-stroke/demo-files/demo.css +0 -152
  19. package/src/fonts/modstyle-icons/modicons-stroke/demo-files/demo.js +0 -30
  20. package/src/fonts/modstyle-icons/modicons-stroke/demo.html +0 -990
  21. package/src/fonts/modstyle-icons/modicons-stroke-md/Read Me.txt +0 -7
  22. package/src/fonts/modstyle-icons/modicons-stroke-md/demo-files/demo.css +0 -152
  23. package/src/fonts/modstyle-icons/modicons-stroke-md/demo-files/demo.js +0 -30
  24. package/src/fonts/modstyle-icons/modicons-stroke-md/demo.html +0 -122
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.0",
3
+ "version": "1.0.2-beta.1",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -0,0 +1 @@
1
+ Instructions for Updating our Icon Fonts: https://quinstreet.atlassian.net/wiki/spaces/FEE/pages/7780499737/Mod+Style
@@ -0,0 +1 @@
1
+ Instructions for Updating our Icon Fonts: https://quinstreet.atlassian.net/wiki/spaces/FEE/pages/7780499737/Mod+Style
@@ -0,0 +1 @@
1
+ Instructions for Updating our Icon Fonts: https://quinstreet.atlassian.net/wiki/spaces/FEE/pages/7780499737/Mod+Style
@@ -0,0 +1 @@
1
+ Instructions for Updating our Icon Fonts: https://quinstreet.atlassian.net/wiki/spaces/FEE/pages/7780499737/Mod+Style
@@ -1,3 +1,15 @@
1
+ @mixin media-max-width($width) {
2
+ @media (max-width: $width) {
3
+ @content;
4
+ }
5
+ }
6
+
7
+ @mixin media-min-width($width) {
8
+ @media (min-width: $width) {
9
+ @content;
10
+ }
11
+ }
12
+
1
13
  // Mobile first breakpoint mixins
2
14
  @mixin breakpoint-sm {
3
15
  @include media-min-width(500px) {
@@ -18,12 +30,12 @@
18
30
  }
19
31
 
20
32
  @mixin breakpoint-xl {
21
- @include media-min-width(12000px) {
33
+ @include media-min-width(1200px) {
22
34
  @content;
23
35
  }
24
36
  }
25
37
 
26
- @mixin breakpoint-xxl {
38
+ @mixin breakpoint-2xl {
27
39
  @include media-min-width(1440px) {
28
40
  @content;
29
41
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  // Black & White
6
- $color-white: #FFF; // @body-bg
6
+ $color-white: #FFF;
7
7
  $color-black: #000;
8
8
 
9
9
  // Red
@@ -11,7 +11,7 @@ $color-red1: #FAE2DD;
11
11
  $color-red2: #F6C6BC;
12
12
  $color-red3: #F1A99A;
13
13
  $color-red4: #ED8D79;
14
- $color-red5: #E97158; // @brand-warning
14
+ $color-red5: #E97158;
15
15
  $color-red6: #BA5A46;
16
16
  $color-red7: #8B4334;
17
17
  $color-red8: #5D2D23;
@@ -22,7 +22,7 @@ $color-orange1: #FDE9D1;
22
22
  $color-orange2: #FBD3A4;
23
23
  $color-orange3: #F9BE77;
24
24
  $color-orange4: #F7A84A;
25
- $color-orange5: #F6931D; // @btn-primary-color
25
+ $color-orange5: #F6931D;
26
26
  $color-orange6: #C47517;
27
27
  $color-orange7: #935811;
28
28
  $color-orange8: #623A0B;
@@ -44,19 +44,18 @@ $color-green1: #ECF1DD;
44
44
  $color-green2: #D9E4BB;
45
45
  $color-green3: #C6D69A;
46
46
  $color-green4: #B3C978;
47
- $color-green5: #A0BC57; // @brand-success
47
+ $color-green5: #A0BC57;
48
48
  $color-green6: #809645;
49
49
  $color-green7: #607034;
50
50
  $color-green8: #404B22;
51
51
  $color-green9: #202511;
52
52
 
53
53
  // Blue
54
- $color-blue0: #F3F9FA;
55
54
  $color-blue1: #E2F0F2;
56
55
  $color-blue2: #C5E2E6;
57
56
  $color-blue3: #A8D3DA;
58
57
  $color-blue4: #8BC5CE;
59
- $color-blue5: #6EB7C2; // @brand-primary && @btn-deafult-bg
58
+ $color-blue5: #6EB7C2;
60
59
  $color-blue6: #58929B;
61
60
  $color-blue7: #426D74;
62
61
  $color-blue8: #2C494D;
@@ -74,15 +73,15 @@ $color-purple8: #444256;
74
73
  $color-purple9: #22212B;
75
74
 
76
75
  // Charcoal
77
- $color-charcoal1: #DCDCDC; // @gray-lighter
78
- $color-charcoal2: #BAB9BA; // @gray-light
76
+ $color-charcoal1: #DCDCDC;
77
+ $color-charcoal2: #BAB9BA;
79
78
  $color-charcoal3: #989797;
80
79
  $color-charcoal4: #767475;
81
- $color-charcoal5: #545253; // @gray && @brand-info
80
+ $color-charcoal5: #545253;
82
81
  $color-charcoal6: #434142;
83
- $color-charcoal7: #323131; // @gray-dark
84
- $color-charcoal8: #212021; // @gray-darker
85
- $color-charcoal9: #101010; // @gray-base
82
+ $color-charcoal7: #323131;
83
+ $color-charcoal8: #212021;
84
+ $color-charcoal9: #101010;
86
85
 
87
86
  // Ivory
88
87
  $color-ivory1: #FDFDFC;
@@ -95,21 +94,14 @@ $color-ivory7: #939390;
95
94
  $color-ivory8: #626260;
96
95
  $color-ivory9: #313130;
97
96
 
98
- // Base colors
99
- $color-body-bg: $color-ivory1;
100
- $text-color: $color-charcoal5;
101
-
102
97
  // Accessible Colors
103
- $color-accessible-blue: #3678BA;
104
- $color-accessible-blue-hover: #2B6094;
105
- $color-accessible-dark-blue: #1F3970;
106
- $color-accessible-light-blue: #EFF4F9;
107
-
108
- $color-accessible-red: #D0391B;
109
- $color-accessible-light-red: #FCF6F3;
98
+ $color-a11y-blue: #3678BA;
99
+ $color-a11y-blue-hover: #2B6094;
100
+ $color-a11y-dark-blue: #1F3970;
101
+ $color-a11y-light-blue: #EFF4F9;
110
102
 
111
- $color-accessible-default-button: #CF3E00;
112
- $color-accessible-default-button-hover: #7b2500;
103
+ $color-a11y-red: #D0391B;
104
+ $color-a11y-light-red: #FCF6F3;
113
105
 
114
- // @text-color -> @gray
115
- // @link-color -> @brand-primary
106
+ $color-a11y-default-button: #CF3E00;
107
+ $color-a11y-default-button-hover: #7b2500;
@@ -1,3 +1,7 @@
1
+ /*
2
+ * Flexbox mixin that can handle any and all flexbox properties
3
+ * @include flex(('flex-direction', row), ('justify-content', space-between), ('align-items', center));
4
+ */
1
5
  @mixin flex($values...) {
2
6
  display: flex;
3
7
  @each $value in $values {
@@ -1,7 +0,0 @@
1
- Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
2
-
3
- To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
4
-
5
- You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
6
-
7
- You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection.
@@ -1,152 +0,0 @@
1
- body {
2
- padding: 0;
3
- margin: 0;
4
- font-family: sans-serif;
5
- font-size: 1em;
6
- line-height: 1.5;
7
- color: #555;
8
- background: #fff;
9
- }
10
- h1 {
11
- font-size: 1.5em;
12
- font-weight: normal;
13
- }
14
- small {
15
- font-size: .66666667em;
16
- }
17
- a {
18
- color: #e74c3c;
19
- text-decoration: none;
20
- }
21
- a:hover, a:focus {
22
- box-shadow: 0 1px #e74c3c;
23
- }
24
- .bshadow0, input {
25
- box-shadow: inset 0 -2px #e7e7e7;
26
- }
27
- input:hover {
28
- box-shadow: inset 0 -2px #ccc;
29
- }
30
- input, fieldset {
31
- font-family: sans-serif;
32
- font-size: 1em;
33
- margin: 0;
34
- padding: 0;
35
- border: 0;
36
- }
37
- input {
38
- color: inherit;
39
- line-height: 1.5;
40
- height: 1.5em;
41
- padding: .25em 0;
42
- }
43
- input:focus {
44
- outline: none;
45
- box-shadow: inset 0 -2px #449fdb;
46
- }
47
- .glyph {
48
- font-size: 16px;
49
- width: 15em;
50
- padding-bottom: 1em;
51
- margin-right: 4em;
52
- margin-bottom: 1em;
53
- float: left;
54
- overflow: hidden;
55
- }
56
- .liga {
57
- width: 80%;
58
- width: calc(100% - 2.5em);
59
- }
60
- .talign-right {
61
- text-align: right;
62
- }
63
- .talign-center {
64
- text-align: center;
65
- }
66
- .bgc1 {
67
- background: #f1f1f1;
68
- }
69
- .fgc1 {
70
- color: #999;
71
- }
72
- .fgc0 {
73
- color: #000;
74
- }
75
- p {
76
- margin-top: 1em;
77
- margin-bottom: 1em;
78
- }
79
- .mvm {
80
- margin-top: .75em;
81
- margin-bottom: .75em;
82
- }
83
- .mtn {
84
- margin-top: 0;
85
- }
86
- .mtl, .mal {
87
- margin-top: 1.5em;
88
- }
89
- .mbl, .mal {
90
- margin-bottom: 1.5em;
91
- }
92
- .mal, .mhl {
93
- margin-left: 1.5em;
94
- margin-right: 1.5em;
95
- }
96
- .mhmm {
97
- margin-left: 1em;
98
- margin-right: 1em;
99
- }
100
- .mls {
101
- margin-left: .25em;
102
- }
103
- .ptl {
104
- padding-top: 1.5em;
105
- }
106
- .pbs, .pvs {
107
- padding-bottom: .25em;
108
- }
109
- .pvs, .pts {
110
- padding-top: .25em;
111
- }
112
- .unit {
113
- float: left;
114
- }
115
- .unitRight {
116
- float: right;
117
- }
118
- .size1of2 {
119
- width: 50%;
120
- }
121
- .size1of1 {
122
- width: 100%;
123
- }
124
- .clearfix:before, .clearfix:after {
125
- content: " ";
126
- display: table;
127
- }
128
- .clearfix:after {
129
- clear: both;
130
- }
131
- .hidden-true {
132
- display: none;
133
- }
134
- .textbox0 {
135
- width: 3em;
136
- background: #f1f1f1;
137
- padding: .25em .5em;
138
- line-height: 1.5;
139
- height: 1.5em;
140
- }
141
- #testDrive {
142
- display: block;
143
- padding-top: 24px;
144
- line-height: 1.5;
145
- }
146
- .fs0 {
147
- font-size: 16px;
148
- }
149
- .fs1 {
150
- font-size: 32px;
151
- }
152
-
@@ -1,30 +0,0 @@
1
- if (!('boxShadow' in document.body.style)) {
2
- document.body.setAttribute('class', 'noBoxShadow');
3
- }
4
-
5
- document.body.addEventListener("click", function(e) {
6
- var target = e.target;
7
- if (target.tagName === "INPUT" &&
8
- target.getAttribute('class').indexOf('liga') === -1) {
9
- target.select();
10
- }
11
- });
12
-
13
- (function() {
14
- var fontSize = document.getElementById('fontSize'),
15
- testDrive = document.getElementById('testDrive'),
16
- testText = document.getElementById('testText');
17
- function updateTest() {
18
- testDrive.innerHTML = testText.value || String.fromCharCode(160);
19
- if (window.icomoonLiga) {
20
- window.icomoonLiga(testDrive);
21
- }
22
- }
23
- function updateSize() {
24
- testDrive.style.fontSize = fontSize.value + 'px';
25
- }
26
- fontSize.addEventListener('change', updateSize, false);
27
- testText.addEventListener('input', updateTest, false);
28
- testText.addEventListener('change', updateTest, false);
29
- updateSize();
30
- }());