fortitude-sass 0.4.9 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -5
- data/Gemfile.lock +1 -1
- data/app/assets/stylesheets/fortitude/base/_hr.scss +7 -7
- data/app/assets/stylesheets/fortitude/base/_images.scss +10 -12
- data/app/assets/stylesheets/fortitude/base/_lists.scss +6 -8
- data/app/assets/stylesheets/fortitude/base/_page.scss +14 -10
- data/app/assets/stylesheets/fortitude/blocks/_badge.scss +28 -137
- data/app/assets/stylesheets/fortitude/blocks/_bare-list.scss +0 -12
- data/app/assets/stylesheets/fortitude/blocks/_block-list.scss +20 -74
- data/app/assets/stylesheets/fortitude/blocks/_box.scss +1 -27
- data/app/assets/stylesheets/fortitude/blocks/_button.scss +38 -219
- data/app/assets/stylesheets/fortitude/blocks/_container.scss +2 -50
- data/app/assets/stylesheets/fortitude/blocks/_flag.scss +113 -397
- data/app/assets/stylesheets/fortitude/blocks/_flashbar.scss +0 -18
- data/app/assets/stylesheets/fortitude/blocks/_fluid-container.scss +2 -11
- data/app/assets/stylesheets/fortitude/blocks/_inline-list.scss +3 -15
- data/app/assets/stylesheets/fortitude/blocks/_input.scss +14 -355
- data/app/assets/stylesheets/fortitude/blocks/_layout.scss +77 -263
- data/app/assets/stylesheets/fortitude/blocks/_list-navigation.scss +6 -29
- data/app/assets/stylesheets/fortitude/blocks/_media.scss +104 -265
- data/app/assets/stylesheets/fortitude/blocks/_modal.scss +2 -2
- data/app/assets/stylesheets/fortitude/blocks/_navigationbar.scss +26 -43
- data/app/assets/stylesheets/fortitude/blocks/_shade.scss +2 -21
- data/app/assets/stylesheets/fortitude/blocks/_table.scss +11 -21
- data/app/assets/stylesheets/fortitude/blocks/_tabs-navigation.scss +8 -51
- data/app/assets/stylesheets/fortitude/blocks/_tabs.scss +1 -13
- data/app/assets/stylesheets/fortitude/blocks/_text.scss +7 -7
- data/app/assets/stylesheets/fortitude/blocks/_tooltip.scss +1 -171
- data/app/assets/stylesheets/fortitude/blocks/_ui-list.scss +20 -88
- data/app/assets/stylesheets/fortitude/blocks/_wings.scss +27 -28
- data/app/assets/stylesheets/fortitude/generic/_box-sizing.scss +8 -11
- data/app/assets/stylesheets/fortitude/generic/_clearfix.scss +1 -1
- data/app/assets/stylesheets/fortitude/generic/_normalize.scss +2 -4
- data/app/assets/stylesheets/fortitude/generic/_reset.scss +5 -32
- data/app/assets/stylesheets/fortitude/settings/_defaults.scss +15 -33
- data/app/assets/stylesheets/fortitude/tools/_functions.scss +57 -60
- data/app/assets/stylesheets/fortitude/tools/_mixins.scss +38 -35
- data/app/assets/stylesheets/fortitude/trumps/_responsive-border.scss +25 -32
- data/app/assets/stylesheets/fortitude/trumps/_responsive-column.scss +18 -19
- data/app/assets/stylesheets/fortitude/trumps/_responsive-display.scss +2 -9
- data/app/assets/stylesheets/fortitude/trumps/_responsive-float.scss +10 -10
- data/app/assets/stylesheets/fortitude/trumps/_responsive-font.scss +11 -9
- data/app/assets/stylesheets/fortitude/trumps/_responsive-height.scss +8 -6
- data/app/assets/stylesheets/fortitude/trumps/_responsive-line-height.scss +11 -10
- data/app/assets/stylesheets/fortitude/trumps/_responsive-margin.scss +88 -127
- data/app/assets/stylesheets/fortitude/trumps/_responsive-padding.scss +45 -62
- data/app/assets/stylesheets/fortitude/trumps/_responsive-text.scss +12 -13
- data/app/assets/stylesheets/fortitude/trumps/_screen-lock.scss +1 -1
- data/app/assets/stylesheets/fortitude.scss +24 -0
- data/bower.json +1 -1
- data/lib/fortitude-sass/version.rb +1 -1
- metadata +2 -13
- data/app/assets/stylesheets/fortitude/theme/base/_page.scss +0 -19
- data/app/assets/stylesheets/fortitude/theme/extensions/_badge.scss +0 -7
- data/app/assets/stylesheets/fortitude/theme/extensions/_box.scss +0 -13
- data/app/assets/stylesheets/fortitude/theme/extensions/_button.scss +0 -7
- data/app/assets/stylesheets/fortitude/theme/extensions/_flashbar.scss +0 -6
- data/app/assets/stylesheets/fortitude/theme/extensions/_navigationbar.scss +0 -50
- data/app/assets/stylesheets/fortitude/theme/extensions/_text.scss +0 -5
- data/app/assets/stylesheets/fortitude/theme/extensions/_wings.scss +0 -9
- data/app/assets/stylesheets/fortitude/theme/settings/_colors.scss +0 -53
- data/app/assets/stylesheets/fortitude/theme/settings/_defaults.scss +0 -5
- data/app/assets/stylesheets/fortitude/theme.scss +0 -11
@@ -1,65 +1,48 @@
|
|
1
1
|
$fortitude-responsive-padding-unit-total: 10 !default;
|
2
2
|
|
3
|
-
@include fortitude-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
padding-bottom: $fortitude-base-spacing-unit * $i;
|
47
|
-
}
|
48
|
-
|
49
|
-
##{$fortitude-app-id} &-prh#{$i} {
|
50
|
-
padding-right: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
|
51
|
-
}
|
52
|
-
|
53
|
-
##{$fortitude-app-id} &-pr#{$i} {
|
54
|
-
padding-right: $fortitude-base-spacing-unit * $i;
|
55
|
-
}
|
56
|
-
|
57
|
-
##{$fortitude-app-id} &-pth#{$i} {
|
58
|
-
padding-top: $fortitude-base-spacing-unit * $i + halve($fortitude-base-spacing-unit);
|
59
|
-
}
|
60
|
-
|
61
|
-
##{$fortitude-app-id} &-pt#{$i} {
|
62
|
-
padding-top: $fortitude-base-spacing-unit * $i;
|
63
|
-
}
|
3
|
+
@include fortitude-utility-class {
|
4
|
+
@include fortitude-breakpoint-classes {
|
5
|
+
@for $fortitude-index from 0 through $fortitude-responsive-padding-unit-total {
|
6
|
+
&-pt#{$fortitude-index},
|
7
|
+
&-p#{$fortitude-index},
|
8
|
+
&-ptb#{$fortitude-index} {
|
9
|
+
padding-top: $fortitude-base-spacing-unit * $fortitude-index;
|
10
|
+
}
|
11
|
+
&-pth#{$fortitude-index},
|
12
|
+
&-ph#{$fortitude-index},
|
13
|
+
&-ptbh#{$fortitude-index} {
|
14
|
+
padding-top: $fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit);
|
15
|
+
}
|
16
|
+
&-pr#{$fortitude-index},
|
17
|
+
&-p#{$fortitude-index},
|
18
|
+
&-prl#{$fortitude-index} {
|
19
|
+
padding-right: $fortitude-base-spacing-unit * $fortitude-index;
|
20
|
+
}
|
21
|
+
&-prh#{$fortitude-index},
|
22
|
+
&-ph#{$fortitude-index},
|
23
|
+
&-prlh#{$fortitude-index} {
|
24
|
+
padding-right: $fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit);
|
25
|
+
}
|
26
|
+
&-pb#{$fortitude-index},
|
27
|
+
&-p#{$fortitude-index},
|
28
|
+
&-ptb#{$fortitude-index} {
|
29
|
+
padding-bottom: $fortitude-base-spacing-unit * $fortitude-index;
|
30
|
+
}
|
31
|
+
&-pbh#{$fortitude-index},
|
32
|
+
&-ph#{$fortitude-index},
|
33
|
+
&-ptbh#{$fortitude-index} {
|
34
|
+
padding-bottom: $fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit);
|
35
|
+
}
|
36
|
+
&-pl#{$fortitude-index},
|
37
|
+
&-p#{$fortitude-index},
|
38
|
+
&-prl#{$fortitude-index} {
|
39
|
+
padding-left: $fortitude-base-spacing-unit * $fortitude-index;
|
40
|
+
}
|
41
|
+
&-plh#{$fortitude-index},
|
42
|
+
&-ph#{$fortitude-index},
|
43
|
+
&-prlh#{$fortitude-index} {
|
44
|
+
padding-left: $fortitude-base-spacing-unit * $fortitude-index + halve($fortitude-base-spacing-unit);
|
45
|
+
}
|
64
46
|
}
|
65
|
-
}
|
47
|
+
}
|
48
|
+
}
|
@@ -1,17 +1,16 @@
|
|
1
|
-
@include fortitude-
|
2
|
-
|
3
|
-
|
1
|
+
@include fortitude-utility-class {
|
2
|
+
@include fortitude-breakpoint-classes {
|
3
|
+
&-text-left {
|
4
|
+
text-align: left;
|
4
5
|
}
|
5
|
-
|
6
|
-
|
7
|
-
text-align: center;
|
6
|
+
&-text-center {
|
7
|
+
text-align: center;
|
8
8
|
}
|
9
|
-
|
10
|
-
|
11
|
-
text-align: right;
|
9
|
+
&-text-right {
|
10
|
+
text-align: right;
|
12
11
|
}
|
13
|
-
|
14
|
-
|
15
|
-
text-align: justify;
|
12
|
+
&-text-justify {
|
13
|
+
text-align: justify;
|
16
14
|
}
|
17
|
-
}
|
15
|
+
}
|
16
|
+
}
|
@@ -1,6 +1,30 @@
|
|
1
1
|
@import "fortitude/settings/defaults";
|
2
2
|
@import "fortitude/tools/functions";
|
3
3
|
@import "fortitude/tools/mixins";
|
4
|
+
@import "fortitude/api/blocks/badge";
|
5
|
+
@import "fortitude/api/blocks/bare-list";
|
6
|
+
@import "fortitude/api/blocks/block-list";
|
7
|
+
@import "fortitude/api/blocks/box";
|
8
|
+
@import "fortitude/api/blocks/button";
|
9
|
+
@import "fortitude/api/blocks/container";
|
10
|
+
@import "fortitude/api/blocks/flag";
|
11
|
+
@import "fortitude/api/blocks/flashbar";
|
12
|
+
@import "fortitude/api/blocks/fluid-container";
|
13
|
+
@import "fortitude/api/blocks/inline-list";
|
14
|
+
@import "fortitude/api/blocks/input";
|
15
|
+
@import "fortitude/api/blocks/layout";
|
16
|
+
@import "fortitude/api/blocks/list-navigation";
|
17
|
+
@import "fortitude/api/blocks/media";
|
18
|
+
@import "fortitude/api/blocks/modal";
|
19
|
+
@import "fortitude/api/blocks/navigationbar";
|
20
|
+
@import "fortitude/api/blocks/shade";
|
21
|
+
@import "fortitude/api/blocks/table";
|
22
|
+
@import "fortitude/api/blocks/tabs";
|
23
|
+
@import "fortitude/api/blocks/tabs-navigation";
|
24
|
+
@import "fortitude/api/blocks/text";
|
25
|
+
@import "fortitude/api/blocks/tooltip";
|
26
|
+
@import "fortitude/api/blocks/ui-list";
|
27
|
+
@import "fortitude/api/blocks/wings";
|
4
28
|
@import "fortitude/generic/box-sizing";
|
5
29
|
@import "fortitude/generic/clearfix";
|
6
30
|
@import "fortitude/generic/normalize";
|
data/bower.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fortitude-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Reisman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -133,17 +133,6 @@ files:
|
|
133
133
|
- app/assets/stylesheets/fortitude/generic/_normalize.scss
|
134
134
|
- app/assets/stylesheets/fortitude/generic/_reset.scss
|
135
135
|
- app/assets/stylesheets/fortitude/settings/_defaults.scss
|
136
|
-
- app/assets/stylesheets/fortitude/theme.scss
|
137
|
-
- app/assets/stylesheets/fortitude/theme/base/_page.scss
|
138
|
-
- app/assets/stylesheets/fortitude/theme/extensions/_badge.scss
|
139
|
-
- app/assets/stylesheets/fortitude/theme/extensions/_box.scss
|
140
|
-
- app/assets/stylesheets/fortitude/theme/extensions/_button.scss
|
141
|
-
- app/assets/stylesheets/fortitude/theme/extensions/_flashbar.scss
|
142
|
-
- app/assets/stylesheets/fortitude/theme/extensions/_navigationbar.scss
|
143
|
-
- app/assets/stylesheets/fortitude/theme/extensions/_text.scss
|
144
|
-
- app/assets/stylesheets/fortitude/theme/extensions/_wings.scss
|
145
|
-
- app/assets/stylesheets/fortitude/theme/settings/_colors.scss
|
146
|
-
- app/assets/stylesheets/fortitude/theme/settings/_defaults.scss
|
147
136
|
- app/assets/stylesheets/fortitude/tools/_functions.scss
|
148
137
|
- app/assets/stylesheets/fortitude/tools/_mixins.scss
|
149
138
|
- app/assets/stylesheets/fortitude/trumps/_responsive-border.scss
|
@@ -1,19 +0,0 @@
|
|
1
|
-
.text-extra-light { font-weight: 200; }
|
2
|
-
.text-light { font-weight: 300; }
|
3
|
-
.text-normal { font-weight: 400; }
|
4
|
-
|
5
|
-
html,
|
6
|
-
h1,
|
7
|
-
h2,
|
8
|
-
h3,
|
9
|
-
h4,
|
10
|
-
h5,
|
11
|
-
h6 {
|
12
|
-
@extend .text-extra-light;
|
13
|
-
}
|
14
|
-
|
15
|
-
strong {
|
16
|
-
@extend .text-normal;
|
17
|
-
}
|
18
|
-
|
19
|
-
|
@@ -1,13 +0,0 @@
|
|
1
|
-
@each $intent, $rules in $fortitude-color-intents {
|
2
|
-
.box--#{$intent} {
|
3
|
-
@each $property, $value in $rules {
|
4
|
-
#{$property}: $value;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
}
|
8
|
-
|
9
|
-
.box--hero {
|
10
|
-
background-color: $gray-darkest-color;
|
11
|
-
border-color: $gray-darker-color;
|
12
|
-
color: $gray-lightest-color;
|
13
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
.navigationbar {
|
2
|
-
text-transform: uppercase;
|
3
|
-
}
|
4
|
-
|
5
|
-
.navigationbar--default {
|
6
|
-
$navigationbar__toggle__icon-width: 2.2rem;
|
7
|
-
$navigationbar__toggle__icon-height: 2.2rem;
|
8
|
-
|
9
|
-
background-color: $gray-lightest-color;
|
10
|
-
border-bottom: 0.1rem solid $gray-light-color;
|
11
|
-
|
12
|
-
.navigationbar__header__logo {
|
13
|
-
@include fortitude-font-size-alias(delta);
|
14
|
-
color: $gray-darkest-color;
|
15
|
-
text-decoration: none;
|
16
|
-
}
|
17
|
-
|
18
|
-
.navigationbar__toggle {
|
19
|
-
> .icon {
|
20
|
-
width: $navigationbar__toggle__icon-width;
|
21
|
-
height: $navigationbar__toggle__icon-height;
|
22
|
-
margin: halve($navigationbar-height - $navigationbar__toggle__icon-height) halve($navigationbar-height - $navigationbar__toggle__icon-height);
|
23
|
-
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIdJREFUeNpiYBgFtAaMbm5uCkD6PBALUMnMD0BsyAQ1UICKjgWbxwhiAV1dQE0X79q1a8IQjDxoUCQAKQUqmfkAGBQLQKnCAJoqqAnAqeIDFDNQMbl9gAWFApWD4sHQzNKgjDEfiAOoZOYGIE4ERZ4BFQ1lgJplAIu89VTO0oGj5TvtAUCAAQCVmCDkKRdAyQAAAABJRU5ErkJggg==');
|
24
|
-
// Retina
|
25
|
-
@media
|
26
|
-
(-webkit-min-device-pixel-ratio: 2),
|
27
|
-
(min-resolution: 192dpi) {
|
28
|
-
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQRJREFUeNrsl7ENwjAQRU1oKDNCUBaADVK5zgi0VMAEjADZgBEokSuYgCwQYTpKj8CdZEdHSZWz9J9kn919nc73fcYAAACYklk6WGtPFPZKdZ6dc4dRMIldUXgqT+6aRPdFvJQZVAMn1STBIQPBPW9z3oZh+NR1/aZjQ2uhTCgnc0vlcEPLAQD8Z80thWNq0Iq40+qorV2lNVcUXsqTuyTRPjldlUE1NNKac8BLa/ZkzZXC+k1cqBy6n0cnvpnafm6Bv5XojwAosGZuazuFre0R25qX1lxGa9Y6jIZozaEQE6nmyZm1tVlacyFGaM1uMuqTj47TvtFozfHRBQMAAGByvgIMAOBPRPy+NdlpAAAAAElFTkSuQmCC');
|
29
|
-
background-size: $navigationbar__toggle__icon-height $navigationbar__toggle__icon-width;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
.navigationbar__toggle__helper {
|
35
|
-
width: $navigationbar__toggle__icon-width + ($navigationbar-height - $navigationbar__toggle__icon-height);
|
36
|
-
height: $navigationbar__toggle__icon-height + ($navigationbar-height - $navigationbar__toggle__icon-height);
|
37
|
-
margin-right: (-($navigationbar__toggle__icon-width + ($navigationbar-height - $navigationbar__toggle__icon-height)));
|
38
|
-
}
|
39
|
-
|
40
|
-
.navigationbar__link {
|
41
|
-
color: $gray-darkest-color;
|
42
|
-
text-decoration: none;
|
43
|
-
@include fortitude-font-size-alias(epsilon);
|
44
|
-
|
45
|
-
&::before {
|
46
|
-
content: '';
|
47
|
-
color: $info-color;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
$primary-color: #1CAFC9 !default;
|
2
|
-
$success-color: #18D985 !default;
|
3
|
-
$info-color : #4DDBC4 !default;
|
4
|
-
$warning-color: #E9CB0A !default;
|
5
|
-
$danger-color : #DE1843 !default;
|
6
|
-
|
7
|
-
|
8
|
-
$gray-darkest-color : #373942 !default;
|
9
|
-
$gray-darker-color : #54565E !default;
|
10
|
-
$gray-dark-color : #87898E !default;
|
11
|
-
$gray-color : #CFCFD1 !default;
|
12
|
-
$gray-light-color : #E7E7E8 !default;
|
13
|
-
$gray-lighter-color : #FCFCFC !default;
|
14
|
-
$gray-lightest-color: #FFFFFF !default;
|
15
|
-
|
16
|
-
$fortitude-color-intents: (
|
17
|
-
default: (
|
18
|
-
background-color: $gray-lightest-color,
|
19
|
-
border-color: $gray-lightest-color,
|
20
|
-
color: $gray-darkest-color
|
21
|
-
),
|
22
|
-
primary: (
|
23
|
-
background-color: $primary-color,
|
24
|
-
border-color: $primary-color,
|
25
|
-
color: $gray-lightest-color
|
26
|
-
),
|
27
|
-
success: (
|
28
|
-
background-color: $success-color,
|
29
|
-
border-color: $success-color,
|
30
|
-
color: $gray-lightest-color
|
31
|
-
),
|
32
|
-
info: (
|
33
|
-
background-color: $info-color,
|
34
|
-
border-color: $info-color,
|
35
|
-
color: $gray-lightest-color
|
36
|
-
),
|
37
|
-
warning: (
|
38
|
-
background-color: $warning-color,
|
39
|
-
border-color: $warning-color,
|
40
|
-
color: $gray-lightest-color
|
41
|
-
),
|
42
|
-
danger: (
|
43
|
-
background-color: $danger-color,
|
44
|
-
border-color: $danger-color,
|
45
|
-
color: $gray-lightest-color
|
46
|
-
)
|
47
|
-
) !default;
|
48
|
-
|
49
|
-
|
50
|
-
// Fortitude Overrides
|
51
|
-
|
52
|
-
$fortitude-base-background-color: $gray-lighter-color !default;
|
53
|
-
$fortitude-base-color : $gray-darkest-color !default;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
$navigationbar-height: 6rem !default;
|
2
|
-
$fortitude-responsive-font-sizes: (alpha: 5.5rem, beta: 3.0rem, gamma: 2.4rem, delta: 1.8rem, epsilon: 1.4rem, zeta: 1.0rem) !default;
|
3
|
-
$fortitude-responsive-line-height-unit-total: 3 !default;
|
4
|
-
$fortitude-base-font-size: 1.6rem !default;
|
5
|
-
$fortitude-enable-layout--large: true !default;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
@import "theme/settings/colors";
|
2
|
-
@import "theme/settings/defaults";
|
3
|
-
@import "../fortitude";
|
4
|
-
@import "theme/base/page";
|
5
|
-
@import "theme/extensions/badge";
|
6
|
-
@import "theme/extensions/box";
|
7
|
-
@import "theme/extensions/button";
|
8
|
-
@import "theme/extensions/flashbar";
|
9
|
-
@import "theme/extensions/navigationbar";
|
10
|
-
@import "theme/extensions/text";
|
11
|
-
@import "theme/extensions/wings";
|