ustyle 1.8.7 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/dist/ustyle-content.css +1 -1
  4. data/dist/ustyle-icons.css +1 -1
  5. data/dist/ustyle-latest.css +1 -1
  6. data/dist/ustyle.json +1 -1
  7. data/lib/ustyle/version.rb +1 -1
  8. data/package.json +2 -2
  9. data/styleguide/assets/sass/main.scss +1 -21
  10. data/styleguide/assets/sass/modules/_logo.scss +133 -9
  11. data/styleguide/content/brand/index.md +1 -1
  12. data/styleguide/content/brand/logo.tpl +207 -49
  13. data/styleguide/content/pattern-library/grid.tpl +6 -6
  14. data/styleguide/content/pattern-library/index.tpl +4 -4
  15. data/styleguide/partials/_header.tpl +32 -0
  16. data/vendor/assets/images/icons/uswitch.svg +1 -1
  17. data/vendor/assets/stylesheets/ustyle/articles/_base.scss +1 -1
  18. data/vendor/assets/stylesheets/ustyle/articles/_guide.scss +1 -1
  19. data/vendor/assets/stylesheets/ustyle/articles/_more.scss +1 -1
  20. data/vendor/assets/stylesheets/ustyle/articles/_related.scss +2 -2
  21. data/vendor/assets/stylesheets/ustyle/basics/_typography.scss +4 -4
  22. data/vendor/assets/stylesheets/ustyle/basics/variables/_colors.scss +1 -3
  23. data/vendor/assets/stylesheets/ustyle/basics/variables/_icons.scss +8 -20
  24. data/vendor/assets/stylesheets/ustyle/components/_button.scss +12 -12
  25. data/vendor/assets/stylesheets/ustyle/components/_cta.scss +1 -1
  26. data/vendor/assets/stylesheets/ustyle/components/_featured.scss +4 -4
  27. data/vendor/assets/stylesheets/ustyle/components/_links.scss +5 -5
  28. data/vendor/assets/stylesheets/ustyle/components/_lists-li.scss +4 -2
  29. data/vendor/assets/stylesheets/ustyle/components/_lists.scss +1 -1
  30. data/vendor/assets/stylesheets/ustyle/components/_tooltip.scss +1 -1
  31. data/vendor/assets/stylesheets/ustyle/components/_usp.scss +11 -11
  32. data/vendor/assets/stylesheets/ustyle/forms/_fields.scss +3 -3
  33. data/vendor/assets/stylesheets/ustyle/forms/_input-group.scss +3 -3
  34. data/vendor/assets/stylesheets/ustyle/forms/_input.scss +5 -5
  35. data/vendor/assets/stylesheets/ustyle/forms/_radio-checkbox.scss +1 -1
  36. data/vendor/assets/stylesheets/ustyle/forms/_select.scss +4 -4
  37. data/vendor/assets/stylesheets/ustyle/forms/_textarea.scss +2 -2
  38. data/vendor/assets/stylesheets/ustyle/forms/_toggle.scss +3 -3
  39. data/vendor/assets/stylesheets/ustyle/forms/_validation.scss +2 -2
  40. data/vendor/assets/stylesheets/ustyle/icons/_base.scss +0 -20
  41. data/vendor/assets/stylesheets/ustyle/icons/_svg.scss +9 -5
  42. data/vendor/assets/stylesheets/ustyle/utilities/_general.scss +9 -9
  43. data/vendor/assets/stylesheets/ustyle/utilities/_images.scss +4 -4
  44. data/vendor/assets/stylesheets/ustyle/utilities/_spacing.scss +28 -28
  45. metadata +2 -82
  46. data/vendor/assets/images/icons/16px/angry.png +0 -0
  47. data/vendor/assets/images/icons/16px/apple.png +0 -0
  48. data/vendor/assets/images/icons/16px/arrow-up-left.png +0 -0
  49. data/vendor/assets/images/icons/16px/barchart.png +0 -0
  50. data/vendor/assets/images/icons/16px/blackberry.png +0 -0
  51. data/vendor/assets/images/icons/16px/controller.png +0 -0
  52. data/vendor/assets/images/icons/16px/desktop.png +0 -0
  53. data/vendor/assets/images/icons/16px/doc.png +0 -0
  54. data/vendor/assets/images/icons/16px/happy.png +0 -0
  55. data/vendor/assets/images/icons/16px/laptop.png +0 -0
  56. data/vendor/assets/images/icons/16px/magnify-out.png +0 -0
  57. data/vendor/assets/images/icons/16px/neutral.png +0 -0
  58. data/vendor/assets/images/icons/16px/power.png +0 -0
  59. data/vendor/assets/images/icons/16px/question.png +0 -0
  60. data/vendor/assets/images/icons/16px/sad.png +0 -0
  61. data/vendor/assets/images/icons/16px/tablet.png +0 -0
  62. data/vendor/assets/images/icons/16px/warning.png +0 -0
  63. data/vendor/assets/images/icons/16px/windows.png +0 -0
  64. data/vendor/assets/images/icons/16px/wondering.png +0 -0
  65. data/vendor/assets/images/icons/16px/world.png +0 -0
  66. data/vendor/assets/images/icons/32px/angry.png +0 -0
  67. data/vendor/assets/images/icons/32px/apple.png +0 -0
  68. data/vendor/assets/images/icons/32px/arrow-up-left.png +0 -0
  69. data/vendor/assets/images/icons/32px/barchart.png +0 -0
  70. data/vendor/assets/images/icons/32px/blackberry.png +0 -0
  71. data/vendor/assets/images/icons/32px/controller.png +0 -0
  72. data/vendor/assets/images/icons/32px/desktop.png +0 -0
  73. data/vendor/assets/images/icons/32px/doc.png +0 -0
  74. data/vendor/assets/images/icons/32px/happy.png +0 -0
  75. data/vendor/assets/images/icons/32px/laptop.png +0 -0
  76. data/vendor/assets/images/icons/32px/magnify-out.png +0 -0
  77. data/vendor/assets/images/icons/32px/neutral.png +0 -0
  78. data/vendor/assets/images/icons/32px/power.png +0 -0
  79. data/vendor/assets/images/icons/32px/question.png +0 -0
  80. data/vendor/assets/images/icons/32px/sad.png +0 -0
  81. data/vendor/assets/images/icons/32px/tablet.png +0 -0
  82. data/vendor/assets/images/icons/32px/warning.png +0 -0
  83. data/vendor/assets/images/icons/32px/windows.png +0 -0
  84. data/vendor/assets/images/icons/32px/wondering.png +0 -0
  85. data/vendor/assets/images/icons/32px/world.png +0 -0
  86. data/vendor/assets/images/icons/64px/angry.png +0 -0
  87. data/vendor/assets/images/icons/64px/apple.png +0 -0
  88. data/vendor/assets/images/icons/64px/arrow-up-left.png +0 -0
  89. data/vendor/assets/images/icons/64px/barchart.png +0 -0
  90. data/vendor/assets/images/icons/64px/blackberry.png +0 -0
  91. data/vendor/assets/images/icons/64px/controller.png +0 -0
  92. data/vendor/assets/images/icons/64px/desktop.png +0 -0
  93. data/vendor/assets/images/icons/64px/doc.png +0 -0
  94. data/vendor/assets/images/icons/64px/happy.png +0 -0
  95. data/vendor/assets/images/icons/64px/laptop.png +0 -0
  96. data/vendor/assets/images/icons/64px/magnify-out.png +0 -0
  97. data/vendor/assets/images/icons/64px/neutral.png +0 -0
  98. data/vendor/assets/images/icons/64px/power.png +0 -0
  99. data/vendor/assets/images/icons/64px/question.png +0 -0
  100. data/vendor/assets/images/icons/64px/sad.png +0 -0
  101. data/vendor/assets/images/icons/64px/tablet.png +0 -0
  102. data/vendor/assets/images/icons/64px/warning.png +0 -0
  103. data/vendor/assets/images/icons/64px/windows.png +0 -0
  104. data/vendor/assets/images/icons/64px/wondering.png +0 -0
  105. data/vendor/assets/images/icons/64px/world.png +0 -0
  106. data/vendor/assets/images/icons/angry.svg +0 -1
  107. data/vendor/assets/images/icons/apple.svg +0 -1
  108. data/vendor/assets/images/icons/arrow-up-left.svg +0 -1
  109. data/vendor/assets/images/icons/barchart.svg +0 -1
  110. data/vendor/assets/images/icons/blackberry.svg +0 -1
  111. data/vendor/assets/images/icons/controller.svg +0 -1
  112. data/vendor/assets/images/icons/desktop.svg +0 -1
  113. data/vendor/assets/images/icons/doc.svg +0 -1
  114. data/vendor/assets/images/icons/happy.svg +0 -1
  115. data/vendor/assets/images/icons/laptop.svg +0 -1
  116. data/vendor/assets/images/icons/magnify-out.svg +0 -1
  117. data/vendor/assets/images/icons/neutral.svg +0 -1
  118. data/vendor/assets/images/icons/power.svg +0 -1
  119. data/vendor/assets/images/icons/question.svg +0 -1
  120. data/vendor/assets/images/icons/sad.svg +0 -1
  121. data/vendor/assets/images/icons/tablet.svg +0 -1
  122. data/vendor/assets/images/icons/warning.svg +0 -1
  123. data/vendor/assets/images/icons/windows.svg +0 -1
  124. data/vendor/assets/images/icons/wondering.svg +0 -1
  125. data/vendor/assets/images/icons/world.svg +0 -1
@@ -1,4 +1,4 @@
1
1
  module Ustyle
2
- version = "1.8.7"
2
+ version = "1.10.0"
3
3
  VERSION = version
4
4
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ustyle",
3
- "version": "1.8.7",
3
+ "version": "1.10.0",
4
4
  "description": "A living styleguide and pattern library by uSwitch.",
5
5
  "keywords": [
6
6
  "css",
@@ -32,7 +32,7 @@
32
32
  ],
33
33
  "repository": "uswitch/ustyle",
34
34
  "scripts": {
35
- "test": "grunt test"
35
+ "test": "echo \"Error: no test specified\" && exit 1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "async": "^0.9.0",
@@ -2,14 +2,9 @@ $hero-padding-top: 1em;
2
2
  $icons: (
3
3
  alarm
4
4
  android
5
- angry
6
- apple
7
5
  arrow-circle
8
- arrow-up-left
9
6
  arrow-up
10
7
  arrow-down
11
- barchart
12
- blackberry
13
8
  book
14
9
  bookmark
15
10
  breadcrumb
@@ -23,8 +18,6 @@ $icons: (
23
18
  cog
24
19
  credit-card
25
20
  cross
26
- desktop
27
- doc
28
21
  dual-fuel
29
22
  electric-light
30
23
  envelope
@@ -39,23 +32,19 @@ $icons: (
39
32
  google
40
33
  google-brand
41
34
  graph-up
42
- happy
43
35
  home
44
36
  hot
45
37
  info
46
38
  kettle
47
39
  key
48
- laptop
49
40
  lock
50
41
  magnify-in
51
- magnify-out
52
42
  magnify
53
43
  menu
54
44
  message
55
45
  mobile
56
46
  monthly-dd
57
47
  network
58
- neutral
59
48
  no-exit
60
49
  pdf
61
50
  pencil
@@ -65,18 +54,15 @@ $icons: (
65
54
  piggy-bank
66
55
  pin
67
56
  pound-note
68
- power
69
57
  present
70
58
  print
71
59
  quarterly-dd
72
60
  question-circle
73
- question
74
61
  quote
75
62
  recycle
76
63
  remove
77
64
  renewable
78
65
  results
79
- sad
80
66
  save
81
67
  share
82
68
  sim
@@ -89,7 +75,6 @@ $icons: (
89
75
  star
90
76
  starline-half
91
77
  starline
92
- tablet
93
78
  talk
94
79
  tick-circle
95
80
  tick
@@ -99,18 +84,13 @@ $icons: (
99
84
  uswitch
100
85
  variable
101
86
  warning-circle
102
- warning
103
87
  wifi
104
88
  wiki
105
- windows
106
- wondering
107
- world
108
89
  xml
109
90
  play
110
- controller
111
91
  pound-circle
112
92
  ustyle
113
- ) !default;
93
+ );
114
94
 
115
95
  $needs-font: true;
116
96
  $load-icons: true;
@@ -19,38 +19,162 @@
19
19
  height: 128px;
20
20
  }
21
21
 
22
-
23
22
  // Logo states
24
23
 
25
- .logo-state {
24
+ .logo__state {
25
+ position: relative;
26
26
  display: inline-block;
27
27
  padding: 18px;
28
+ margin-bottom: 10px;
28
29
 
29
- .us-icon--uswitch {
30
- vertical-align: middle;
30
+ + p {
31
+ color: $c-typegrey-2;
32
+ }
33
+ }
34
+
35
+ .logo__sizing {
36
+ position: absolute;
37
+ top: 50%;
38
+ right: -60px;
39
+ margin-top: -16px;
40
+
41
+ &:before {
42
+ position: absolute;
43
+ top: 50%;
44
+ left: -10px;
45
+ width: 2px;
46
+ background-color: $c-red;
47
+ content: "";
48
+ }
49
+
50
+ &.h92:before {
51
+ height: 92px;
52
+ margin-top: -45px;
53
+ }
54
+
55
+ &.h64:before {
56
+ height: 64px;
57
+ margin-top: -32px;
58
+ }
59
+
60
+ &.h70:before {
61
+ height: 70px;
62
+ margin-top: -35px;
63
+ }
64
+
65
+ &.h35:before {
66
+ height: 35px;
67
+ margin-top: -17px;
68
+ }
69
+ }
70
+
71
+ .logo__vertical {
72
+ svg {
73
+ width: 100%;
74
+ height: 100%;
75
+ max-width: 150px;
76
+ max-height: 150px;
77
+ }
78
+
79
+ &--alternate {
80
+ svg {
81
+ max-width: 100px;
82
+ max-height: 92px;
83
+ }
84
+ }
85
+
86
+ &--alternate-min {
87
+ svg {
88
+ max-height: 70px;
89
+ }
90
+ }
91
+ }
92
+
93
+ .logo__horizontal {
94
+ padding: 18px 40px;
95
+
96
+ svg {
97
+ width: 100%;
98
+ height: 100%;
99
+ max-width: 250px;
100
+ max-height: 100px;
101
+ }
102
+
103
+ &--alternate {
104
+ svg {
105
+ max-height: 64px;
106
+ }
107
+ }
108
+
109
+ &--alternate-min {
110
+ svg {
111
+ max-height: 35px;
112
+ }
31
113
  }
32
114
  }
33
115
 
34
- .logo--blue {
35
- border: 2px dotted $c-blue;
116
+ .logo--blue,
117
+ .logo--cyan {
118
+ fill: $c-blue;
119
+ }
120
+
121
+ .logo-white,
122
+ .logo--bwblack {
123
+ fill: #fff;
124
+ }
125
+
126
+ .logo--blue,
127
+ .logo--bwwhite {
128
+ border: 1px solid $c-typegrey-2;
36
129
  }
37
130
 
38
131
  .logo--white {
39
132
  background-color: $c-blue;
133
+ fill: #fff;
40
134
  }
41
135
 
42
- .logo-spacer {
136
+ .logo--cyan {
137
+ background-color: $c-cyan;
138
+ }
139
+
140
+ .logo--bwwhite {
141
+ fill: #000;
142
+ }
143
+
144
+ .logo--bwblack {
145
+ background-color: #000;
146
+ }
147
+
148
+ .logo__spacer--vertical,
149
+ .logo__spacer--horizontal {
43
150
  position: relative;
44
- border: 1px dashed $c-red;
45
151
 
46
152
  &:before {
47
153
  position: absolute;
48
154
  top: 0;
49
155
  left: 0;
50
- width: 18px;
156
+ width: 25px;
51
157
  height: 100%;
52
158
  text-align: center;
53
159
  background-color: $c-cyan-light;
54
160
  content: "s";
55
161
  }
56
162
  }
163
+
164
+ .logo__spacer--horizontal {
165
+ &:before {
166
+ width: 40px;
167
+ }
168
+ }
169
+
170
+ .logo__svg--hidden {
171
+ display: none;
172
+ }
173
+
174
+ .logo__icon-standalone {
175
+ display: inline-block;
176
+ padding: $gutter-width/2.5;
177
+ line-height: 1;
178
+ background-color: $c-blue;
179
+ border-radius: 22px;
180
+ }
@@ -41,7 +41,7 @@ We are connected to the individual needs of our customers. In fact, we work to u
41
41
  We know what we’re talking about because we’re experts in what we do. We can demonstrate an unparalleled in-depth and connected understanding of our customers, the economy, household finances and the industries in which we operate. We’re always frank. We fight for what we believe is fair. And we do what we believe is right to build respect and trust.
42
42
 
43
43
  ### Personal and engaging
44
- We are a human brand that talks to our customers, not preaches. We treat them like knowledgeable peers. Always consistent in our tone, look and customer experience across all touch points. To make things easy to understand, information is visualised and bought to life, enabling our customers to see how they can save money or get better value for money.
44
+ We are a human brand that talks to our customers, not preaches. We treat them like knowledgeable peers. Always consistent in our tone, look and customer experience across all touch points. To make things easy to understand, information is visualised and brought to life, enabling our customers to see how they can save money or get better value for money.
45
45
 
46
46
  ### Experimental and bold
47
47
  We are pro-active, always adapting and pre-empting changes in customer mood and wider markets in which we exist. It lets our customers connect and interact with us with confidence.And we are proud of our BETA mindset. We stay agile, but we never look unpredictably experimental. Rather, we are open, current, honest, committed and consistent with our advice
@@ -1,22 +1,41 @@
1
+ <ul class='table-of-contents'>
2
+ <li><a href="#orientation">Orientation</a></li>
3
+ <li><a href="#colour">Colour</a></li>
4
+ <li><a href="#exclusion-zone">Exclusion zone</a></li>
5
+ <li><a href="#alternate-logo">Alternate logo (small)</a></li>
6
+ <li><a href="#minimum-sizes">Minimum sizes</a></li>
7
+ <li><a href="#icon-only">Icon only</a></li>
8
+ <li><a href="#usage-rules">Usage rules</a></li>
9
+ </ul>
1
10
  <div class="us-content-group">
2
11
  <div class="us-grid-row">
3
- <div class="us-col-6">
4
- <h3>Variations</h3>
5
- <p>Primary logo - can be used in either brand blue #174695 or as a white out version (see below for usage on different background colours)</p>
12
+ <div class="us-col-12">
13
+ <h3 id="orientation">Orientation</h3>
14
+ <p>
15
+ We've made our logo available in vertical and horizontal formats to
16
+ allow for flexibility in various layouts. Choose the format that best
17
+ suits the usage.
18
+ </p>
6
19
  </div>
7
- <div class="us-col-6">
20
+ </div>
21
+ <div class="us-grid-row">
22
+ <div class="us-col-12">
8
23
  <div class="us-grid-row">
9
24
  <div class="us-col-6">
10
- <h5>Blue logo</h5>
11
- <div class="logo-state logo--blue">
12
- <span class="us-icon--notext us-icon--uswitch us-icon--custom us-icon--large"></span>
25
+ <div class="logo__state logo__vertical logo--blue">
26
+ <svg><use xlink:href="#uicon-logo-vertical"/></svg>
13
27
  </div>
28
+ <p>
29
+ Vertical orientation
30
+ </p>
14
31
  </div>
15
32
  <div class="us-col-6">
16
- <h5>White logo</h5>
17
- <div class="logo-state logo--white">
18
- <span class="us-icon--notext us-icon--uswitch us-icon--white us-icon--large"></span>
33
+ <div class="logo__state logo__horizontal logo--blue">
34
+ <svg><use xlink:href="#uicon-logo"/></svg>
19
35
  </div>
36
+ <p>
37
+ Horizontal orientation
38
+ </p>
20
39
  </div>
21
40
  </div>
22
41
  </div>
@@ -25,14 +44,77 @@
25
44
 
26
45
  <div class="us-content-group">
27
46
  <div class="us-grid-row">
28
- <div class="us-col-6">
29
- <h3>Spacing</h3>
30
- <p>Every time our logo appears, there should always be minimum clear space around it.This can be worked out by taking the width of the left stem (see ‘S’ in the diagram), and applying it around the logo. This area should always be kept clear.</p>
47
+ <div class="us-col-12">
48
+ <h3 id="colour">Colour</h3>
49
+ <p>
50
+ Our logo should only appear in our approved colours. The brand blue logo
51
+ is the preferred version. It can also be displayed on a cyan background.
52
+ </p>
31
53
  </div>
32
- <div class="us-col-6">
33
- <p><strong>s</strong> = The width of the left stem of the U.</p>
34
- <div class="logo-state logo-spacer">
35
- <span class="us-icon--notext us-icon--uswitch us-icon--custom us-icon--large"></span>
54
+ </div>
55
+
56
+ <div class="us-grid-row">
57
+ <div class="us-col-12">
58
+ <div class="us-grid-row">
59
+ <div class="us-col-4">
60
+ <div class="logo__state logo__vertical logo--blue">
61
+ <svg><use xlink:href="#uicon-logo-vertical"/></svg>
62
+ </div>
63
+ <p>
64
+ Brand blue is the preferred version of the logo.
65
+ </p>
66
+ </div>
67
+ <div class="us-col-4">
68
+ <div class="logo__state logo__vertical logo--white">
69
+ <svg><use xlink:href="#uicon-logo-vertical"/></svg>
70
+ </div>
71
+ <p>
72
+ Alternatively it can also be used in white on dark backgrounds.
73
+ </p>
74
+ </div>
75
+ <div class="us-col-4">
76
+ <div class="logo__state logo__vertical logo--cyan">
77
+ <svg><use xlink:href="#uicon-logo-vertical"/></svg>
78
+ </div>
79
+ <p>
80
+ It can also be used on a cyan background.
81
+ </p>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </div>
86
+
87
+ <div class="us-grid-row">
88
+ <div class="us-col-12">
89
+ <p>
90
+ The black and white versions of our logo should only be used when colour
91
+ reproduction is not available. Choose the option that will provide the
92
+ most contrast with the background.
93
+ </p>
94
+ </div>
95
+ </div>
96
+
97
+ <div class="us-grid-row">
98
+ <div class="us-col-12">
99
+ <div class="us-grid-row">
100
+ <div class="us-col-6">
101
+ <div class="logo__state logo__horizontal logo--bwwhite">
102
+ <svg><use xlink:href="#uicon-logo"/></svg>
103
+ </div>
104
+ <p>
105
+ The black logo is for use on light backgrounds where colour
106
+ reproduction is not available.
107
+ </p>
108
+ </div>
109
+ <div class="us-col-6">
110
+ <div class="logo__state logo__horizontal logo--bwblack">
111
+ <svg><use xlink:href="#uicon-logo"/></svg>
112
+ </div>
113
+ <p>
114
+ The white logo is for use on dark backgrounds where colour
115
+ reproduction is not available.
116
+ </p>
117
+ </div>
36
118
  </div>
37
119
  </div>
38
120
  </div>
@@ -40,63 +122,139 @@
40
122
 
41
123
  <div class="us-content-group">
42
124
  <div class="us-grid-row">
43
- <div class="us-col-6">
44
- <h3>Sizing</h3>
45
- <p>Our logo comes in 3 different sizes through our SVG/PNG icon system.</p>
125
+ <div class="us-col-12">
126
+ <h3 id="exclusion-zone">Exclusion Zone</h3>
127
+ <p>
128
+ Always leave plenty of room around the logo. This will enable it to
129
+ feature prominently without clutter.
130
+ </p>
46
131
  </div>
47
- <div class="us-col-6">
48
- <span class="us-icon--notext us-icon--uswitch us-icon--custom us-icon--small"></span>
49
- <span class="us-icon--notext us-icon--uswitch us-icon--custom us-icon--medium"></span>
50
- <span class="us-icon--notext us-icon--uswitch us-icon--custom us-icon--large"></span>
132
+ </div>
133
+
134
+ <div class="us-grid-row">
135
+ <div class="us-col-12">
136
+ <div class="us-grid-row">
137
+ <div class="us-col-6">
138
+ <div class="logo__state logo__vertical logo__spacer--vertical logo--blue">
139
+ <svg><use xlink:href="#uicon-logo-vertical"/></svg>
140
+ </div>
141
+ </div>
142
+ <br>
143
+ <div class="us-col-6">
144
+ <div class="logo__state logo__horizontal logo__spacer--horizontal logo--white">
145
+ <svg><use xlink:href="#uicon-logo"/></svg>
146
+ </div>
147
+ </div>
148
+ </div>
149
+ <p>
150
+ The 'S' from our wordmark can be used to measure out the exclusion zone.
151
+ </p>
51
152
  </div>
52
153
  </div>
53
154
  </div>
54
155
 
55
156
  <div class="us-content-group">
56
157
  <div class="us-grid-row">
57
- <div class="us-col-6">
58
- <h3>Usage rules</h3>
59
- <p>Please make sure you’re not tempted to do any of the following to the logo:</p>
60
- <ul>
61
- <li>Change elements of it</li>
62
- <li>Outline or put a keyline around it</li>
63
- <li>Use a different blue</li>
64
- <li>Use a gradient or tint</li>
65
- <li>Rotate the logo</li>
66
- </ul>
158
+ <div class="us-col-12">
159
+ <h3 id="alternate-logo">Alternate logo for use at smaller sizes</h3>
160
+ <p>
161
+ An alternative version of our logo must be used when it's being displayed
162
+ at smaller sizes. It ensures that the arrowhead, a key element of our
163
+ brand, remains clear and prominent.
164
+ </p>
165
+ </div>
166
+ </div>
167
+ <div class="us-grid-row">
168
+ <div class="us-col-12">
169
+ <div class="us-grid-row">
170
+ <div class="us-col-6">
171
+ <div class="logo__state logo__vertical--alternate logo--blue">
172
+ <svg><use xlink:href="#uicon-logo-vertical-small"/>
173
+ <div class="logo__sizing h92">92px</div>
174
+ </div>
175
+ <p>
176
+ Use the alternative version of the vertical logo when using at a
177
+ height of 92px or less.
178
+ </p>
179
+ </div>
180
+ <div class="us-col-6">
181
+ <div class="logo__state logo__horizontal--alternate logo--white">
182
+ <svg><use xlink:href="#uicon-logo-small"/></svg>
183
+ <div class="logo__sizing h64">64px</div>
184
+ </div>
185
+ <p>
186
+ Use the alternate version of the horizontal logo when using at a
187
+ height of 64px or less.
188
+ </p>
189
+ </div>
190
+ </div>
67
191
  </div>
68
- <div class="us-col-6"></div>
69
192
  </div>
70
193
  </div>
71
194
 
72
195
  <div class="us-content-group">
73
196
  <div class="us-grid-row">
74
- <div class="us-col-6">
75
- <h3>Blue logo placement</h3>
76
- <p>Our blue logo can be placed on a white or light-coloured background, or even on simple photography. However, it should not be placed on a dark or contrasting blue, as it doesn’t stand out so well. The same goes for complex imagery and gradients.</p>
197
+ <div class="us-col-12">
198
+ <h3 id="minimum-sizes">Minimum Size</h3>
199
+ <p>To ensure legibility of our logo, it must not be used below the
200
+ minimum size.</p>
201
+ <div class="us-col-6">
202
+ <div class="logo__state logo__vertical--alternate-min logo--blue">
203
+ <svg><use xlink:href="#uicon-logo-vertical-small"/>
204
+ <div class="logo__sizing h70">70px</div>
205
+ </div>
206
+ <p>
207
+ The minimum height that the vertical logo may be used at is 70px.
208
+ </p>
209
+ </div>
210
+ <div class="us-col-6">
211
+ <div class="logo__state logo__horizontal--alternate-min logo--white">
212
+ <svg><use xlink:href="#uicon-logo-small"/></svg>
213
+ <div class="logo__sizing h35">35px</div>
214
+ </div>
215
+ <p>
216
+ The minimum height that the horizontal logo may be used at is 35px.
217
+ </p>
218
+ </div>
219
+ </div>
77
220
  </div>
78
- <div class="us-col-6"></div>
79
221
  </div>
80
222
  </div>
81
223
 
82
224
  <div class="us-content-group">
83
225
  <div class="us-grid-row">
84
- <div class="us-col-6">
85
- <h3>White logo placement</h3>
86
- <p>Our white logo can be placed over any of the uSwitch blues, or dark-coloured backgrounds, and even on simple photography. However, it should not be placed on a light colour or complex imagery as it doesn’t stand out so well..</p>
226
+ <div class="us-col-12">
227
+ <h3 id="icon-only">Icon only</h3>
228
+ <p>
229
+ Our icon and wordmark must always be used together. The only
230
+ exceptions are our app icon, website favicon and awards logos. Do not
231
+ separate the icon and wordmark in any other instances.
232
+ </p>
233
+ <div class="logo__icon-standalone us-margin-bottom">
234
+ <div class="us-icon--uswitch us-icon--large us-icon--white us-icon--notext"></div>
235
+ </div>
236
+ <p>
237
+ The icon may only be used separately from the wordmark in approved
238
+ situations, such as our app icon.
239
+ </p>
240
+
241
+ <p><strong>Do not separate the elements in any other situations.</strong></p>
87
242
  </div>
88
- <div class="us-col-6"></div>
89
243
  </div>
90
244
  </div>
91
245
 
92
246
  <div class="us-content-group">
93
247
  <div class="us-grid-row">
94
- <div class="us-col-6">
95
- <h3>Partner / Off site usage</h3>
96
- <p>For off-site and partner use we have a logo variant that includes the site URL. The same usage guidelines apply</p>
97
- </div>
98
- <div class="us-col-6">
99
- <span class="us-icon--before us-icon--uswitch--before us-icon--custom--before us-icon--large--before"><strong class="us-color--blue">uSwitch.com</strong></span>
248
+ <div class="us-col-12">
249
+ <h3 id="usage-rules">Usage rules</h3>
250
+ <p>Please make sure you’re not tempted to do any of the following to the logo:</p>
251
+ <ul>
252
+ <li>Change elements of it</li>
253
+ <li>Outline or put a keyline around it</li>
254
+ <li>Use a different blue</li>
255
+ <li>Use a gradient or tint</li>
256
+ <li>Rotate the logo</li>
257
+ </ul>
100
258
  </div>
101
259
  </div>
102
260
  </div>
@@ -3,15 +3,15 @@
3
3
  Our grid is a 12 column grid, with similar sizes to that of Bootstrap. We also adhere to the same naming standards for device breakpoints.
4
4
  </p>
5
5
  <ul>
6
- <li>Default gutter width: <strong>15px either side</strong></li>
7
- <li>Large container width: <strong>1170px</strong></li>
8
- <li>Desktop container width: <strong>970px</strong></li>
9
- <li>Tablet container width: <strong>770px</strong></li>
6
+ <li>Default gutter width: <strong>15px either side</strong>.</li>
7
+ <li>Large container width: <strong>1170px</strong>.</li>
8
+ <li>Desktop container width: <strong>970px</strong>.</li>
9
+ <li>Tablet container width: <strong>770px</strong>.</li>
10
10
  </ul>
11
11
  <ul>
12
12
  <li>The parent container is <code>.us-container</code>, you must have this to start building the uSwitch layouts.</li>
13
- <li><code>.us-grid-row</code> is then used when you are building rows of columns (gives a negative margin to the container so they align correctly)</li>
14
- <li>All grid class names are prefixed with <code>.us-col-</code></li>
13
+ <li><code>.us-grid-row</code> is then used when you are building rows of columns (gives a negative margin to the container so they align correctly).</li>
14
+ <li>All grid class names are prefixed with <code>.us-col-</code>.</li>
15
15
  </ul>
16
16
  </div>
17
17
  <div class="styleguide__block">
@@ -3,9 +3,9 @@ template: simple.tpl
3
3
  name: Introduction
4
4
  ---
5
5
  <p>
6
- Our pattern library comes as a easily distributed package, ready to use in multiple programming environments. It contains our basic CSS components and correct usage, as well as JavaScript components that are widely used across the website.
6
+ Our pattern library comes as an easily distributed package, ready to use in multiple programming environments. It contains our basic CSS components and correct usage, as well as JavaScript components that are widely used across the website.
7
7
  </p>
8
- <a class="us-btn us-btn--small" href="http://github.com/uswitch/ustyle">View on github</a>
8
+ <a class="us-btn us-btn--small" href="https://github.com/uswitch/ustyle">View on GitHub</a>
9
9
  <div class="us-content-group mobile-bordered">
10
10
  <h2 class="trailered">Distribution methods</h2>
11
11
  <div class="us-grid-row">
@@ -18,7 +18,7 @@ name: Introduction
18
18
  <div class="us-col-md-6 trailered">
19
19
  <img src="/images/bower-logo.png" alt="Bower logo" class="distro-image">
20
20
  <h3>Bower package</h3>
21
- <p>Install is as a bower package. This will pull down the original <code>.scss</code> files and compiled static CSS + JS.</p>
21
+ <p>Install it as a bower package. This will pull down the original <code>.scss</code> files and compiled static CSS + JS.</p>
22
22
  <pre><code class="javascript">
23
23
  "dependencies": {
24
24
  "ustyle": "git@github.com:uswitch/ustyle.git#~0.19.1"
@@ -88,5 +88,5 @@ name: Introduction
88
88
  </div>
89
89
  <div class="us-content-group mobile-bordered">
90
90
  <h2>Installation</h2>
91
- <p>See our github for documentation on installing this across applications.</p>
91
+ <p>See our <a href="https://github.com/uswitch/ustyle">GitHub</a> for documentation on installing this across applications.</p>
92
92
  </div>