ama_layout 4.0.0 → 4.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5aae080e7e58a7b87b9f3c453160a86457a7b586
4
- data.tar.gz: 97813104e10861b8a16fe6fb7ef66aa03d55b16a
3
+ metadata.gz: fecb364fae0b80bf39e0908d9653d2ed5298a5cf
4
+ data.tar.gz: 8b14b9d07d7572f6c6dba5ce217be5a1a52ba94f
5
5
  SHA512:
6
- metadata.gz: 06cd712b5195469e83ab6ab2e12e3cc718a217f215eda117a6c15eba44df1668251587365b247c878f490d80729d239e00ddc9e5f00282d7016f5324431a58de
7
- data.tar.gz: edee8ceebac42c1cc05093dbd8685ec0cd32bd1f6181c7ed949d4c954b2e290580d2726b679e060bc4b5c9673d2f5d999ecb292b850c3428c75e50d7c24b466c
6
+ metadata.gz: 8ba49bd7860ad6132e05f8427e25af69b24ac7917626bc1dae8d38e792a0e99b7724c8a9a9723a947ee83a19f082228b6193dcf8d1a1294df1f9fac593712be4
7
+ data.tar.gz: e94eea783946274a995f6bfe892b50787b108062fb1faa334db98146023ed6dd4d7421f605c58ff5688e1124896464873dfa9be1e20b6c6f07fbfca3a054f2ab
@@ -537,4 +537,9 @@ button[disabled],
537
537
  @extend .white-text;
538
538
  font-size: $base-font-size*3;
539
539
  font-weight: bold;
540
+
541
+ &--green{
542
+ @extend .bold-large-text;
543
+ color: $brand-green;
544
+ }
540
545
  }
@@ -56,13 +56,11 @@
56
56
  }
57
57
 
58
58
  .promo-block{
59
- @include callout($ash);
60
- @include show-for(medium);
61
59
  position: relative;
62
60
  overflow: auto;
63
61
 
64
62
  &__divider{
65
- @include show-for(large);
63
+ @include show-for(medium);
66
64
  position: absolute;
67
65
  color: $smoke;
68
66
  font-size: 1.75rem;
@@ -80,27 +78,67 @@
80
78
  }
81
79
 
82
80
  &__item{
81
+ @extend .clearfix;
83
82
  @include medium-4;
84
83
  text-align: center;
84
+
85
+ @include breakpoint(small down){
86
+ text-align: left;
87
+
88
+ p{
89
+ @include small-9;
90
+ }
91
+ }
85
92
  }
86
93
 
87
94
  &__icon-container{
95
+ margin: 0 0 $base-margin 0;
96
+ @include breakpoint(small down){
97
+ @include small-3;
98
+ padding: 0;
99
+ }
100
+ }
101
+
102
+ &__icon-background{
88
103
  width: 110px;
89
104
  height: 110px;
90
- margin: $base-margin*2 auto $base-margin*2 auto;
105
+ margin: 0 auto;
91
106
  background: $smoke;
107
+ position: relative;
108
+
109
+ @include breakpoint(small down){
110
+ width: 60%;
111
+ height: auto;
112
+ padding-top: 60%;
113
+ min-width: 65px;
114
+ min-height: 65px;
115
+ }
92
116
 
93
117
  &--round{
94
- @extend .promo-block__icon-container;
118
+ @extend .promo-block__icon-background;
95
119
  border-radius: 100%;
96
120
  }
97
121
  }
98
122
 
99
- &__icon{
100
- color: $white;
101
- font-size: 3.5rem;
102
- text-align: center;
103
- width: 100%;
104
- margin-top: 28px;
123
+ &__icon{
124
+ color: $white;
125
+ font-size: 4rem;
126
+ text-align: center;
127
+ width: 100%;
128
+ left: 0;
129
+ @include vertical-center;
130
+
131
+ @include breakpoint(small down){
132
+ font-size: 2.5rem;
105
133
  }
134
+
135
+ &-image{
136
+ @extend .promo-block__icon;
137
+ height: 50px;
138
+
139
+ @include breakpoint(small down){
140
+ height: 31px;
141
+ }
142
+ }
143
+ }
106
144
  }
@@ -165,6 +165,10 @@
165
165
  color: $white;
166
166
  }
167
167
  }
168
+
169
+ &--grey-border{
170
+ border: 2px solid $stone;
171
+ }
168
172
  }
169
173
 
170
174
  @function set-hint-color($color) {
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = '4.0.0'
2
+ VERSION = '4.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van den Beuken
@@ -18,7 +18,7 @@ authors:
18
18
  autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
- date: 2016-08-03 00:00:00.000000000 Z
21
+ date: 2016-08-18 00:00:00.000000000 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: foundation-rails
@@ -404,7 +404,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
404
404
  version: '0'
405
405
  requirements: []
406
406
  rubyforge_project:
407
- rubygems_version: 2.5.1
407
+ rubygems_version: 2.4.5.1
408
408
  signing_key:
409
409
  specification_version: 4
410
410
  summary: ".ama.ab.ca site layouts"