ama_layout 1.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.rspec +3 -0
- data/.simplecov +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +146 -0
- data/Rakefile +2 -0
- data/ama_layout.gemspec +33 -0
- data/app/assets/images/AMA-Logo.png +0 -0
- data/app/assets/images/alberta-blur.jpg +0 -0
- data/app/assets/images/footer-racetrack-big.png +0 -0
- data/app/assets/javascripts/ama_layout/ama_layout_namespace.js.coffee +1 -0
- data/app/assets/javascripts/ama_layout/desktop/drop_down.js.coffee +46 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-namespace.coffee +2 -0
- data/app/assets/javascripts/ama_layout/desktop/foundation-ready.js.coffee +2 -0
- data/app/assets/javascripts/ama_layout/desktop/header_menu.coffee +3 -0
- data/app/assets/javascripts/ama_layout/desktop/index.js +9 -0
- data/app/assets/javascripts/ama_layout/desktop/ready.js.coffee +3 -0
- data/app/assets/javascripts/ama_layout/desktop/sticky-footer.coffee +16 -0
- data/app/assets/javascripts/ama_layout/desktop/toggle_menu.js.coffee +8 -0
- data/app/assets/javascripts/ama_layout/mobile/index.js +4 -0
- data/app/assets/javascripts/ama_layout/mobile/mobile_menu.js.coffee +11 -0
- data/app/assets/javascripts/ama_layout/mobile/ready.js.coffee +2 -0
- data/app/assets/javascripts/ama_layout/mobile/tablesaw.stackonly.js +277 -0
- data/app/assets/stylesheets/ama_layout/application.scss +10 -0
- data/app/assets/stylesheets/ama_layout/foundation_and_overrides.scss +1486 -0
- data/app/assets/stylesheets/ama_layout/layout/base-styles.scss +60 -0
- data/app/assets/stylesheets/ama_layout/layout/helper-classes.scss +342 -0
- data/app/assets/stylesheets/ama_layout/layout/index.scss +3 -0
- data/app/assets/stylesheets/ama_layout/layout/variables.scss +32 -0
- data/app/assets/stylesheets/ama_layout/layout_components/accordions.scss +24 -0
- data/app/assets/stylesheets/ama_layout/layout_components/blue-boxes.scss +32 -0
- data/app/assets/stylesheets/ama_layout/layout_components/error-messages.scss +9 -0
- data/app/assets/stylesheets/ama_layout/layout_components/error-page.scss +25 -0
- data/app/assets/stylesheets/ama_layout/layout_components/forms.scss +189 -0
- data/app/assets/stylesheets/ama_layout/layout_components/index.scss +8 -0
- data/app/assets/stylesheets/ama_layout/layout_components/responsive-table.scss +175 -0
- data/app/assets/stylesheets/ama_layout/layout_components/sidebar.scss +170 -0
- data/app/assets/stylesheets/ama_layout/layout_components/siteheader.scss +14 -0
- data/app/assets/stylesheets/ama_layout/media_queries/index.scss +3 -0
- data/app/assets/stylesheets/ama_layout/media_queries/mobile-and-tablet.scss +14 -0
- data/app/assets/stylesheets/ama_layout/media_queries/mobile.scss +69 -0
- data/app/assets/stylesheets/ama_layout/media_queries/tablet.scss +13 -0
- data/app/assets/stylesheets/ama_layout/old-ie.scss +74 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.eot +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.scss +50 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.svg +982 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.ttf +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons-block.woff +0 -0
- data/app/assets/stylesheets/ama_layout/webfonts/ss-symbolicons.js +84 -0
- data/app/helpers/ama_layout_content_helper.rb +56 -0
- data/app/helpers/ama_layout_path_helper.rb +69 -0
- data/app/views/ama_layout/_alert.html.erb +3 -0
- data/app/views/ama_layout/_applogo.html.erb +3 -0
- data/app/views/ama_layout/_custom_nav_links.html.erb +0 -0
- data/app/views/ama_layout/_custom_sidebar.html.erb +1 -0
- data/app/views/ama_layout/_footer.html.erb +2 -0
- data/app/views/ama_layout/_main_nav_item.html.erb +7 -0
- data/app/views/ama_layout/_main_top_nav_item.html.erb +5 -0
- data/app/views/ama_layout/_notice.html.erb +5 -0
- data/app/views/ama_layout/_notices.html.erb +2 -0
- data/app/views/ama_layout/_sidebar.html.erb +11 -0
- data/app/views/ama_layout/_siteheader.html.erb +32 -0
- data/app/views/ama_layout/_sub_nav.html.erb +3 -0
- data/app/views/ama_layout/_sub_nav_item.html.erb +3 -0
- data/app/views/ama_layout/_top_nav.html.erb +12 -0
- data/app/views/ama_layout/_top_sub_nav.html.erb +3 -0
- data/app/views/ama_layout/_top_sub_nav_item.html.erb +4 -0
- data/lib/ama_layout.rb +19 -0
- data/lib/ama_layout/decorators/moneris_decorator.rb +9 -0
- data/lib/ama_layout/decorators/navigation_decorator.rb +24 -0
- data/lib/ama_layout/decorators/navigation_item_decorator.rb +30 -0
- data/lib/ama_layout/moneris.rb +12 -0
- data/lib/ama_layout/moneris/textbox.txt +61 -0
- data/lib/ama_layout/navigation.rb +33 -0
- data/lib/ama_layout/navigation.yml +66 -0
- data/lib/ama_layout/navigation_item.rb +21 -0
- data/lib/ama_layout/version.rb +3 -0
- data/spec/helpers/ama_layout_content_helper_spec.rb +131 -0
- data/spec/helpers/ama_layout_path_helper_spec.rb +117 -0
- data/spec/internal/config/database.yml +3 -0
- data/spec/internal/config/routes.rb +3 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +3 -0
- data/spec/internal/log/.gitignore +1 -0
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/spec_helper.rb +25 -0
- metadata +325 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
//blue boxes
|
2
|
+
|
3
|
+
.outer-quicklink-box {
|
4
|
+
width: 49.2%;
|
5
|
+
margin-right: 1.5%;
|
6
|
+
float:left;
|
7
|
+
a{
|
8
|
+
text-decoration:none;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.quicklink-box{
|
13
|
+
background:$brand-blue-light;
|
14
|
+
min-height:150px;
|
15
|
+
margin-top:$base-margin;
|
16
|
+
padding-top: 1px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.icon-box{
|
20
|
+
width:100px;
|
21
|
+
height:80px;
|
22
|
+
margin:$base-margin*4 auto $base-margin*0 auto;
|
23
|
+
background-repeat:no-repeat;
|
24
|
+
background-position:center center;
|
25
|
+
}
|
26
|
+
|
27
|
+
.box-title {
|
28
|
+
text-align: center;
|
29
|
+
color: white;
|
30
|
+
width: 90%;
|
31
|
+
margin:$base-margin*2 auto $base-margin*0 auto;
|
32
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
.error-page-emph{
|
2
|
+
color: $secondary-color;
|
3
|
+
}
|
4
|
+
|
5
|
+
.error-pg-width {
|
6
|
+
max-width: 650px !important;
|
7
|
+
margin:0 auto !important;
|
8
|
+
padding-left: 10px;
|
9
|
+
padding-right: 10px;
|
10
|
+
}
|
11
|
+
|
12
|
+
.error-pg-mb{
|
13
|
+
margin: 0 auto 40px auto !important;
|
14
|
+
}
|
15
|
+
|
16
|
+
.error-pg-num{
|
17
|
+
min-width: 50%;
|
18
|
+
min-height: 80px;
|
19
|
+
padding-top: 10px;
|
20
|
+
}
|
21
|
+
|
22
|
+
.error-pg-num-border{
|
23
|
+
border-left:1px solid $slate;
|
24
|
+
margin-top:0px;
|
25
|
+
}
|
@@ -0,0 +1,189 @@
|
|
1
|
+
.membership-card-radio{
|
2
|
+
text-align:center;
|
3
|
+
padding: 0;
|
4
|
+
width: 32%;
|
5
|
+
&.columns{
|
6
|
+
padding-left:0;
|
7
|
+
padding-right:0;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
.membership-card-radio-plus-primary{
|
11
|
+
text-align:center;
|
12
|
+
padding: 0;
|
13
|
+
width: 49%;
|
14
|
+
&.columns{
|
15
|
+
padding-left:0;
|
16
|
+
padding-right:0;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
/* ------------- Input Styles ------------- */
|
21
|
+
%inputs-thirds{
|
22
|
+
max-width: 30%;
|
23
|
+
float:left;
|
24
|
+
}
|
25
|
+
%inputs-halves{
|
26
|
+
max-width: 47.5%;
|
27
|
+
float:left;
|
28
|
+
}
|
29
|
+
|
30
|
+
/* ------------- Custom Radio Button + Checkbox Styles ------------- */
|
31
|
+
.checkboxes{
|
32
|
+
label{
|
33
|
+
padding: $base-padding*2;
|
34
|
+
width: 100%;
|
35
|
+
}
|
36
|
+
.box2{
|
37
|
+
margin-top: $base-margin*2;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
.checkbox-content{
|
41
|
+
display:inline;
|
42
|
+
padding-left: $base-padding*8;
|
43
|
+
}
|
44
|
+
.radio-label{
|
45
|
+
padding: $base-padding*2;
|
46
|
+
width: 100%;
|
47
|
+
}
|
48
|
+
.radio-options{
|
49
|
+
padding: 0;
|
50
|
+
width: 100%;
|
51
|
+
}
|
52
|
+
input[type="radio"], input[type="checkbox"]{
|
53
|
+
position: absolute;
|
54
|
+
left: -9999px;
|
55
|
+
margin: 0;
|
56
|
+
}
|
57
|
+
input[type="radio"] + label, input[type="checkbox"] + label{
|
58
|
+
background: $ash;
|
59
|
+
border: $base-border;
|
60
|
+
margin: 0;
|
61
|
+
&:nth-child(2){
|
62
|
+
margin-top: -1px;
|
63
|
+
}
|
64
|
+
.membership-card-header{
|
65
|
+
border-bottom: $base-border;
|
66
|
+
background: darken($ash, 4%);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
input[type="radio"] + label > span,
|
70
|
+
input[type="checkbox"] + label > span:first-of-type,
|
71
|
+
input[type="radio"] + label span{
|
72
|
+
display: inline-block;
|
73
|
+
width: 30px;
|
74
|
+
height: 30px;
|
75
|
+
margin: $base-margin 0 $base-margin*2;
|
76
|
+
vertical-align: top;
|
77
|
+
cursor: pointer;
|
78
|
+
-moz-border-radius: 50%;
|
79
|
+
border-radius: 50%;
|
80
|
+
background-color: $white;
|
81
|
+
border: $base-border;
|
82
|
+
}
|
83
|
+
|
84
|
+
input[type="checkbox"] + label > span:first-of-type{
|
85
|
+
max-width: 10%;
|
86
|
+
margin: $base-margin $base-margin*2 $base-margin 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
.checkbox-label{
|
90
|
+
display: inline-block;
|
91
|
+
width: 80%;
|
92
|
+
}
|
93
|
+
|
94
|
+
input[type="radio"]:checked + label > span,
|
95
|
+
input[type="radio"]:checked + label span{
|
96
|
+
background-color: $white;
|
97
|
+
border: 7px solid $secondary-color;
|
98
|
+
}
|
99
|
+
|
100
|
+
input[type="radio"]:checked + label{
|
101
|
+
background-color: $sky;
|
102
|
+
border: 1px solid $ocean;
|
103
|
+
position: relative;
|
104
|
+
&>hr{
|
105
|
+
border: solid $ocean;
|
106
|
+
border-width: 1px 0 0;
|
107
|
+
height: 0;
|
108
|
+
}
|
109
|
+
.membership-card-header{
|
110
|
+
border-bottom: 1px solid $ocean;
|
111
|
+
background: darken($sky, 4%);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
input[type="checkbox"]:checked + label{
|
116
|
+
position: relative;
|
117
|
+
}
|
118
|
+
|
119
|
+
[type="checkbox"]:checked + label:before{
|
120
|
+
content: '✔';
|
121
|
+
background-color: $secondary-color;
|
122
|
+
color: $white;
|
123
|
+
position: absolute;
|
124
|
+
width: 30px;
|
125
|
+
max-width: 10%;
|
126
|
+
height: 30px;
|
127
|
+
top: 15px;
|
128
|
+
padding-left: 6px;
|
129
|
+
font-size: $base-font-size*1.3;
|
130
|
+
-moz-border-radius: 50%;
|
131
|
+
border-radius: 50%;
|
132
|
+
margin: 0 $base-margin*2 $base-margin 0;
|
133
|
+
}
|
134
|
+
|
135
|
+
[type="checkbox"]:checked + label:after{
|
136
|
+
margin-left: $base-margin*6;
|
137
|
+
}
|
138
|
+
.month, .year{
|
139
|
+
@extend %inputs-thirds;
|
140
|
+
}
|
141
|
+
.day{
|
142
|
+
@extend %inputs-thirds;
|
143
|
+
margin: 0 5%;
|
144
|
+
}
|
145
|
+
|
146
|
+
/* ------------- Error Messaging ------------- */
|
147
|
+
.error small.error, small.error{
|
148
|
+
background: $brand-red;
|
149
|
+
}
|
150
|
+
.error label, .error label.error{
|
151
|
+
color: $brand-red;
|
152
|
+
}
|
153
|
+
|
154
|
+
.error-message{
|
155
|
+
background: $brand-red;
|
156
|
+
}
|
157
|
+
.join-birthdate small.error{
|
158
|
+
margin-top: $base-margin*8;
|
159
|
+
}
|
160
|
+
|
161
|
+
/* ------------- Moneris ------------- */
|
162
|
+
#monerisFrameSurround iframe, #monerisFrameSurround object, #monerisFrameSurround embed {
|
163
|
+
width: 100%;
|
164
|
+
}
|
165
|
+
.iframe-error {
|
166
|
+
margin-top: -8px !important;
|
167
|
+
}
|
168
|
+
|
169
|
+
form.moneris {
|
170
|
+
display: none;
|
171
|
+
}
|
172
|
+
|
173
|
+
/* ------------- For All IE ------------- */
|
174
|
+
input[type="text"]:-ms-input-placeholder,
|
175
|
+
input[type="password"]:-ms-input-placeholder,
|
176
|
+
input[type="date"]:-ms-input-placeholder,
|
177
|
+
input[type="datetime"]:-ms-input-placeholder,
|
178
|
+
input[type="datetime-local"]:-ms-input-placeholder,
|
179
|
+
input[type="month"]:-ms-input-placeholder,
|
180
|
+
input[type="week"]:-ms-input-placeholder,
|
181
|
+
input[type="email"]:-ms-input-placeholder,
|
182
|
+
input[type="number"]:-ms-input-placeholder,
|
183
|
+
input[type="search"]:-ms-input-placeholder,
|
184
|
+
input[type="tel"]:-ms-input-placeholder,
|
185
|
+
input[type="time"]:-ms-input-placeholder,
|
186
|
+
input[type="url"]:-ms-input-placeholder,
|
187
|
+
textarea{
|
188
|
+
color: darken($stone, 10%);
|
189
|
+
}
|
@@ -0,0 +1,175 @@
|
|
1
|
+
/*! Tablesaw - v1.0.4 - 2015-02-19
|
2
|
+
* https://github.com/filamentgroup/tablesaw
|
3
|
+
* Copyright (c) 2015 Filament Group; Licensed MIT */
|
4
|
+
/*! Tablesaw - v1.0.4 - 2015-02-19
|
5
|
+
* https://github.com/filamentgroup/tablesaw
|
6
|
+
* Copyright (c) 2015 Filament Group; Licensed MIT */
|
7
|
+
|
8
|
+
table.tablesaw{
|
9
|
+
empty-cells: show;
|
10
|
+
max-width: 100%;
|
11
|
+
width: 100%;
|
12
|
+
}
|
13
|
+
|
14
|
+
.tablesaw{
|
15
|
+
border-collapse: collapse;
|
16
|
+
width: 100%;
|
17
|
+
}
|
18
|
+
|
19
|
+
/* Structure */
|
20
|
+
|
21
|
+
.tablesaw{
|
22
|
+
border: 1px solid $smoke;
|
23
|
+
padding: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
.tablesaw th,
|
27
|
+
.tablesaw td{
|
28
|
+
-webkit-box-sizing: border-box;
|
29
|
+
-moz-box-sizing: border-box;
|
30
|
+
box-sizing: border-box;
|
31
|
+
padding: .5em .7em;
|
32
|
+
}
|
33
|
+
|
34
|
+
.tablesaw thead tr:first-child th{
|
35
|
+
padding-top: .9em;
|
36
|
+
padding-bottom: .7em;
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Table rows have a gray bottom stroke by default */
|
40
|
+
|
41
|
+
.tablesaw-stack tbody tr{
|
42
|
+
border-bottom: 1px solid $smoke;
|
43
|
+
}
|
44
|
+
|
45
|
+
.tablesaw-stack td .tablesaw-cell-label,
|
46
|
+
.tablesaw-stack th .tablesaw-cell-label{
|
47
|
+
display: none;
|
48
|
+
}
|
49
|
+
.tablesaw-stack thead{
|
50
|
+
background: lighten($smoke, 10%);
|
51
|
+
border-bottom: 1px solid $smoke;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* Mobile first styles: Begin with the stacked presentation at narrow widths */
|
55
|
+
|
56
|
+
@media only all{
|
57
|
+
/* Show the table cells as a block level element */
|
58
|
+
|
59
|
+
.tablesaw-stack td,
|
60
|
+
.tablesaw-stack th{
|
61
|
+
text-align: left;
|
62
|
+
display: block;
|
63
|
+
}
|
64
|
+
|
65
|
+
.tablesaw-stack tr{
|
66
|
+
clear: both;
|
67
|
+
display: table-row;
|
68
|
+
}
|
69
|
+
|
70
|
+
/* Make the label elements a percentage width */
|
71
|
+
|
72
|
+
.tablesaw-stack td .tablesaw-cell-label,
|
73
|
+
.tablesaw-stack th .tablesaw-cell-label{
|
74
|
+
display: block;
|
75
|
+
padding: 0 .6em 0 0;
|
76
|
+
width: 30%;
|
77
|
+
display: inline-block;
|
78
|
+
}
|
79
|
+
|
80
|
+
/* For grouped headers, have a different style to visually separate the levels by classing the first label in each col group */
|
81
|
+
|
82
|
+
.tablesaw-stack th .tablesaw-cell-label-top,
|
83
|
+
.tablesaw-stack td .tablesaw-cell-label-top{
|
84
|
+
display: block;
|
85
|
+
padding: .4em 0;
|
86
|
+
margin: .4em 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
.tablesaw-cell-label{
|
90
|
+
display: block;
|
91
|
+
}
|
92
|
+
|
93
|
+
/* Avoid double strokes when stacked */
|
94
|
+
|
95
|
+
.tablesaw-stack tbody th.group{
|
96
|
+
margin-top: -1px;
|
97
|
+
}
|
98
|
+
|
99
|
+
/* Avoid double strokes when stacked */
|
100
|
+
|
101
|
+
.tablesaw-stack th.group b.tablesaw-cell-label{
|
102
|
+
display: none !important;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
@mixin tablesaw-stack-max{
|
106
|
+
.tablesaw-stack thead td,
|
107
|
+
.tablesaw-stack thead th{
|
108
|
+
display: none;
|
109
|
+
}
|
110
|
+
.tablesaw-stack tbody td,
|
111
|
+
.tablesaw-stack tbody th{
|
112
|
+
clear: left;
|
113
|
+
float: left;
|
114
|
+
width: 100%;
|
115
|
+
}
|
116
|
+
.tablesaw-cell-label{
|
117
|
+
vertical-align: top;
|
118
|
+
}
|
119
|
+
.tablesaw-cell-content{
|
120
|
+
max-width: 67%;
|
121
|
+
display: inline-block;
|
122
|
+
}
|
123
|
+
.tablesaw-stack td:empty,
|
124
|
+
.tablesaw-stack th:empty{
|
125
|
+
display: none;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
@mixin tablesaw-stack-min{
|
130
|
+
.tablesaw-stack tr{
|
131
|
+
display: table-row;
|
132
|
+
}
|
133
|
+
/* Show the table header rows */
|
134
|
+
.tablesaw-stack td,
|
135
|
+
.tablesaw-stack th,
|
136
|
+
.tablesaw-stack thead td,
|
137
|
+
.tablesaw-stack thead th{
|
138
|
+
display: table-cell;
|
139
|
+
margin: 0;
|
140
|
+
}
|
141
|
+
/* Hide the labels in each cell */
|
142
|
+
.tablesaw-stack td .tablesaw-cell-label,
|
143
|
+
.tablesaw-stack th .tablesaw-cell-label{
|
144
|
+
display: none !important;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
$use-respond-mixins: false !default;
|
149
|
+
@mixin tablesaw-stack( $breakpoint: 40em ){
|
150
|
+
@if $use-respond-mixins{
|
151
|
+
@include respond-max($breakpoint - .0625){
|
152
|
+
@include tablesaw-stack-max;
|
153
|
+
}
|
154
|
+
@include respond-min($breakpoint){
|
155
|
+
@include tablesaw-stack-min;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
@else{
|
159
|
+
@media (max-width: ($breakpoint - .0625)){
|
160
|
+
@include tablesaw-stack-max;
|
161
|
+
}
|
162
|
+
@media (min-width: $breakpoint){
|
163
|
+
@include tablesaw-stack-min;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
.tablesaw-parent{
|
168
|
+
@include tablesaw-stack( 50em );
|
169
|
+
table tr.even, table tr.alt, table tr:nth-of-type(even){
|
170
|
+
background: darken($ash, 1%);
|
171
|
+
}
|
172
|
+
table{
|
173
|
+
margin-bottom: 0;
|
174
|
+
}
|
175
|
+
}
|
@@ -0,0 +1,170 @@
|
|
1
|
+
.dashboard-title{
|
2
|
+
font-size: $base-font-size*0.875;
|
3
|
+
font-weight: normal;
|
4
|
+
color: $charcoal;
|
5
|
+
text-transform: uppercase;
|
6
|
+
background: $white;
|
7
|
+
padding: $base-padding*3;
|
8
|
+
}
|
9
|
+
.dashboard-title:first-child{
|
10
|
+
@extend .mt0;
|
11
|
+
}
|
12
|
+
.dashboard-nav{
|
13
|
+
width: 100%;
|
14
|
+
background: $white;
|
15
|
+
display: block;
|
16
|
+
margin-top: $base-margin*2;
|
17
|
+
text-transform: capitalize;
|
18
|
+
padding: $base-margin*0;
|
19
|
+
overflow: hidden;
|
20
|
+
|
21
|
+
a{
|
22
|
+
font-family: $font-family-sans-serif;
|
23
|
+
font-size: $base-font-size*1.125;
|
24
|
+
color: $charcoal;
|
25
|
+
text-decoration: none;
|
26
|
+
display: block;
|
27
|
+
width: 100%;
|
28
|
+
padding: 18px;
|
29
|
+
|
30
|
+
&:hover,
|
31
|
+
&:active{
|
32
|
+
color: $white;
|
33
|
+
}
|
34
|
+
|
35
|
+
span{
|
36
|
+
margin-top: $base-margin*3;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&:hover,
|
41
|
+
&:active,
|
42
|
+
&.activepage{
|
43
|
+
background: $brand-blue-light;
|
44
|
+
|
45
|
+
a{
|
46
|
+
color: $white;
|
47
|
+
max-height: inherit;
|
48
|
+
}
|
49
|
+
|
50
|
+
span.nav-icon{
|
51
|
+
color: $white;
|
52
|
+
}
|
53
|
+
|
54
|
+
.inner-nav{
|
55
|
+
max-height: 200px;
|
56
|
+
visibility: visible;
|
57
|
+
opacity: 1;
|
58
|
+
margin-top: 0;
|
59
|
+
}
|
60
|
+
a.sub-nav.activepage{
|
61
|
+
text-decoration: underline;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.inner-nav li:hover,
|
66
|
+
.inner-nav li:active{
|
67
|
+
text-decoration: underline;
|
68
|
+
}
|
69
|
+
|
70
|
+
span{
|
71
|
+
display: block;
|
72
|
+
font-size: $base-font-size*0.75;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.inner-nav{
|
77
|
+
visibility: hidden;
|
78
|
+
max-height: 0;
|
79
|
+
-webkit-transition: max-height 0.15s ease-out;
|
80
|
+
-moz-transition: max-height 0.15s ease-out;
|
81
|
+
transition: max-height 0.15s ease-out;
|
82
|
+
margin-left: 74px;
|
83
|
+
margin-top: -$base-margin*3;
|
84
|
+
list-style: none;
|
85
|
+
li{
|
86
|
+
color: $white;
|
87
|
+
}
|
88
|
+
|
89
|
+
a{
|
90
|
+
padding: $base-margin*0;
|
91
|
+
font-size: $base-font-size*0.875;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
a.activepage{
|
95
|
+
background: $brand-blue-light;
|
96
|
+
color: $white;
|
97
|
+
}
|
98
|
+
.sidebar{
|
99
|
+
@extend .white-trans;
|
100
|
+
padding: $base-padding*4;
|
101
|
+
|
102
|
+
p{
|
103
|
+
margin-bottom: $base-margin*2;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
span.nav-icon{
|
108
|
+
width: 40px;
|
109
|
+
height: 29px;
|
110
|
+
float: left;
|
111
|
+
margin: $base-margin*2;
|
112
|
+
margin-top: $base-margin*4;
|
113
|
+
font-size: $base-font-size*1.5;
|
114
|
+
color: rgb(179, 179, 179);
|
115
|
+
text-align: center;
|
116
|
+
}
|
117
|
+
|
118
|
+
span.activepage{
|
119
|
+
color: $white;
|
120
|
+
}
|
121
|
+
|
122
|
+
/* Top-Bar Styles */
|
123
|
+
.contain-to-grid .top-bar{
|
124
|
+
@extend .row;
|
125
|
+
}
|
126
|
+
|
127
|
+
.title-area li.name img{
|
128
|
+
padding-top: $base-padding*2;
|
129
|
+
}
|
130
|
+
|
131
|
+
.top-bar a{
|
132
|
+
text-decoration: none;
|
133
|
+
}
|
134
|
+
|
135
|
+
.dropdown-open-link{
|
136
|
+
min-width: 201px; //The 1 px accounts for the border on the dropdown
|
137
|
+
}
|
138
|
+
|
139
|
+
.top-bar-nav.fixed{
|
140
|
+
max-height: 50px;
|
141
|
+
}
|
142
|
+
|
143
|
+
ul.dropdown:not(.nested){
|
144
|
+
-webkit-box-shadow: 0px 8px -5px -5px rgba(50,50,50,0.5);
|
145
|
+
-moz-box-shadow: 0px 8px -5px -5px rgba(50,50,50,0.5);
|
146
|
+
box-shadow: 0px 8px 20px -5px rgba(50,50,50,0.5);
|
147
|
+
border-left: solid 1px darken($brand-blue-light, 5%);
|
148
|
+
border-right: solid 1px darken($brand-blue-light, 5%);
|
149
|
+
margin-top: -5px;
|
150
|
+
}
|
151
|
+
|
152
|
+
.dropdown{
|
153
|
+
.nested{
|
154
|
+
margin-top: -1px;
|
155
|
+
border-right: solid 1px darken($brand-blue-light, 5%);
|
156
|
+
border-left: solid 1px darken($brand-blue-light, 5%);
|
157
|
+
|
158
|
+
li{
|
159
|
+
background: lighten($brand-blue-light, 3%);
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
.title.back a{
|
164
|
+
font-weight: bold;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
.sub-nav {
|
169
|
+
margin-left: -14px;
|
170
|
+
}
|