ilstyle 0.4.3 → 0.4.4
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 +4 -4
- data/README.rdoc +19 -1
- data/app/assets/stylesheets/ilstyle/1024.css +20 -0
- data/app/assets/stylesheets/ilstyle/10cols.css +78 -0
- data/app/assets/stylesheets/ilstyle/11cols.css +84 -0
- data/app/assets/stylesheets/ilstyle/12cols.css +0 -0
- data/app/assets/stylesheets/ilstyle/2cols.css +21 -0
- data/app/assets/stylesheets/ilstyle/3cols.css +29 -0
- data/app/assets/stylesheets/ilstyle/480.css +139 -0
- data/app/assets/stylesheets/ilstyle/4cols.css +36 -0
- data/app/assets/stylesheets/ilstyle/5cols.css +43 -0
- data/app/assets/stylesheets/ilstyle/6cols.css +50 -0
- data/app/assets/stylesheets/ilstyle/768.css +22 -0
- data/app/assets/stylesheets/ilstyle/7cols.css +57 -0
- data/app/assets/stylesheets/ilstyle/8cols.css +64 -0
- data/app/assets/stylesheets/ilstyle/9cols.css +71 -0
- data/app/assets/stylesheets/ilstyle/_colours.css.scss +13 -0
- data/app/assets/stylesheets/ilstyle/_grid.css.scss +30 -0
- data/app/assets/stylesheets/ilstyle/col.css +42 -0
- data/app/assets/stylesheets/ilstyle/i-level.css.scss +2 -14
- data/app/assets/stylesheets/ilstyle/mobile.css.scss +259 -0
- data/app/assets/stylesheets/ilstyle/tablet.css.scss +78 -0
- data/lib/ilstyle/version.rb +1 -1
- metadata +21 -6
- data/doc/Custom Drop-Down List Styling | Codrops.webloc +0 -0
- data/doc/CustomDropDownListStyling.zip +0 -0
- data/doc/prototype- eigen calls inzien.png +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1dabb73c09cf8af4824ec820e254c2f64764393
|
|
4
|
+
data.tar.gz: da6b712999d89d47e86e5089e4a39a1ac9e8cbcd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 281af71a9560c0e5d2b5254ceca49076f07f2518f7d96c4c839d39a08ff4450f9070aabf7d9bb8f105c09f06c56fbfccbb1311a3b5c79816607892b8d130d0ad
|
|
7
|
+
data.tar.gz: 3f9be1505ea0bd9685af9f4db72994267e46ef34b9c23a01517041dbd6d3ff1ba6d379210464117d2e523eef7889955104f0656f8b0b92bbb9ad334d9368982d
|
data/README.rdoc
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
1
|
= Ilstyle
|
|
2
2
|
|
|
3
|
-
This project
|
|
3
|
+
This project allows static assets to be shared between Rails projects.
|
|
4
|
+
|
|
5
|
+
== Sharing assets using gems
|
|
6
|
+
|
|
7
|
+
To share assets using a gem, the files-to-be-shared must be placed inside the folder as if this gem is a rails project. This means in must be put into "ilstyle/app/assets/XX/"
|
|
8
|
+
|
|
9
|
+
= Fluid Grid
|
|
10
|
+
|
|
11
|
+
To understand what a Fluid grid is, read the following:
|
|
12
|
+
http://alistapart.com/article/fluidgrids
|
|
13
|
+
|
|
14
|
+
Changes in our implementation is using em sizes instead of percentages. This allows grid classes to be used within columns.
|
|
15
|
+
|
|
16
|
+
http://www.responsivegridsystem.com
|
|
17
|
+
This was used to get the foundation for a grid system. We changed percentages to em sizes to create a fluid responsive grid.
|
|
18
|
+
|
|
19
|
+
To understand how to use mediaqueries to load a different CSS depending on screen-size or orientation, read: http://matthewjamestaylor.com/blog/ipad-layout-with-landscape-portrait-modes
|
|
20
|
+
|
|
21
|
+
Responsive, Fluid, Grid, Media Queries, the explanation on http://www.adamkaplan.me/grid/ shows how it all can be combined to create a modern web app.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* MAKE LAYOUT RESPONSIVE at 1024px FOR SMALLER SCREENS ================================================================ */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
header {
|
|
6
|
+
width: 93.75%; /* 960px / 1024px */
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
#maincontent{
|
|
10
|
+
width: 93.75%; /* 960px / 1024px */
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.maincontent{
|
|
14
|
+
width: 93.75%; /* 960px / 1024px */
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
footer {
|
|
18
|
+
width: 93.75%; /* 960px / 1024px */
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* GRID OF TEN ============================================================================= */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.span_10_of_10 {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.span_9_of_10 {
|
|
9
|
+
width: 89.84%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.span_8_of_10 {
|
|
13
|
+
width: 79.68%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.span_7_of_10 {
|
|
17
|
+
width: 69.52%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.span_6_of_10 {
|
|
21
|
+
width: 59.36%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.span_5_of_10 {
|
|
25
|
+
width: 49.2%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.span_4_of_10 {
|
|
29
|
+
width: 39.04%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.span_3_of_10 {
|
|
33
|
+
width: 28.88%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.span_2_of_10 {
|
|
37
|
+
width: 18.72%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.span_1_of_10 {
|
|
41
|
+
width: 8.56%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
46
|
+
|
|
47
|
+
@media only screen and (max-width: 480px) {
|
|
48
|
+
.span_10_of_10 {
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
.span_9_of_10 {
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
.span_8_of_10 {
|
|
55
|
+
width: 100%;
|
|
56
|
+
}
|
|
57
|
+
.span_7_of_10 {
|
|
58
|
+
width: 100%;
|
|
59
|
+
}
|
|
60
|
+
.span_6_of_10 {
|
|
61
|
+
width: 100%;
|
|
62
|
+
}
|
|
63
|
+
.span_5_of_10 {
|
|
64
|
+
width: 100%;
|
|
65
|
+
}
|
|
66
|
+
.span_4_of_10 {
|
|
67
|
+
width: 100%;
|
|
68
|
+
}
|
|
69
|
+
.span_3_of_10 {
|
|
70
|
+
width: 100%;
|
|
71
|
+
}
|
|
72
|
+
.span_2_of_10 {
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
.span_1_of_10 {
|
|
76
|
+
width: 100%;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* GRID OF ELEVEN ============================================================================= */
|
|
2
|
+
|
|
3
|
+
.span_11_of_11 {
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.span_10_of_11 {
|
|
8
|
+
width: 90.76%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.span_9_of_11 {
|
|
12
|
+
width: 81.52%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.span_8_of_11 {
|
|
16
|
+
width: 72.29%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.span_7_of_11 {
|
|
20
|
+
width: 63.05%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.span_6_of_11 {
|
|
24
|
+
width: 53.81%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.span_5_of_11 {
|
|
28
|
+
width: 44.58%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.span_4_of_11 {
|
|
32
|
+
width: 35.34%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.span_3_of_11 {
|
|
36
|
+
width: 26.1%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.span_2_of_11 {
|
|
40
|
+
width: 16.87%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.span_1_of_11 {
|
|
44
|
+
width: 7.63%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
49
|
+
|
|
50
|
+
@media only screen and (max-width: 480px) {
|
|
51
|
+
.span_11_of_11 {
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
.span_10_of_11 {
|
|
55
|
+
width: 100%;
|
|
56
|
+
}
|
|
57
|
+
.span_9_of_11 {
|
|
58
|
+
width: 100%;
|
|
59
|
+
}
|
|
60
|
+
.span_8_of_11 {
|
|
61
|
+
width: 100%;
|
|
62
|
+
}
|
|
63
|
+
.span_7_of_11 {
|
|
64
|
+
width: 100%;
|
|
65
|
+
}
|
|
66
|
+
.span_6_of_11 {
|
|
67
|
+
width: 100%;
|
|
68
|
+
}
|
|
69
|
+
.span_5_of_11 {
|
|
70
|
+
width: 100%;
|
|
71
|
+
}
|
|
72
|
+
.span_4_of_11 {
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
.span_3_of_11 {
|
|
76
|
+
width: 100%;
|
|
77
|
+
}
|
|
78
|
+
.span_2_of_11 {
|
|
79
|
+
width: 100%;
|
|
80
|
+
}
|
|
81
|
+
.span_1_of_11 {
|
|
82
|
+
width: 100%;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* GRID OF TWO ============================================================================= */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.span_2_of_2 {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.span_1_of_2 {
|
|
9
|
+
width: 49.2%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
13
|
+
|
|
14
|
+
@media only screen and (max-width: 480px) {
|
|
15
|
+
.span_2_of_2 {
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
.span_1_of_2 {
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* GRID OF THREE ============================================================================= */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.span_3_of_3 {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.span_2_of_3 {
|
|
9
|
+
width: 66.13%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.span_1_of_3 {
|
|
13
|
+
width: 32.26%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
18
|
+
|
|
19
|
+
@media only screen and (max-width: 480px) {
|
|
20
|
+
.span_3_of_3 {
|
|
21
|
+
width: 100%;
|
|
22
|
+
}
|
|
23
|
+
.span_2_of_3 {
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
26
|
+
.span_1_of_3 {
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/* MAKE LAYOUT RESPONSIVE at 480px FOR IPHONE LANDSCAPE ============================================ */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
header {
|
|
6
|
+
width: 93.75%; /* 450px / 480px */
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
#maincontent{
|
|
11
|
+
width: 93.75%; /* 450px / 480px */
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
.maincontent{
|
|
16
|
+
width: 93.75%; /* 450px / 480px */
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
footer {
|
|
21
|
+
width: 93.75%; /* 450px / 480px */
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/* GRID OF EIGHT TURNS INTO A GRID OF FOUR */
|
|
27
|
+
|
|
28
|
+
.span_8_of_8 {
|
|
29
|
+
width: 100%;
|
|
30
|
+
margin-left: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.span_7_of_8 {
|
|
34
|
+
width: 100%;
|
|
35
|
+
margin-left: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.span_6_of_8 {
|
|
39
|
+
width: 100%;
|
|
40
|
+
margin-left: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.span_5_of_8 {
|
|
44
|
+
width: 100%;
|
|
45
|
+
margin-left: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.span_4_of_8 {
|
|
49
|
+
width: 100%;
|
|
50
|
+
margin-left: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.span_3_of_8 {
|
|
54
|
+
width: 74.2%;
|
|
55
|
+
margin: 1% 0 1% 3.2%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.span_2_of_8 {
|
|
59
|
+
width: 48.4%;
|
|
60
|
+
margin: 1% 0 1% 3.2%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.span_1_of_8 {
|
|
64
|
+
width: 22.6%;
|
|
65
|
+
margin: 1% 0 1% 3.2%;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.span_1_of_8:nth-child(4n+1) {
|
|
69
|
+
clear: both;
|
|
70
|
+
margin-left: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Except in the Example and in the Sample */
|
|
74
|
+
|
|
75
|
+
#example .maincontent .span_8_of_8 {
|
|
76
|
+
width: 100%;
|
|
77
|
+
margin-left: 0;
|
|
78
|
+
}
|
|
79
|
+
#example .maincontent .span_7_of_8 {
|
|
80
|
+
width: 100%;
|
|
81
|
+
margin-left: 0;
|
|
82
|
+
}
|
|
83
|
+
#example .maincontent .span_6_of_8 {
|
|
84
|
+
width: 100%;
|
|
85
|
+
margin-left: 0;
|
|
86
|
+
}
|
|
87
|
+
#example .maincontent .span_5_of_8 {
|
|
88
|
+
width: 100%;
|
|
89
|
+
margin-left: 0;
|
|
90
|
+
}
|
|
91
|
+
#example .maincontent .span_4_of_8 {
|
|
92
|
+
width: 100%;
|
|
93
|
+
margin-left: 0;
|
|
94
|
+
}
|
|
95
|
+
#example .maincontent .span_3_of_8 {
|
|
96
|
+
width: 100%;
|
|
97
|
+
margin-left: 0;
|
|
98
|
+
}
|
|
99
|
+
#example .maincontent .span_2_of_8 {
|
|
100
|
+
width: 100%%;
|
|
101
|
+
margin-left: 0;
|
|
102
|
+
}
|
|
103
|
+
#example .maincontent .span_1_of_8 {
|
|
104
|
+
width: 100%;
|
|
105
|
+
margin-left: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
#sample .maincontent .span_8_of_8 {
|
|
109
|
+
width: 100%;
|
|
110
|
+
margin-left: 0;
|
|
111
|
+
}
|
|
112
|
+
#sample .maincontent .span_7_of_8 {
|
|
113
|
+
width: 100%;
|
|
114
|
+
margin-left: 0;
|
|
115
|
+
}
|
|
116
|
+
#sample .maincontent .span_6_of_8 {
|
|
117
|
+
width: 100%;
|
|
118
|
+
margin-left: 0;
|
|
119
|
+
}
|
|
120
|
+
#sample .maincontent .span_5_of_8 {
|
|
121
|
+
width: 100%;
|
|
122
|
+
margin-left: 0;
|
|
123
|
+
}
|
|
124
|
+
#sample .maincontent .span_4_of_8 {
|
|
125
|
+
width: 100%;
|
|
126
|
+
margin-left: 0;
|
|
127
|
+
}
|
|
128
|
+
#sample .maincontent .span_3_of_8 {
|
|
129
|
+
width: 100%;
|
|
130
|
+
margin-left: 0;
|
|
131
|
+
}
|
|
132
|
+
#sample .maincontent .span_2_of_8 {
|
|
133
|
+
width: 100%%;
|
|
134
|
+
margin-left: 0;
|
|
135
|
+
}
|
|
136
|
+
#sample .maincontent .span_1_of_8 {
|
|
137
|
+
width: 100%;
|
|
138
|
+
margin-left: 0;
|
|
139
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* GRID OF FOUR ============================================================================= */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.span_4_of_4 {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.span_3_of_4 {
|
|
9
|
+
width: 74.6%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.span_2_of_4 {
|
|
13
|
+
width: 49.2%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.span_1_of_4 {
|
|
17
|
+
width: 23.8%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
22
|
+
|
|
23
|
+
@media only screen and (max-width: 480px) {
|
|
24
|
+
.span_4_of_4 {
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
.span_3_of_4 {
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
.span_2_of_4 {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
.span_1_of_4 {
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* GRID OF FIVE ============================================================================= */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.span_5_of_5 {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.span_4_of_5 {
|
|
9
|
+
width: 79.68%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.span_3_of_5 {
|
|
13
|
+
width: 59.36%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.span_2_of_5 {
|
|
17
|
+
width: 39.04%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.span_1_of_5 {
|
|
21
|
+
width: 18.72%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
26
|
+
|
|
27
|
+
@media only screen and (max-width: 480px) {
|
|
28
|
+
.span_5_of_5 {
|
|
29
|
+
width: 100%;
|
|
30
|
+
}
|
|
31
|
+
.span_4_of_5 {
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
.span_3_of_5 {
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
37
|
+
.span_2_of_5 {
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
.span_1_of_5 {
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* GRID OF SIX ============================================================================= */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.span_6_of_6 {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.span_5_of_6 {
|
|
9
|
+
width: 83.06%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.span_4_of_6 {
|
|
13
|
+
width: 66.13%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.span_3_of_6 {
|
|
17
|
+
width: 49.2%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.span_2_of_6 {
|
|
21
|
+
width: 32.26%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.span_1_of_6 {
|
|
25
|
+
width: 15.33%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
30
|
+
|
|
31
|
+
@media only screen and (max-width: 480px) {
|
|
32
|
+
.span_6_of_6 {
|
|
33
|
+
width: 100%;
|
|
34
|
+
}
|
|
35
|
+
.span_5_of_6 {
|
|
36
|
+
width: 100%;
|
|
37
|
+
}
|
|
38
|
+
.span_4_of_6 {
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
41
|
+
.span_3_of_6 {
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
|
+
.span_2_of_6 {
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
.span_1_of_6 {
|
|
48
|
+
width: 100%;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* MAKE LAYOUT RESPONSIVE at 768px FOR IPAD PORTRAIT ================================================================ */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
header {
|
|
6
|
+
width: 93.75%; /* 720px / 768px */
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
#maincontent{
|
|
10
|
+
width: 93.75%; /* 720px / 768px */
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
.maincontent{
|
|
15
|
+
width: 93.75%; /* 720px / 768px */
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
footer {
|
|
20
|
+
width: 93.75%; /* 720px / 768px */
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* GRID OF SEVEN ============================================================================= */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.span_7_of_7 {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.span_6_of_7 {
|
|
9
|
+
width: 85.48%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.span_5_of_7 {
|
|
13
|
+
width: 70.97%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.span_4_of_7 {
|
|
17
|
+
width: 56.45%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.span_3_of_7 {
|
|
21
|
+
width: 41.94%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.span_2_of_7 {
|
|
25
|
+
width: 27.42%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.span_1_of_7 {
|
|
29
|
+
width: 12.91%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
34
|
+
|
|
35
|
+
@media only screen and (max-width: 480px) {
|
|
36
|
+
.span_7_of_7 {
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
.span_6_of_7 {
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
.span_5_of_7 {
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
.span_4_of_7 {
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
.span_3_of_7 {
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
.span_2_of_7 {
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
.span_1_of_7 {
|
|
55
|
+
width: 100%;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* GRID OF EIGHT ============================================================================= */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.span_8_of_8 {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.span_7_of_8 {
|
|
9
|
+
width: 87.3%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.span_6_of_8 {
|
|
13
|
+
width: 74.6%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.span_5_of_8 {
|
|
17
|
+
width: 61.9%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.span_4_of_8 {
|
|
21
|
+
width: 49.2%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.span_3_of_8 {
|
|
25
|
+
width: 36.5%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.span_2_of_8 {
|
|
29
|
+
width: 23.8%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.span_1_of_8 {
|
|
33
|
+
width: 11.1%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
38
|
+
|
|
39
|
+
@media only screen and (max-width: 480px) {
|
|
40
|
+
.span_8_of_8 {
|
|
41
|
+
width: 100%;
|
|
42
|
+
}
|
|
43
|
+
.span_7_of_8 {
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
.span_6_of_8 {
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
.span_5_of_8 {
|
|
50
|
+
width: 100%;
|
|
51
|
+
}
|
|
52
|
+
.span_4_of_8 {
|
|
53
|
+
width: 100%;
|
|
54
|
+
}
|
|
55
|
+
.span_3_of_8 {
|
|
56
|
+
width: 100%;
|
|
57
|
+
}
|
|
58
|
+
.span_2_of_8 {
|
|
59
|
+
width: 100%;
|
|
60
|
+
}
|
|
61
|
+
.span_1_of_8 {
|
|
62
|
+
width: 100%;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* GRID OF NINE ============================================================================= */
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.span_9_of_9 {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.span_8_of_9 {
|
|
9
|
+
width: 88.71%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.span_7_of_9 {
|
|
13
|
+
width: 77.42%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.span_6_of_9 {
|
|
17
|
+
width: 66.13%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.span_5_of_9 {
|
|
21
|
+
width: 54.84%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.span_4_of_9 {
|
|
25
|
+
width: 43.55%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.span_3_of_9 {
|
|
29
|
+
width: 32.26%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.span_2_of_9 {
|
|
33
|
+
width: 20.97%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.span_1_of_9 {
|
|
37
|
+
width: 9.68%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
42
|
+
|
|
43
|
+
@media only screen and (max-width: 480px) {
|
|
44
|
+
.span_9_of_9 {
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
.span_8_of_9 {
|
|
48
|
+
width: 100%;
|
|
49
|
+
}
|
|
50
|
+
.span_7_of_9 {
|
|
51
|
+
width: 100%;
|
|
52
|
+
}
|
|
53
|
+
.span_6_of_9 {
|
|
54
|
+
width: 100%;
|
|
55
|
+
}
|
|
56
|
+
.span_5_of_9 {
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
|
59
|
+
.span_4_of_9 {
|
|
60
|
+
width: 100%;
|
|
61
|
+
}
|
|
62
|
+
.span_3_of_9 {
|
|
63
|
+
width: 100%;
|
|
64
|
+
}
|
|
65
|
+
.span_2_of_9 {
|
|
66
|
+
width: 100%;
|
|
67
|
+
}
|
|
68
|
+
.span_1_of_9 {
|
|
69
|
+
width: 100%;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Define colours */
|
|
2
|
+
$ilorange:#F57E29;
|
|
3
|
+
$ilorangelight:#fe854b;
|
|
4
|
+
$ilgray:#535353;
|
|
5
|
+
$ilgraylight:#a6a6a6;
|
|
6
|
+
$ilblue:#0E719F;
|
|
7
|
+
$ilgreen:#0ec505;
|
|
8
|
+
$ildarkgreen:#01992b;
|
|
9
|
+
$ilred:#fc2727;
|
|
10
|
+
$ildarkred: #ff0c37;
|
|
11
|
+
$ilredlight: #ff949a;
|
|
12
|
+
$ilbackground: #e4e4e4;
|
|
13
|
+
$ilyellow: #ffc974;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* GRID OF TWELVE ============================================================================= */
|
|
2
|
+
|
|
3
|
+
.span_12_of_12 { width: 100%; }
|
|
4
|
+
.span_11_of_12 { width: 91.53%; }
|
|
5
|
+
.span_10_of_12 { width: 83.06%; }
|
|
6
|
+
.span_9_of_12 { width: 74.6%; }
|
|
7
|
+
.span_8_of_12 { width: 66.13%; }
|
|
8
|
+
.span_7_of_12 { width: 57.66%; }
|
|
9
|
+
.span_6_of_12 { width: 49.2%; }
|
|
10
|
+
.span_5_of_12 { width: 40.73%; }
|
|
11
|
+
.span_4_of_12 { width: 32.26%; }
|
|
12
|
+
.span_3_of_12 { width: 23.8%; }
|
|
13
|
+
.span_2_of_12 { width: 15.33%; }
|
|
14
|
+
.span_1_of_12 { width: 6.86%; }
|
|
15
|
+
|
|
16
|
+
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
|
|
17
|
+
@media only screen and (max-width: 480px) {
|
|
18
|
+
.span_12_of_12,
|
|
19
|
+
.span_11_of_12,
|
|
20
|
+
.span_10_of_12,
|
|
21
|
+
.span_9_of_12,
|
|
22
|
+
.span_8_of_12,
|
|
23
|
+
.span_7_of_12,
|
|
24
|
+
.span_6_of_12,
|
|
25
|
+
.span_5_of_12,
|
|
26
|
+
.span_4_of_12,
|
|
27
|
+
.span_3_of_12,
|
|
28
|
+
.span_2_of_12,
|
|
29
|
+
.span_1_of_12 { width: 100%; }
|
|
30
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
/* SECTIONS ============================================================================= */
|
|
3
|
+
|
|
4
|
+
.section {
|
|
5
|
+
clear: both;
|
|
6
|
+
padding: 0px;
|
|
7
|
+
margin: 0px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* GROUPING ============================================================================= */
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
.group:before,
|
|
14
|
+
.group:after {
|
|
15
|
+
content:"";
|
|
16
|
+
display:table;
|
|
17
|
+
}
|
|
18
|
+
.group:after {
|
|
19
|
+
clear:both;
|
|
20
|
+
}
|
|
21
|
+
.group {
|
|
22
|
+
zoom:1; /* For IE 6/7 (trigger hasLayout) */
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* GRID COLUMN SETUP ==================================================================== */
|
|
26
|
+
|
|
27
|
+
.col {
|
|
28
|
+
display: block;
|
|
29
|
+
float:left;
|
|
30
|
+
margin: 1% 0 1% 1.6%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
/* REMOVE MARGINS AS ALL GO FULL WIDTH AT 480 PIXELS */
|
|
37
|
+
|
|
38
|
+
@media only screen and (max-width: 480px) {
|
|
39
|
+
.col {
|
|
40
|
+
margin: 1% 0 1% 0%;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
/* Regular CSS file for i-level look */
|
|
2
2
|
/* Imports */
|
|
3
3
|
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400);
|
|
4
|
-
|
|
5
|
-
/* Define colours */
|
|
6
|
-
$ilorange:#F57E29;
|
|
7
|
-
$ilorangelight:#fe854b;
|
|
8
|
-
$ilgray:#535353;
|
|
9
|
-
$ilgraylight:#a6a6a6;
|
|
10
|
-
$ilblue:#0E719F;
|
|
11
|
-
$ilgreen:#0ec505;
|
|
12
|
-
$ildarkgreen:#01992b;
|
|
13
|
-
$ilred:#fc2727;
|
|
14
|
-
$ildarkred: #ff0c37;
|
|
15
|
-
$ilredlight: #ff949a;
|
|
16
|
-
$ilbackground: #e4e4e4;
|
|
17
|
-
$ilyellow: #ffc974;
|
|
4
|
+
@import 'colours';
|
|
18
5
|
|
|
19
6
|
/************************************
|
|
20
7
|
** Text *
|
|
@@ -299,6 +286,7 @@ nav[role=navigation]{
|
|
|
299
286
|
li:hover ul{
|
|
300
287
|
display:block;
|
|
301
288
|
color: white;
|
|
289
|
+
position: absolute;
|
|
302
290
|
}
|
|
303
291
|
|
|
304
292
|
li.last ul{
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
@import 'colours';
|
|
2
|
+
@import 'global_mixins';
|
|
3
|
+
|
|
4
|
+
/* NOTE: Put globals in tablet.css.scss as it is loaded BEFORE mobile */
|
|
5
|
+
|
|
6
|
+
/* set size values and OS Specific changes */
|
|
7
|
+
/* MARK: iPhone Portrait */
|
|
8
|
+
@media only screen and ( min-width: 320px ) and (max-width: 479px ){
|
|
9
|
+
$mobile-width: 22.786em;
|
|
10
|
+
|
|
11
|
+
.span_1_of_6{ width: 7.524em; } /* used in navigation */
|
|
12
|
+
#mainNavigation div:nth-child(3n+3){ width: 7.571em; }
|
|
13
|
+
/* set size mobile width */
|
|
14
|
+
aside article, .span_16_of_16, .span_15_of_16, .span_14_of_16,
|
|
15
|
+
.span_13_of_16, .span_12_of_16, .span_11_of_16, .span_10_of_16,
|
|
16
|
+
.span_9_of_16, .span_8_of_16, .span_7_of_16, .span_6_of_16,
|
|
17
|
+
.span_5_of_16, .span_4_of_16, .span_3_of_16, .span_2_of_16,
|
|
18
|
+
.span_1_of_16 { width: $mobile-width; max-width:100%; }
|
|
19
|
+
aside > .span_4_of_16{ width: $mobile-width; }
|
|
20
|
+
|
|
21
|
+
#selectRegion{
|
|
22
|
+
width: 21.429em;
|
|
23
|
+
background: url( image-path( 'selectIcon.png') ) no-repeat;
|
|
24
|
+
background-size: 2.286em 2.286em;
|
|
25
|
+
background-color: white;
|
|
26
|
+
background-position: 19.214em -0.071em;
|
|
27
|
+
}
|
|
28
|
+
section .map{ height: 20.7143em; }
|
|
29
|
+
.map > div > svg{ width: 21.429em; }
|
|
30
|
+
|
|
31
|
+
#DOMNameList{ width: 20em; }
|
|
32
|
+
#DOMStatsList{ width: 20em; }
|
|
33
|
+
#DOMCanvasContainer,
|
|
34
|
+
section.map{ height: 230px; }
|
|
35
|
+
#DOMSmallRegionCanvasContainer{ display: none; }
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
#headcontainer{ width: 320px; }
|
|
39
|
+
#maincontent section.map{ padding: 5px; }
|
|
40
|
+
|
|
41
|
+
#mobileSelectRegionNavigation{ margin-left: 1px; width: 318px; }
|
|
42
|
+
|
|
43
|
+
aside .col{ margin-left: 0px; margin-bottom: 5px; }
|
|
44
|
+
#nvm_news_frame{ height: 1750px; }
|
|
45
|
+
|
|
46
|
+
#maincontent > section{ padding: 10px; }
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/* MARK: Android Phones */
|
|
51
|
+
@media only screen and ( min-width: 480px ) and ( max-width: 599px ){
|
|
52
|
+
$mobile-width: 34.214em;
|
|
53
|
+
.span_1_of_6{ width: 11.333em; }
|
|
54
|
+
/* set size mobile width */
|
|
55
|
+
aside article, .span_16_of_16, .span_15_of_16, .span_14_of_16,
|
|
56
|
+
.span_13_of_16, .span_12_of_16, .span_11_of_16, .span_10_of_16,
|
|
57
|
+
.span_9_of_16, .span_8_of_16, .span_7_of_16, .span_6_of_16,
|
|
58
|
+
.span_5_of_16, .span_4_of_16, .span_3_of_16, .span_2_of_16,
|
|
59
|
+
.span_1_of_16 { width: $mobile-width; max-width:100%; }
|
|
60
|
+
aside > .span_4_of_16{ width: $mobile-width; }
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
#selectRegion{
|
|
64
|
+
width: 32.786em;
|
|
65
|
+
background: url( image-path( 'selectIcon.png') ) no-repeat;
|
|
66
|
+
background-size: 2.286em 2.286em;
|
|
67
|
+
background-color: white;
|
|
68
|
+
background-position: 30.571em -0.071em; }
|
|
69
|
+
section .map{ height: 23.429em; }
|
|
70
|
+
.map > div > svg{ width: 32.714em; }
|
|
71
|
+
|
|
72
|
+
#DOMNameList{ width: 32em; }
|
|
73
|
+
#DOMStatsList{ width: 32em; }
|
|
74
|
+
#DOMCanvasContainer,
|
|
75
|
+
section.map{ height: 370px; }
|
|
76
|
+
#DOMSmallRegionCanvasContainer{ display: none; }
|
|
77
|
+
|
|
78
|
+
#headcontainer{ width: 480px;}
|
|
79
|
+
#mobileSelectRegionNavigation{ margin-left: 1px; width: 478px; }
|
|
80
|
+
|
|
81
|
+
#nvm_news_frame{ height: 1160px; }
|
|
82
|
+
|
|
83
|
+
#maincontent > section{ padding: 15px;}
|
|
84
|
+
|
|
85
|
+
ul.two-column{ margin: 0px; }
|
|
86
|
+
ul.two-column li{
|
|
87
|
+
width: 48%;
|
|
88
|
+
min-width: 200px;
|
|
89
|
+
display:inline-block;
|
|
90
|
+
padding: 0px;
|
|
91
|
+
margin: 0px;
|
|
92
|
+
vertical-align:top;
|
|
93
|
+
border: none;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
/* MARK: 7" android tablets */
|
|
99
|
+
@media only screen and ( min-width: 600px ) and ( max-width: 767px ){
|
|
100
|
+
$mobile-width: 42.786em;
|
|
101
|
+
.span_1_of_6{ width: 14.167em; }
|
|
102
|
+
|
|
103
|
+
/* set size mobile width */
|
|
104
|
+
aside article, .span_16_of_16, .span_15_of_16, .span_14_of_16,
|
|
105
|
+
.span_13_of_16, .span_12_of_16, .span_11_of_16, .span_10_of_16,
|
|
106
|
+
.span_9_of_16, .span_8_of_16, .span_7_of_16, .span_6_of_16,
|
|
107
|
+
.span_5_of_16, .span_4_of_16, .span_3_of_16, .span_2_of_16,
|
|
108
|
+
.span_1_of_16 { width: $mobile-width; max-width:100%; }
|
|
109
|
+
aside > .span_4_of_16{ width: $mobile-width; }
|
|
110
|
+
|
|
111
|
+
#selectRegion{
|
|
112
|
+
width: 41.357em;
|
|
113
|
+
background: url( image-path( 'selectIcon.png') ) no-repeat;
|
|
114
|
+
background-size: 2.286em 2.286em;
|
|
115
|
+
background-color: white;
|
|
116
|
+
background-position: 39.286em -0.071em; }
|
|
117
|
+
section .map{ height: 23.429em; }
|
|
118
|
+
.map > div > svg{ width: 38.214em; }
|
|
119
|
+
|
|
120
|
+
#DOMNameList{ width: 40em; }
|
|
121
|
+
#DOMStatsList{ width: 40em; }
|
|
122
|
+
|
|
123
|
+
#headcontainer{ width: 600px;}
|
|
124
|
+
#mobileSelectRegionNavigation{ margin-left: 1px; width: 598px; }
|
|
125
|
+
#mainNavigation div:nth-child(3n+3){ width: 199px; }
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
#DOMCanvasContainer,
|
|
129
|
+
section.map{ height: 420px; }
|
|
130
|
+
#DOMSmallRegionCanvasContainer{ display: none; }
|
|
131
|
+
|
|
132
|
+
ul.two-column{ margin: 0px; }
|
|
133
|
+
ul.two-column li{
|
|
134
|
+
width: 48%;
|
|
135
|
+
min-width: 200px;
|
|
136
|
+
display:inline-block;
|
|
137
|
+
padding: 0px;
|
|
138
|
+
margin: 0px;
|
|
139
|
+
vertical-align:top;
|
|
140
|
+
border: none;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
/* MARK: All mobile */
|
|
146
|
+
@media only screen and ( min-width: 320px ) and ( max-width: 767px ){
|
|
147
|
+
/* set margins */
|
|
148
|
+
$margin: 0.071em;
|
|
149
|
+
$padding: 0.357em;
|
|
150
|
+
$header-size: 3.929em;
|
|
151
|
+
.col{ margin: $margin 0 0 $margin; } /* Set top and left margin */
|
|
152
|
+
#maincontent{ margin: $margin 0 0 $margin; }
|
|
153
|
+
nav > .col:first-child{ margin-left: $margin; }
|
|
154
|
+
#headcontainer{ margin-bottom: $margin; }
|
|
155
|
+
|
|
156
|
+
/* change padding */
|
|
157
|
+
#maincontent{ padding: $padding; }
|
|
158
|
+
footer section{ padding: $padding; }
|
|
159
|
+
|
|
160
|
+
/* set styling of header */
|
|
161
|
+
.headerIcon{ width: $header-size; }
|
|
162
|
+
.headerIcon.siteLogo{ top:0;left:0; height:$header-size; }
|
|
163
|
+
#headerBar{ border:none; height: $header-size; margin: 0px 0px 0px $margin; background-color: $blue_dark; background-image: none; }
|
|
164
|
+
|
|
165
|
+
/* Changes menu's */
|
|
166
|
+
#menutoggle{
|
|
167
|
+
display:block;
|
|
168
|
+
position: absolute;
|
|
169
|
+
right: 0;
|
|
170
|
+
height: 2.292em;
|
|
171
|
+
width: 2.292em;
|
|
172
|
+
font-size: 1.714em;
|
|
173
|
+
border: none;
|
|
174
|
+
border-left: 0.0417em solid $admin_blue;
|
|
175
|
+
background-color: $blue_dark;
|
|
176
|
+
text-align: center;
|
|
177
|
+
display: table-cell;
|
|
178
|
+
vertical-align: center;
|
|
179
|
+
color: white;
|
|
180
|
+
}
|
|
181
|
+
nav#mobileSelectRegionNavigation{
|
|
182
|
+
position: relative;
|
|
183
|
+
display:inline-block;
|
|
184
|
+
height: $header-size;
|
|
185
|
+
@include background-gradient( $link, $link_light );
|
|
186
|
+
vertical-align: middle;
|
|
187
|
+
margin-top: $margin;
|
|
188
|
+
}
|
|
189
|
+
#selectRegion{
|
|
190
|
+
position: absolute;
|
|
191
|
+
left: 0.714em;
|
|
192
|
+
top: 0.929em;
|
|
193
|
+
height: 2.149em;
|
|
194
|
+
border: 0 !important;. /*Removes border*/
|
|
195
|
+
-webkit-appearance: none; /*Removes default chrome and safari style*/
|
|
196
|
+
-moz-appearance: none; /*Removes default style Firefox*/
|
|
197
|
+
|
|
198
|
+
text-indent: 0.001em; /* Removes default arrow from firefox*/
|
|
199
|
+
text-overflow: ""; /*Removes default arrow from firefox*/
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.tile_link{ padding: 0.3em; }
|
|
203
|
+
|
|
204
|
+
.noTopMargin{ margin-left: 0px; }
|
|
205
|
+
aside.span_4_of_16 { width: 100%; } /* push the sidebar below the main content */
|
|
206
|
+
|
|
207
|
+
aside article:first-child{ margin-top: $margin;}
|
|
208
|
+
aside .col{ margin-left: $margin; }
|
|
209
|
+
aside .col:nth-child(2){ margin-left: 0px; }
|
|
210
|
+
|
|
211
|
+
aside .sidebarlinks a { background: none; color: white; }
|
|
212
|
+
aside .sidebarlinks{ background-image: none;}
|
|
213
|
+
/* hide non-relevant tags */
|
|
214
|
+
.headerIcon.socialMedia{ display:none; }
|
|
215
|
+
#headerImage{ display:none; }
|
|
216
|
+
|
|
217
|
+
nav#mainNavigation { display: none; }
|
|
218
|
+
nav .tile {
|
|
219
|
+
a{
|
|
220
|
+
font-size: 0.929em;
|
|
221
|
+
height: 2.769em;
|
|
222
|
+
line-height: 2.385em; }
|
|
223
|
+
a:hover{
|
|
224
|
+
height: 2.769em;
|
|
225
|
+
line-height: 2.385em; }
|
|
226
|
+
a.highlighted{
|
|
227
|
+
height: 2.769em;
|
|
228
|
+
line-height: 2.385em; }
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.headerIcon{ box-shadow: none;}
|
|
232
|
+
#maincontentcontainer{ padding-left: 1px; }
|
|
233
|
+
#maincontent{ margin: 5px 0px 0px 0px; padding: 0px;}
|
|
234
|
+
|
|
235
|
+
.span_3_of_16, .span_4_of_16{ width: 100%;}
|
|
236
|
+
|
|
237
|
+
#DOMStatsList > div > div { width: 148px;}
|
|
238
|
+
.DOMPopulationNumbers{ width: 100% !important;}
|
|
239
|
+
.POI_select { display: none; }
|
|
240
|
+
.POI_select.mobile_select{ display: inline-block; }
|
|
241
|
+
#article_navigation{ display: none; }
|
|
242
|
+
#search_realtors{ display: none; }
|
|
243
|
+
#search_realtors.mobile{ display: inline-block; }
|
|
244
|
+
|
|
245
|
+
.realtor > div{ margin-left: initial !important; }
|
|
246
|
+
aside article{ margin-left: 0px !important; margin-top: 5px !important;}
|
|
247
|
+
|
|
248
|
+
#zoomMap{ display: none; }
|
|
249
|
+
|
|
250
|
+
.fullscreen_overlay{
|
|
251
|
+
left: 0;
|
|
252
|
+
right: 0;
|
|
253
|
+
margin: 0 auto;
|
|
254
|
+
#maincontent{
|
|
255
|
+
width: 100%;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@import 'colours';
|
|
2
|
+
@import 'global_mixins';
|
|
3
|
+
|
|
4
|
+
/* Hide Mobile specific elements when not on a mobile platform */
|
|
5
|
+
.POI_select.mobile_select{ display: none; }
|
|
6
|
+
#search_realtors.mobile{ display: none; }
|
|
7
|
+
|
|
8
|
+
/* MARK: iPad portrait */
|
|
9
|
+
/* Below 960 switch to using the ipad version */
|
|
10
|
+
@media only screen and (min-width: 768px ) and ( max-width: 959px ){
|
|
11
|
+
.span_16_of_16, .span_15_of_16, .span_14_of_16, .span_13_of_16,
|
|
12
|
+
.span_12_of_16 { width: 54.857em; }
|
|
13
|
+
.span_11_of_16 { width: 46.786em; }
|
|
14
|
+
.span_10_of_16 { width: 42.500em; }
|
|
15
|
+
.span_9_of_16 { width: 38.214em; }
|
|
16
|
+
.span_8_of_16 { width: 33.929em; }
|
|
17
|
+
.span_7_of_16 { width: 29.643em; }
|
|
18
|
+
.span_6_of_16 { width: 25.357em; }
|
|
19
|
+
.span_5_of_16 { width: 21.071em; }
|
|
20
|
+
.span_4_of_16 { width: 16.786em; }
|
|
21
|
+
.span_3_of_16 { width: 12.500em; }
|
|
22
|
+
.span_2_of_16 { width: 8.214em; } /* 115px / 14 */
|
|
23
|
+
.span_1_of_16 { width: 3.929em; } /* 55px / 14 */
|
|
24
|
+
|
|
25
|
+
.span_1_of_6{ width: 8.845em; }
|
|
26
|
+
|
|
27
|
+
aside > .span_4_of_16.map{ width: 100%; }
|
|
28
|
+
|
|
29
|
+
aside > .map + article{ margin-left: 0px; }
|
|
30
|
+
|
|
31
|
+
.noTopMargin{ margin-left: 0px; }
|
|
32
|
+
aside.span_4_of_16 { width: 54.857em; } /* push the sidebar below the main content */
|
|
33
|
+
aside > .span_4_of_16{ width: 18.048em; }
|
|
34
|
+
aside > article{ width: 17.929em; }
|
|
35
|
+
aside > article.col,
|
|
36
|
+
aside > nav#article_navigation {
|
|
37
|
+
margin: 0 5px 5px 0;
|
|
38
|
+
}
|
|
39
|
+
aside .col{ margin-left: $margin; }
|
|
40
|
+
aside .col:nth-child(2){ margin-left: 0px; }
|
|
41
|
+
#DOMStatsList{ width: 33.929em; }
|
|
42
|
+
|
|
43
|
+
aside nav { position: initial; }
|
|
44
|
+
nav .tile a{ font-size: 1em; height: 2.571em; }
|
|
45
|
+
nav .tile a:hover{ height: 2.571em; }
|
|
46
|
+
nav .tile a.highlighted{ height: 2.571em; }
|
|
47
|
+
|
|
48
|
+
#headerImage{
|
|
49
|
+
height:14.643em;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.POI_select { display: none; }
|
|
53
|
+
.POI_select.mobile_select{ display: inline-block; width: 100%; }
|
|
54
|
+
#search_realtors{ display: none; }
|
|
55
|
+
#search_realtors.mobile{ display: inline-block; width: 100%; }
|
|
56
|
+
|
|
57
|
+
ul.two-column{ margin: 0px; }
|
|
58
|
+
ul.two-column li{
|
|
59
|
+
width: 30%;
|
|
60
|
+
min-width: 200px;
|
|
61
|
+
display:inline-block;
|
|
62
|
+
padding: 0px;
|
|
63
|
+
margin: 0px;
|
|
64
|
+
vertical-align:top;
|
|
65
|
+
border: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.fullscreen_overlay{
|
|
69
|
+
left: 0;
|
|
70
|
+
right: 0;
|
|
71
|
+
margin: 0 auto;
|
|
72
|
+
.map{ height: 37.5em; }
|
|
73
|
+
#maincontent{
|
|
74
|
+
width: 100%;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
} /* end iPad */
|
data/lib/ilstyle/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ilstyle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Etienne van Delden
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-09-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -55,11 +55,28 @@ files:
|
|
|
55
55
|
- app/assets/images/ilstyle/arrow-right_large_hover.png
|
|
56
56
|
- app/assets/images/ilstyle/i-level_ruiten.png
|
|
57
57
|
- app/assets/javascripts/i-level.js
|
|
58
|
+
- app/assets/stylesheets/ilstyle/1024.css
|
|
59
|
+
- app/assets/stylesheets/ilstyle/10cols.css
|
|
60
|
+
- app/assets/stylesheets/ilstyle/11cols.css
|
|
61
|
+
- app/assets/stylesheets/ilstyle/12cols.css
|
|
62
|
+
- app/assets/stylesheets/ilstyle/2cols.css
|
|
63
|
+
- app/assets/stylesheets/ilstyle/3cols.css
|
|
64
|
+
- app/assets/stylesheets/ilstyle/480.css
|
|
65
|
+
- app/assets/stylesheets/ilstyle/4cols.css
|
|
66
|
+
- app/assets/stylesheets/ilstyle/5cols.css
|
|
67
|
+
- app/assets/stylesheets/ilstyle/6cols.css
|
|
68
|
+
- app/assets/stylesheets/ilstyle/768.css
|
|
69
|
+
- app/assets/stylesheets/ilstyle/7cols.css
|
|
70
|
+
- app/assets/stylesheets/ilstyle/8cols.css
|
|
71
|
+
- app/assets/stylesheets/ilstyle/9cols.css
|
|
72
|
+
- app/assets/stylesheets/ilstyle/_colours.css.scss
|
|
73
|
+
- app/assets/stylesheets/ilstyle/_grid.css.scss
|
|
74
|
+
- app/assets/stylesheets/ilstyle/col.css
|
|
58
75
|
- app/assets/stylesheets/ilstyle/i-level.css.scss
|
|
76
|
+
- app/assets/stylesheets/ilstyle/mobile.css.scss
|
|
59
77
|
- app/assets/stylesheets/ilstyle/normalize.css.scss
|
|
78
|
+
- app/assets/stylesheets/ilstyle/tablet.css.scss
|
|
60
79
|
- doc/Advies%20berekening%20printers%20versie%203.docx
|
|
61
|
-
- doc/Custom Drop-Down List Styling | Codrops.webloc
|
|
62
|
-
- doc/CustomDropDownListStyling.zip
|
|
63
80
|
- doc/Font ITC American Typewriter Std.zip
|
|
64
81
|
- doc/Font Lucida Sans Std.zip
|
|
65
82
|
- doc/Voorbeelden/kadokaarten.docx.docx
|
|
@@ -84,7 +101,6 @@ files:
|
|
|
84
101
|
- doc/pijl-wit.png
|
|
85
102
|
- doc/pijlen (3) orange.ai
|
|
86
103
|
- doc/pijlen (3) orange.pdf
|
|
87
|
-
- doc/prototype- eigen calls inzien.png
|
|
88
104
|
- doc/ruiten logo.ai
|
|
89
105
|
- doc/ruiten logo.eps
|
|
90
106
|
- doc/ruiten-logo.png
|
|
@@ -157,4 +173,3 @@ signing_key:
|
|
|
157
173
|
specification_version: 4
|
|
158
174
|
summary: Gem to load all standard i-level files
|
|
159
175
|
test_files: []
|
|
160
|
-
has_rdoc:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|