GIPainter-base 0.1.8 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6be4eac53f11f3f29c2ae7533329e2beb9455f42
4
- data.tar.gz: ff0ae7d42dc693eecee9f6730e87275d6bcb5200
3
+ metadata.gz: cd93f9a80de255d47d943601b44b37620fad235c
4
+ data.tar.gz: aff48fd60d23a5876e559673d9934a798bb6c874
5
5
  SHA512:
6
- metadata.gz: 62056358394e04f6007586f85c34a4a92633878b26b928bd175affa52e0b8eb4b76ce15cfae16b95457f8063483641381f0e06827f3f24f588a2011adc6ddf04
7
- data.tar.gz: d92edd5411a8fa9d6fc2d52430a426f7132337588702972de110d249ad34ebd8eb4106e111a96ae71495b812acd445928d3f683ed685f3cc6a6eee27ee1741dc
6
+ metadata.gz: e1617f9a609fe860a8e36b595dd65b7f8930a9aab8476d747dc5e12774e968a887561c34506500cd2ec116e6f382efab028d272a62550b8bed4760bc3f37ca4c
7
+ data.tar.gz: 403d5c84937df484fee792ab3cdc7b4cb886a5672c026a8c28604baddd4f35c8ce57f7834ec11eb6650a3d6f3fa3ddf85b845233933c9c69ead26f218126ae33
@@ -0,0 +1,429 @@
1
+ /**
2
+ *
3
+ */
4
+ *, ::after, ::before {
5
+ @include box-sizing(border-box);
6
+ }
7
+
8
+ /**
9
+ * 1. Set default font family to sans-serif.
10
+ * 2. Prevent iOS and IE text size adjust after device orientation change,
11
+ * without disabling user zoom.
12
+ */
13
+
14
+ html {
15
+ font-family: sans-serif; /* 1 */
16
+ -ms-text-size-adjust: 100%; /* 2 */
17
+ -webkit-text-size-adjust: 100%; /* 2 */
18
+ }
19
+
20
+ /**
21
+ * Remove default margin.
22
+ */
23
+
24
+ body {
25
+ margin: 0;
26
+ }
27
+
28
+ /* HTML5 display definitions
29
+ ========================================================================== */
30
+
31
+ /**
32
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
33
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
34
+ * and Firefox.
35
+ * Correct `block` display not defined for `main` in IE 11.
36
+ */
37
+
38
+ article,
39
+ aside,
40
+ details,
41
+ figcaption,
42
+ figure,
43
+ footer,
44
+ header,
45
+ hgroup,
46
+ main,
47
+ menu,
48
+ nav,
49
+ section,
50
+ summary {
51
+ display: block;
52
+ }
53
+
54
+ /**
55
+ * 1. Correct `inline-block` display not defined in IE 8/9.
56
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
57
+ */
58
+
59
+ audio,
60
+ canvas,
61
+ progress,
62
+ video {
63
+ display: inline-block; /* 1 */
64
+ vertical-align: baseline; /* 2 */
65
+ }
66
+
67
+ /**
68
+ * Prevent modern browsers from displaying `audio` without controls.
69
+ * Remove excess height in iOS 5 devices.
70
+ */
71
+
72
+ audio:not([controls]) {
73
+ display: none;
74
+ height: 0;
75
+ }
76
+
77
+ /**
78
+ * Address `[hidden]` styling not present in IE 8/9/10.
79
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
80
+ */
81
+
82
+ [hidden],
83
+ template {
84
+ display: none;
85
+ }
86
+
87
+ /* Links
88
+ ========================================================================== */
89
+
90
+ /**
91
+ * Remove the gray background color from active links in IE 10.
92
+ */
93
+
94
+ a {
95
+ background-color: transparent;
96
+ }
97
+
98
+ /**
99
+ * Improve readability of focused elements when they are also in an
100
+ * active/hover state.
101
+ */
102
+
103
+ a:active,
104
+ a:hover {
105
+ outline: 0;
106
+ }
107
+
108
+ /* Text-level semantics
109
+ ========================================================================== */
110
+
111
+ /**
112
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
113
+ */
114
+
115
+ abbr[title] {
116
+ border-bottom: 1px dotted;
117
+ }
118
+
119
+ /**
120
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
121
+ */
122
+
123
+ b,
124
+ strong {
125
+ font-weight: bold;
126
+ }
127
+
128
+ /**
129
+ * Address styling not present in Safari and Chrome.
130
+ */
131
+
132
+ dfn {
133
+ font-style: italic;
134
+ }
135
+
136
+ /**
137
+ * Address variable `h1` font-size and margin within `section` and `article`
138
+ * contexts in Firefox 4+, Safari, and Chrome.
139
+ */
140
+
141
+ h1 {
142
+ font-size: 2em;
143
+ margin: 0.67em 0;
144
+ }
145
+
146
+ /**
147
+ * Address styling not present in IE 8/9.
148
+ */
149
+
150
+ mark {
151
+ background: #ff0;
152
+ color: #000;
153
+ }
154
+
155
+ /**
156
+ * Address inconsistent and variable font size in all browsers.
157
+ */
158
+
159
+ small {
160
+ font-size: 80%;
161
+ }
162
+
163
+ /**
164
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
165
+ */
166
+
167
+ sub,
168
+ sup {
169
+ font-size: 75%;
170
+ line-height: 0;
171
+ position: relative;
172
+ vertical-align: baseline;
173
+ }
174
+
175
+ sup {
176
+ top: -0.5em;
177
+ }
178
+
179
+ sub {
180
+ bottom: -0.25em;
181
+ }
182
+
183
+ /* Embedded content
184
+ ========================================================================== */
185
+
186
+ /**
187
+ * Remove border when inside `a` element in IE 8/9/10.
188
+ */
189
+
190
+ img {
191
+ border: 0;
192
+ }
193
+
194
+ /**
195
+ * Correct overflow not hidden in IE 9/10/11.
196
+ */
197
+
198
+ svg:not(:root) {
199
+ overflow: hidden;
200
+ }
201
+
202
+ /* Grouping content
203
+ ========================================================================== */
204
+
205
+ /**
206
+ * Address margin not present in IE 8/9 and Safari.
207
+ */
208
+
209
+ figure {
210
+ margin: 1em 40px;
211
+ }
212
+
213
+ /**
214
+ * Address differences between Firefox and other browsers.
215
+ */
216
+
217
+ hr {
218
+ box-sizing: content-box;
219
+ height: 0;
220
+ }
221
+
222
+ /**
223
+ * Contain overflow in all browsers.
224
+ */
225
+
226
+ pre {
227
+ overflow: auto;
228
+ }
229
+
230
+ /**
231
+ * Address odd `em`-unit font size rendering in all browsers.
232
+ */
233
+
234
+ code,
235
+ kbd,
236
+ pre,
237
+ samp {
238
+ font-family: monospace, monospace;
239
+ font-size: 1em;
240
+ }
241
+
242
+ /* Forms
243
+ ========================================================================== */
244
+
245
+ /**
246
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
247
+ * styling of `select`, unless a `border` property is set.
248
+ */
249
+
250
+ /**
251
+ * 1. Correct color not being inherited.
252
+ * Known issue: affects color of disabled elements.
253
+ * 2. Correct font properties not being inherited.
254
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
255
+ */
256
+
257
+ button,
258
+ input,
259
+ optgroup,
260
+ select,
261
+ textarea {
262
+ color: inherit; /* 1 */
263
+ font: inherit; /* 2 */
264
+ margin: 0; /* 3 */
265
+ }
266
+
267
+ /**
268
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
269
+ */
270
+
271
+ button {
272
+ overflow: visible;
273
+ }
274
+
275
+ /**
276
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
277
+ * All other form control elements do not inherit `text-transform` values.
278
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
279
+ * Correct `select` style inheritance in Firefox.
280
+ */
281
+
282
+ button,
283
+ select {
284
+ text-transform: none;
285
+ }
286
+
287
+ /**
288
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
289
+ * and `video` controls.
290
+ * 2. Correct inability to style clickable `input` types in iOS.
291
+ * 3. Improve usability and consistency of cursor style between image-type
292
+ * `input` and others.
293
+ */
294
+
295
+ button,
296
+ html input[type="button"], /* 1 */
297
+ input[type="reset"],
298
+ input[type="submit"] {
299
+ -webkit-appearance: button; /* 2 */
300
+ cursor: pointer; /* 3 */
301
+ }
302
+
303
+ /**
304
+ * Re-set default cursor for disabled elements.
305
+ */
306
+
307
+ button[disabled],
308
+ html input[disabled] {
309
+ cursor: default;
310
+ }
311
+
312
+ /**
313
+ * Remove inner padding and border in Firefox 4+.
314
+ */
315
+
316
+ button::-moz-focus-inner,
317
+ input::-moz-focus-inner {
318
+ border: 0;
319
+ padding: 0;
320
+ }
321
+
322
+ /**
323
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
324
+ * the UA stylesheet.
325
+ */
326
+
327
+ input {
328
+ line-height: normal;
329
+ }
330
+
331
+ /**
332
+ * It's recommended that you don't attempt to style these elements.
333
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
334
+ *
335
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
336
+ * 2. Remove excess padding in IE 8/9/10.
337
+ */
338
+
339
+ input[type="checkbox"],
340
+ input[type="radio"] {
341
+ box-sizing: border-box; /* 1 */
342
+ padding: 0; /* 2 */
343
+ }
344
+
345
+ /**
346
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
347
+ * `font-size` values of the `input`, it causes the cursor style of the
348
+ * decrement button to change from `default` to `text`.
349
+ */
350
+
351
+ input[type="number"]::-webkit-inner-spin-button,
352
+ input[type="number"]::-webkit-outer-spin-button {
353
+ height: auto;
354
+ }
355
+
356
+ /**
357
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
358
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
359
+ */
360
+
361
+ input[type="search"] {
362
+ -webkit-appearance: textfield; /* 1 */
363
+ box-sizing: content-box; /* 2 */
364
+ }
365
+
366
+ /**
367
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
368
+ * Safari (but not Chrome) clips the cancel button when the search input has
369
+ * padding (and `textfield` appearance).
370
+ */
371
+
372
+ input[type="search"]::-webkit-search-cancel-button,
373
+ input[type="search"]::-webkit-search-decoration {
374
+ -webkit-appearance: none;
375
+ }
376
+
377
+ /**
378
+ * Define consistent border, margin, and padding.
379
+ */
380
+
381
+ fieldset {
382
+ border: 1px solid #c0c0c0;
383
+ margin: 0 2px;
384
+ padding: 0.35em 0.625em 0.75em;
385
+ }
386
+
387
+ /**
388
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
389
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
390
+ */
391
+
392
+ legend {
393
+ border: 0; /* 1 */
394
+ padding: 0; /* 2 */
395
+ }
396
+
397
+ /**
398
+ * Remove default vertical scrollbar in IE 8/9/10/11.
399
+ */
400
+
401
+ textarea {
402
+ overflow: auto;
403
+ }
404
+
405
+ /**
406
+ * Don't inherit the `font-weight` (applied by a rule above).
407
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
408
+ */
409
+
410
+ optgroup {
411
+ font-weight: bold;
412
+ }
413
+
414
+ /* Tables
415
+ ========================================================================== */
416
+
417
+ /**
418
+ * Remove most spacing between table cells.
419
+ */
420
+
421
+ table {
422
+ border-collapse: collapse;
423
+ border-spacing: 0;
424
+ }
425
+
426
+ td,
427
+ th {
428
+ padding: 0;
429
+ }
@@ -0,0 +1,68 @@
1
+ //-----------------------------------
2
+ // COLORS VARIABLES
3
+ //-----------------------------------
4
+
5
+ ////
6
+ /// @access public
7
+ /// @group Colors
8
+ /// @type colors
9
+ ////
10
+
11
+ /// Easily make use of two color schemes: grayscale and semantic.
12
+ /// Grayscale colors provide quick access to commonly used shades of black while semantic include various colors assigned to meaningful contextual values.
13
+
14
+ /// Default Gray color
15
+ /// @prop {Color} $black [#000]
16
+ /// @prop {Color} $gray-darker [#494949]
17
+ /// @prop {Color} $gray-dark [#6E6E6E]
18
+ /// @prop {Color} $gray [#929292]
19
+ /// @prop {Color} $gray-light [#AEAEAE]
20
+ /// @prop {Color} $gray-lighter [#C9C9C9]
21
+
22
+ $black: #000 !default;
23
+ $gray-darker: #6f6f6e !default;
24
+ $gray-dark: #929292 !default;
25
+ $gray: #b7b7b7 !default;
26
+ $gray-light: #dbdbdb !default;
27
+ $gray-lighter: #f0f0f0 !default;
28
+
29
+ /// GI Main color
30
+ /// @prop {Color} $main-color-darker [#2e4572]
31
+ /// @prop {Color} $main-color-dark [#344e81]
32
+ /// @prop {Color} $main-color [#3d5c98]
33
+ /// @prop {Color} $main-color-light [#6e85b2]
34
+ /// @prop {Color} $main-color-lighter [#9faecc]
35
+
36
+ $main-color-darker: #2e4572 !default;
37
+ $main-color-dark: #344e81 !default;
38
+ $main-color: #3d5c98 !default;
39
+ $main-color-light: #6e85b2 !default;
40
+ $main-color-lighter: #9faecc !default;
41
+
42
+ /// GI Secondary color
43
+ /// @prop {Color} $secondary-color-darker [#941515]
44
+ /// @prop {Color} $secondary-color-dark [#A71818]
45
+ /// @prop {Color} $secondary-color [#c51c1c]
46
+ /// @prop {Color} $secondary-color-light [#d45555]
47
+ /// @prop {Color} $secondary-color-lighter [#e38c8e]
48
+
49
+ $secondary-color-darker: #941515 !default;
50
+ $secondary-color-dark: #A71818 !default;
51
+ $secondary-color: #c51c1c !default;
52
+ $secondary-color-light: #d45555 !default;
53
+ $secondary-color-lighter: #e38c8e !default;
54
+
55
+ /// Brand color
56
+ /// @prop {Color} $brand-primary [#3d5c98]
57
+ /// @prop {Color} $brand-secondary [#c51c1c]
58
+ /// @prop {Color} $brand-success [#5cb85c]
59
+ /// @prop {Color} $brand-info [#5bc0de]
60
+ /// @prop {Color} $brand-warning [#f0ad4e]
61
+ /// @prop {Color} $brand-danger [#d9534f]
62
+
63
+ $brand-primary: $main-color !default;
64
+ $brand-secondary: $secondary-color !default;
65
+ $brand-success: #69C447 !default;
66
+ $brand-info: #328A8A !default;
67
+ $brand-warning: #E69353 !default;
68
+ $brand-danger: #E65753 !default;
@@ -0,0 +1,20 @@
1
+ //-----------------------------------
2
+ // MEDIA QUERY VARIABLES
3
+ //-----------------------------------
4
+
5
+ ////
6
+ /// @access public
7
+ /// @group Media Query
8
+ /// @type media-query
9
+ ////
10
+
11
+ /// We use the following media queries in our sass files to create the key breakpoints.
12
+ /// @prop {media-query} $screen-xs [480px] - Extra small devices Phones
13
+ /// @prop {media-query} $screen-sm [768px] - Small devices Tablets
14
+ /// @prop {media-query} $screen-md [992px] - Medium devices
15
+ /// @prop {media-query} $screen-lg [1200px] - Large devices Desktops
16
+
17
+ $screen-xs: 480px !default;
18
+ $screen-sm: 768px !default;
19
+ $screen-md: 992px !default;
20
+ $screen-lg: 1200px !default;
@@ -0,0 +1,45 @@
1
+ //-----------------------------------
2
+ // TYPOGRAPHY VARIABLES
3
+ //-----------------------------------
4
+
5
+ ////
6
+ /// @access public
7
+ /// @group Typography
8
+ /// @type typography
9
+ ////
10
+
11
+ /// Font, line-height, and color for body text, headings, and more.
12
+
13
+ /// Font familly use on GIPainter
14
+ /// @prop {typography} $font-family-sans-serif ["Helvetica Neue", Helvetica, Arial, sans-serif]
15
+ /// @prop {typography} $font-family-serif [Georgia, "Times New Roman", Times, serif]
16
+ /// @prop {typography} $font-family-monospace [Menlo, Monaco, Consolas, "Courier New", monospace] - Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
17
+ /// @prop {typography} $font-family-base ["Helvetica Neue", Helvetica, Arial, sans-serif]
18
+
19
+ $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
20
+ $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
21
+ $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
22
+ $font-family-base: $font-family-sans-serif !default;
23
+
24
+
25
+ $font-size-base: 14px !default;
26
+ $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
27
+ $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
28
+
29
+ $font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
30
+ $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
31
+ $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
32
+ $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
33
+ $font-size-h5: $font-size-base !default;
34
+ $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
35
+
36
+ //** Unit-less `line-height` for use in components like buttons.
37
+ $line-height-base: 1.428571429 !default; // 20/14
38
+ //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
39
+ $line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
40
+
41
+ //** By default, this inherits from the `<body>`.
42
+ $headings-font-family: inherit !default;
43
+ $headings-font-weight: 500 !default;
44
+ $headings-line-height: 1.1 !default;
45
+ $headings-color: inherit !default;
@@ -0,0 +1,11 @@
1
+ //-- Z-index master list
2
+ //
3
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
4
+ // of components dependent on the z-axis and are designed to all work together.
5
+ //
6
+ // Note: These variables are not generated into the Customizer.
7
+
8
+ $zindex-popover: 1030 !default;
9
+ $zindex-tooltip: 1030 !default;
10
+ $zindex-modal-background: 1040 !default;
11
+ $zindex-modal: 1050 !default;
@@ -13,6 +13,6 @@
13
13
  @import "Variables/**/*";
14
14
  @import "Mixins/**/*";
15
15
 
16
- // GIPainter Theme
16
+ // GIPainter Theme Layout
17
17
  // -----------------------------------------------------------------------------
18
18
  @import "Layout/**/*";
@@ -1,3 +1,3 @@
1
1
  module GIPainter_base
2
- VERSION = '0.1.8'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: GIPainter-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genious Interactive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-15 00:00:00.000000000 Z
11
+ date: 2017-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass
@@ -130,7 +130,12 @@ extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
132
  - README.md
133
- - assets/stylesheets/Base/_reset.scss
133
+ - assets/stylesheets/Base/_normalize.scss
134
+ - assets/stylesheets/Base/_typography.scss
135
+ - assets/stylesheets/Variables/_colors.scss
136
+ - assets/stylesheets/Variables/_media-query.scss
137
+ - assets/stylesheets/Variables/_typography.scss
138
+ - assets/stylesheets/Variables/_weight.scss
134
139
  - assets/stylesheets/_GIPainter-base.scss
135
140
  - lib/GIPainter-base.rb
136
141
  - lib/GIPainter-base/version.rb