ustyle 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (634) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/.rbenv-gemsets +1 -0
  4. data/.ruby-version +1 -0
  5. data/CONTRIBUTING.md +68 -0
  6. data/Gemfile +4 -0
  7. data/Gruntfile.js +189 -0
  8. data/JAVASCRIPT_STANDARDS.md +88 -0
  9. data/LICENSE.txt +13 -0
  10. data/README.md +93 -0
  11. data/Rakefile +6 -0
  12. data/bower.json +54 -0
  13. data/config/.jscsrc +76 -0
  14. data/config/autoprefixer.yml +6 -0
  15. data/config/scss-lint.yml +54 -0
  16. data/dist/ustyle-content.css +1 -0
  17. data/dist/ustyle-icons.css +1 -0
  18. data/dist/ustyle-latest.css +1 -0
  19. data/dist/ustyle.js +799 -0
  20. data/dist/ustyle.json +1 -0
  21. data/grunt/modules/dss-helper.js +117 -0
  22. data/grunt/modules/file.js +26 -0
  23. data/grunt/modules/templates.js +59 -0
  24. data/grunt/tasks/browser-sync.js +19 -0
  25. data/grunt/tasks/builder.js +72 -0
  26. data/grunt/tasks/styleguide.js +290 -0
  27. data/grunt/tasks/svg2png.js +57 -0
  28. data/lib/ustyle/deploy.rb +31 -0
  29. data/lib/ustyle/engine.rb +24 -0
  30. data/lib/ustyle/hash.rb +44 -0
  31. data/lib/ustyle/icons.rb +13 -0
  32. data/lib/ustyle/sass_functions.rb +104 -0
  33. data/lib/ustyle/sinatra.rb +34 -0
  34. data/lib/ustyle/sprockets.rb +6 -0
  35. data/lib/ustyle/utils.rb +40 -0
  36. data/lib/ustyle/version.rb +4 -0
  37. data/lib/ustyle.rb +54 -0
  38. data/package.json +74 -0
  39. data/styleguide/CNAME +1 -0
  40. data/styleguide/assets/images/bower-logo.png +0 -0
  41. data/styleguide/assets/images/cloudfront-logo.png +0 -0
  42. data/styleguide/assets/images/illustration-01.png +0 -0
  43. data/styleguide/assets/images/illustration-02.png +0 -0
  44. data/styleguide/assets/images/illustration-03.png +0 -0
  45. data/styleguide/assets/images/illustration-04.png +0 -0
  46. data/styleguide/assets/images/illustration-05.png +0 -0
  47. data/styleguide/assets/images/illustration-06.png +0 -0
  48. data/styleguide/assets/images/illustration-07.png +0 -0
  49. data/styleguide/assets/images/illustration-08.png +0 -0
  50. data/styleguide/assets/images/infographic-01.png +0 -0
  51. data/styleguide/assets/images/infographic-02.png +0 -0
  52. data/styleguide/assets/images/lifestyle-photography-01.png +0 -0
  53. data/styleguide/assets/images/lifestyle-photography-02.png +0 -0
  54. data/styleguide/assets/images/lifestyle-photography-03.png +0 -0
  55. data/styleguide/assets/images/lifestyle-photography-04.png +0 -0
  56. data/styleguide/assets/images/lifestyle-photography-05.png +0 -0
  57. data/styleguide/assets/images/lifestyle-photography-06.png +0 -0
  58. data/styleguide/assets/images/lifestyle-photography-07.png +0 -0
  59. data/styleguide/assets/images/lifestyle-photography-08.png +0 -0
  60. data/styleguide/assets/images/npm-logo.png +0 -0
  61. data/styleguide/assets/images/object-photography-01.png +0 -0
  62. data/styleguide/assets/images/object-photography-02.png +0 -0
  63. data/styleguide/assets/images/object-photography-03.png +0 -0
  64. data/styleguide/assets/images/object-photography-04.png +0 -0
  65. data/styleguide/assets/images/object-photography-05.png +0 -0
  66. data/styleguide/assets/images/object-photography-06.png +0 -0
  67. data/styleguide/assets/images/object-photography-07.png +0 -0
  68. data/styleguide/assets/images/object-photography-08.png +0 -0
  69. data/styleguide/assets/images/ruby-logo.png +0 -0
  70. data/styleguide/assets/images/ustyle.svg +73 -0
  71. data/styleguide/assets/javascripts/app.js +91 -0
  72. data/styleguide/assets/javascripts/modules/cleanWhiteSpace.js +34 -0
  73. data/styleguide/assets/javascripts/modules/stats.js +51 -0
  74. data/styleguide/assets/javascripts/vendor/highlight.js +1 -0
  75. data/styleguide/assets/sass/main.scss +152 -0
  76. data/styleguide/assets/sass/modules/_code.scss +8 -0
  77. data/styleguide/assets/sass/modules/_colours.scss +25 -0
  78. data/styleguide/assets/sass/modules/_copyright.scss +4 -0
  79. data/styleguide/assets/sass/modules/_grid.scss +12 -0
  80. data/styleguide/assets/sass/modules/_home.scss +5 -0
  81. data/styleguide/assets/sass/modules/_links.scss +3 -0
  82. data/styleguide/assets/sass/modules/_logo.scss +56 -0
  83. data/styleguide/assets/sass/modules/_made-at.scss +6 -0
  84. data/styleguide/assets/sass/modules/_markdown.scss +7 -0
  85. data/styleguide/assets/sass/modules/_nav-mobile.scss +72 -0
  86. data/styleguide/assets/sass/modules/_nav.scss +32 -0
  87. data/styleguide/assets/sass/modules/_sidebar.scss +94 -0
  88. data/styleguide/assets/sass/modules/_states.scss +4 -0
  89. data/styleguide/assets/sass/modules/_styleguide.scss +134 -0
  90. data/styleguide/assets/sass/modules/_table.scss +3 -0
  91. data/styleguide/assets/sass/modules/_tooltip.scss +9 -0
  92. data/styleguide/assets/sass/modules/_typography.scss +14 -0
  93. data/styleguide/assets/sass/modules/_version.scss +11 -0
  94. data/styleguide/assets/sass/structure/_base.scss +18 -0
  95. data/styleguide/assets/sass/structure/_header.scss +12 -0
  96. data/styleguide/assets/sass/vendor/_highlight.scss +139 -0
  97. data/styleguide/assets/sass/vendor/_pure-table.scss +75 -0
  98. data/styleguide/content/brand/index.md +47 -0
  99. data/styleguide/content/brand/language.md +102 -0
  100. data/styleguide/content/brand/logo.tpl +102 -0
  101. data/styleguide/content/design/index.tpl +79 -0
  102. data/styleguide/content/design/typography.md +30 -0
  103. data/styleguide/content/index.tpl +44 -0
  104. data/styleguide/content/pattern-library/grid.tpl +64 -0
  105. data/styleguide/content/pattern-library/index.tpl +92 -0
  106. data/styleguide/partials/_footer.tpl +8 -0
  107. data/styleguide/partials/_head.tpl +20 -0
  108. data/styleguide/partials/_header.tpl +7 -0
  109. data/styleguide/partials/_sidebar.tpl +22 -0
  110. data/styleguide/partials/colour.tpl +24 -0
  111. data/styleguide/partials/icons.tpl +28 -0
  112. data/styleguide/partials/style_block.tpl +44 -0
  113. data/styleguide/templates/simple.tpl +15 -0
  114. data/styleguide/templates/stats.tpl +50 -0
  115. data/styleguide/templates/styleguide.tpl +33 -0
  116. data/tasks/publish.rake +65 -0
  117. data/ustyle.gemspec +34 -0
  118. data/vendor/assets/images/icons/16px/alarm.png +0 -0
  119. data/vendor/assets/images/icons/16px/android.png +0 -0
  120. data/vendor/assets/images/icons/16px/angry.png +0 -0
  121. data/vendor/assets/images/icons/16px/apple.png +0 -0
  122. data/vendor/assets/images/icons/16px/arrow-circle.png +0 -0
  123. data/vendor/assets/images/icons/16px/arrow-up-left.png +0 -0
  124. data/vendor/assets/images/icons/16px/arrow-up.png +0 -0
  125. data/vendor/assets/images/icons/16px/barchart.png +0 -0
  126. data/vendor/assets/images/icons/16px/blackberry.png +0 -0
  127. data/vendor/assets/images/icons/16px/book.png +0 -0
  128. data/vendor/assets/images/icons/16px/bookmark.png +0 -0
  129. data/vendor/assets/images/icons/16px/breadcrumb.png +0 -0
  130. data/vendor/assets/images/icons/16px/calculator.png +0 -0
  131. data/vendor/assets/images/icons/16px/calendar.png +0 -0
  132. data/vendor/assets/images/icons/16px/car.png +0 -0
  133. data/vendor/assets/images/icons/16px/checkbox-tick.png +0 -0
  134. data/vendor/assets/images/icons/16px/clock.png +0 -0
  135. data/vendor/assets/images/icons/16px/close.png +0 -0
  136. data/vendor/assets/images/icons/16px/cog.png +0 -0
  137. data/vendor/assets/images/icons/16px/controller.png +0 -0
  138. data/vendor/assets/images/icons/16px/credit-card.png +0 -0
  139. data/vendor/assets/images/icons/16px/cross.png +0 -0
  140. data/vendor/assets/images/icons/16px/desktop.png +0 -0
  141. data/vendor/assets/images/icons/16px/doc.png +0 -0
  142. data/vendor/assets/images/icons/16px/down-arrow.png +0 -0
  143. data/vendor/assets/images/icons/16px/dual-fuel.png +0 -0
  144. data/vendor/assets/images/icons/16px/electric-light.png +0 -0
  145. data/vendor/assets/images/icons/16px/envelope.png +0 -0
  146. data/vendor/assets/images/icons/16px/exit-noexit.png +0 -0
  147. data/vendor/assets/images/icons/16px/facebook.png +0 -0
  148. data/vendor/assets/images/icons/16px/filter.png +0 -0
  149. data/vendor/assets/images/icons/16px/fixed-variable.png +0 -0
  150. data/vendor/assets/images/icons/16px/gas.png +0 -0
  151. data/vendor/assets/images/icons/16px/gauge.png +0 -0
  152. data/vendor/assets/images/icons/16px/github.png +0 -0
  153. data/vendor/assets/images/icons/16px/google.png +0 -0
  154. data/vendor/assets/images/icons/16px/graph-up.png +0 -0
  155. data/vendor/assets/images/icons/16px/happy.png +0 -0
  156. data/vendor/assets/images/icons/16px/home.png +0 -0
  157. data/vendor/assets/images/icons/16px/hot.png +0 -0
  158. data/vendor/assets/images/icons/16px/info.png +0 -0
  159. data/vendor/assets/images/icons/16px/kettle.png +0 -0
  160. data/vendor/assets/images/icons/16px/key.png +0 -0
  161. data/vendor/assets/images/icons/16px/laptop.png +0 -0
  162. data/vendor/assets/images/icons/16px/lock.png +0 -0
  163. data/vendor/assets/images/icons/16px/magnify-in.png +0 -0
  164. data/vendor/assets/images/icons/16px/magnify-out.png +0 -0
  165. data/vendor/assets/images/icons/16px/magnify.png +0 -0
  166. data/vendor/assets/images/icons/16px/menu.png +0 -0
  167. data/vendor/assets/images/icons/16px/message.png +0 -0
  168. data/vendor/assets/images/icons/16px/mobile.png +0 -0
  169. data/vendor/assets/images/icons/16px/monthly-dd.png +0 -0
  170. data/vendor/assets/images/icons/16px/neutral.png +0 -0
  171. data/vendor/assets/images/icons/16px/no-exit.png +0 -0
  172. data/vendor/assets/images/icons/16px/pdf.png +0 -0
  173. data/vendor/assets/images/icons/16px/pencil.png +0 -0
  174. data/vendor/assets/images/icons/16px/person-add.png +0 -0
  175. data/vendor/assets/images/icons/16px/person.png +0 -0
  176. data/vendor/assets/images/icons/16px/phone.png +0 -0
  177. data/vendor/assets/images/icons/16px/piggy-bank.png +0 -0
  178. data/vendor/assets/images/icons/16px/pin.png +0 -0
  179. data/vendor/assets/images/icons/16px/play.png +0 -0
  180. data/vendor/assets/images/icons/16px/pound-circle.png +0 -0
  181. data/vendor/assets/images/icons/16px/pound-note.png +0 -0
  182. data/vendor/assets/images/icons/16px/power.png +0 -0
  183. data/vendor/assets/images/icons/16px/present.png +0 -0
  184. data/vendor/assets/images/icons/16px/print.png +0 -0
  185. data/vendor/assets/images/icons/16px/quarterly-dd.png +0 -0
  186. data/vendor/assets/images/icons/16px/question-circle.png +0 -0
  187. data/vendor/assets/images/icons/16px/question.png +0 -0
  188. data/vendor/assets/images/icons/16px/quote.png +0 -0
  189. data/vendor/assets/images/icons/16px/recycle.png +0 -0
  190. data/vendor/assets/images/icons/16px/remove.png +0 -0
  191. data/vendor/assets/images/icons/16px/renewable.png +0 -0
  192. data/vendor/assets/images/icons/16px/results.png +0 -0
  193. data/vendor/assets/images/icons/16px/sad.png +0 -0
  194. data/vendor/assets/images/icons/16px/save.png +0 -0
  195. data/vendor/assets/images/icons/16px/share.png +0 -0
  196. data/vendor/assets/images/icons/16px/sim.png +0 -0
  197. data/vendor/assets/images/icons/16px/smiley.png +0 -0
  198. data/vendor/assets/images/icons/16px/sort.png +0 -0
  199. data/vendor/assets/images/icons/16px/speech-circle.png +0 -0
  200. data/vendor/assets/images/icons/16px/speech.png +0 -0
  201. data/vendor/assets/images/icons/16px/spinner 2.png +0 -0
  202. data/vendor/assets/images/icons/16px/spinner.png +0 -0
  203. data/vendor/assets/images/icons/16px/star-half.png +0 -0
  204. data/vendor/assets/images/icons/16px/star.png +0 -0
  205. data/vendor/assets/images/icons/16px/starline-half.png +0 -0
  206. data/vendor/assets/images/icons/16px/starline.png +0 -0
  207. data/vendor/assets/images/icons/16px/tablet.png +0 -0
  208. data/vendor/assets/images/icons/16px/talk.png +0 -0
  209. data/vendor/assets/images/icons/16px/tick-circle.png +0 -0
  210. data/vendor/assets/images/icons/16px/tick.png +0 -0
  211. data/vendor/assets/images/icons/16px/tv.png +0 -0
  212. data/vendor/assets/images/icons/16px/twitter.png +0 -0
  213. data/vendor/assets/images/icons/16px/ustyle.png +0 -0
  214. data/vendor/assets/images/icons/16px/uswitch.png +0 -0
  215. data/vendor/assets/images/icons/16px/variable.png +0 -0
  216. data/vendor/assets/images/icons/16px/warning-circle.png +0 -0
  217. data/vendor/assets/images/icons/16px/warning.png +0 -0
  218. data/vendor/assets/images/icons/16px/wifi.png +0 -0
  219. data/vendor/assets/images/icons/16px/wiki.png +0 -0
  220. data/vendor/assets/images/icons/16px/windows.png +0 -0
  221. data/vendor/assets/images/icons/16px/wondering.png +0 -0
  222. data/vendor/assets/images/icons/16px/world.png +0 -0
  223. data/vendor/assets/images/icons/16px/xml.png +0 -0
  224. data/vendor/assets/images/icons/32px/alarm.png +0 -0
  225. data/vendor/assets/images/icons/32px/android.png +0 -0
  226. data/vendor/assets/images/icons/32px/angry.png +0 -0
  227. data/vendor/assets/images/icons/32px/apple.png +0 -0
  228. data/vendor/assets/images/icons/32px/arrow-circle.png +0 -0
  229. data/vendor/assets/images/icons/32px/arrow-up-left.png +0 -0
  230. data/vendor/assets/images/icons/32px/arrow-up.png +0 -0
  231. data/vendor/assets/images/icons/32px/barchart.png +0 -0
  232. data/vendor/assets/images/icons/32px/blackberry.png +0 -0
  233. data/vendor/assets/images/icons/32px/book.png +0 -0
  234. data/vendor/assets/images/icons/32px/bookmark.png +0 -0
  235. data/vendor/assets/images/icons/32px/breadcrumb.png +0 -0
  236. data/vendor/assets/images/icons/32px/calculator.png +0 -0
  237. data/vendor/assets/images/icons/32px/calendar.png +0 -0
  238. data/vendor/assets/images/icons/32px/car.png +0 -0
  239. data/vendor/assets/images/icons/32px/checkbox-tick.png +0 -0
  240. data/vendor/assets/images/icons/32px/clock.png +0 -0
  241. data/vendor/assets/images/icons/32px/close.png +0 -0
  242. data/vendor/assets/images/icons/32px/cog.png +0 -0
  243. data/vendor/assets/images/icons/32px/controller.png +0 -0
  244. data/vendor/assets/images/icons/32px/credit-card.png +0 -0
  245. data/vendor/assets/images/icons/32px/cross.png +0 -0
  246. data/vendor/assets/images/icons/32px/desktop.png +0 -0
  247. data/vendor/assets/images/icons/32px/doc.png +0 -0
  248. data/vendor/assets/images/icons/32px/down-arrow.png +0 -0
  249. data/vendor/assets/images/icons/32px/dual-fuel.png +0 -0
  250. data/vendor/assets/images/icons/32px/electric-light.png +0 -0
  251. data/vendor/assets/images/icons/32px/envelope.png +0 -0
  252. data/vendor/assets/images/icons/32px/exit-noexit.png +0 -0
  253. data/vendor/assets/images/icons/32px/facebook.png +0 -0
  254. data/vendor/assets/images/icons/32px/filter.png +0 -0
  255. data/vendor/assets/images/icons/32px/fixed-variable.png +0 -0
  256. data/vendor/assets/images/icons/32px/gas.png +0 -0
  257. data/vendor/assets/images/icons/32px/gauge.png +0 -0
  258. data/vendor/assets/images/icons/32px/github.png +0 -0
  259. data/vendor/assets/images/icons/32px/google.png +0 -0
  260. data/vendor/assets/images/icons/32px/graph-up.png +0 -0
  261. data/vendor/assets/images/icons/32px/happy.png +0 -0
  262. data/vendor/assets/images/icons/32px/home.png +0 -0
  263. data/vendor/assets/images/icons/32px/hot.png +0 -0
  264. data/vendor/assets/images/icons/32px/info.png +0 -0
  265. data/vendor/assets/images/icons/32px/kettle.png +0 -0
  266. data/vendor/assets/images/icons/32px/key.png +0 -0
  267. data/vendor/assets/images/icons/32px/laptop.png +0 -0
  268. data/vendor/assets/images/icons/32px/lock.png +0 -0
  269. data/vendor/assets/images/icons/32px/magnify-in.png +0 -0
  270. data/vendor/assets/images/icons/32px/magnify-out.png +0 -0
  271. data/vendor/assets/images/icons/32px/magnify.png +0 -0
  272. data/vendor/assets/images/icons/32px/menu.png +0 -0
  273. data/vendor/assets/images/icons/32px/message.png +0 -0
  274. data/vendor/assets/images/icons/32px/mobile.png +0 -0
  275. data/vendor/assets/images/icons/32px/monthly-dd.png +0 -0
  276. data/vendor/assets/images/icons/32px/neutral.png +0 -0
  277. data/vendor/assets/images/icons/32px/no-exit.png +0 -0
  278. data/vendor/assets/images/icons/32px/pdf.png +0 -0
  279. data/vendor/assets/images/icons/32px/pencil.png +0 -0
  280. data/vendor/assets/images/icons/32px/person-add.png +0 -0
  281. data/vendor/assets/images/icons/32px/person.png +0 -0
  282. data/vendor/assets/images/icons/32px/phone.png +0 -0
  283. data/vendor/assets/images/icons/32px/piggy-bank.png +0 -0
  284. data/vendor/assets/images/icons/32px/pin.png +0 -0
  285. data/vendor/assets/images/icons/32px/play.png +0 -0
  286. data/vendor/assets/images/icons/32px/pound-circle.png +0 -0
  287. data/vendor/assets/images/icons/32px/pound-note.png +0 -0
  288. data/vendor/assets/images/icons/32px/power.png +0 -0
  289. data/vendor/assets/images/icons/32px/present.png +0 -0
  290. data/vendor/assets/images/icons/32px/print.png +0 -0
  291. data/vendor/assets/images/icons/32px/quarterly-dd.png +0 -0
  292. data/vendor/assets/images/icons/32px/question-circle.png +0 -0
  293. data/vendor/assets/images/icons/32px/question.png +0 -0
  294. data/vendor/assets/images/icons/32px/quote.png +0 -0
  295. data/vendor/assets/images/icons/32px/recycle.png +0 -0
  296. data/vendor/assets/images/icons/32px/remove.png +0 -0
  297. data/vendor/assets/images/icons/32px/renewable.png +0 -0
  298. data/vendor/assets/images/icons/32px/results.png +0 -0
  299. data/vendor/assets/images/icons/32px/sad.png +0 -0
  300. data/vendor/assets/images/icons/32px/save.png +0 -0
  301. data/vendor/assets/images/icons/32px/share.png +0 -0
  302. data/vendor/assets/images/icons/32px/sim.png +0 -0
  303. data/vendor/assets/images/icons/32px/smiley.png +0 -0
  304. data/vendor/assets/images/icons/32px/sort.png +0 -0
  305. data/vendor/assets/images/icons/32px/speech-circle.png +0 -0
  306. data/vendor/assets/images/icons/32px/speech.png +0 -0
  307. data/vendor/assets/images/icons/32px/spinner 2.png +0 -0
  308. data/vendor/assets/images/icons/32px/spinner.png +0 -0
  309. data/vendor/assets/images/icons/32px/star-half.png +0 -0
  310. data/vendor/assets/images/icons/32px/star.png +0 -0
  311. data/vendor/assets/images/icons/32px/starline-half.png +0 -0
  312. data/vendor/assets/images/icons/32px/starline.png +0 -0
  313. data/vendor/assets/images/icons/32px/tablet.png +0 -0
  314. data/vendor/assets/images/icons/32px/talk.png +0 -0
  315. data/vendor/assets/images/icons/32px/tick-circle.png +0 -0
  316. data/vendor/assets/images/icons/32px/tick.png +0 -0
  317. data/vendor/assets/images/icons/32px/tv.png +0 -0
  318. data/vendor/assets/images/icons/32px/twitter.png +0 -0
  319. data/vendor/assets/images/icons/32px/ustyle.png +0 -0
  320. data/vendor/assets/images/icons/32px/uswitch.png +0 -0
  321. data/vendor/assets/images/icons/32px/variable.png +0 -0
  322. data/vendor/assets/images/icons/32px/warning-circle.png +0 -0
  323. data/vendor/assets/images/icons/32px/warning.png +0 -0
  324. data/vendor/assets/images/icons/32px/wifi.png +0 -0
  325. data/vendor/assets/images/icons/32px/wiki.png +0 -0
  326. data/vendor/assets/images/icons/32px/windows.png +0 -0
  327. data/vendor/assets/images/icons/32px/wondering.png +0 -0
  328. data/vendor/assets/images/icons/32px/world.png +0 -0
  329. data/vendor/assets/images/icons/32px/xml.png +0 -0
  330. data/vendor/assets/images/icons/64px/alarm.png +0 -0
  331. data/vendor/assets/images/icons/64px/android.png +0 -0
  332. data/vendor/assets/images/icons/64px/angry.png +0 -0
  333. data/vendor/assets/images/icons/64px/apple.png +0 -0
  334. data/vendor/assets/images/icons/64px/arrow-circle.png +0 -0
  335. data/vendor/assets/images/icons/64px/arrow-up-left.png +0 -0
  336. data/vendor/assets/images/icons/64px/arrow-up.png +0 -0
  337. data/vendor/assets/images/icons/64px/barchart.png +0 -0
  338. data/vendor/assets/images/icons/64px/blackberry.png +0 -0
  339. data/vendor/assets/images/icons/64px/book.png +0 -0
  340. data/vendor/assets/images/icons/64px/bookmark.png +0 -0
  341. data/vendor/assets/images/icons/64px/breadcrumb.png +0 -0
  342. data/vendor/assets/images/icons/64px/calculator.png +0 -0
  343. data/vendor/assets/images/icons/64px/calendar.png +0 -0
  344. data/vendor/assets/images/icons/64px/car.png +0 -0
  345. data/vendor/assets/images/icons/64px/checkbox-tick.png +0 -0
  346. data/vendor/assets/images/icons/64px/clock.png +0 -0
  347. data/vendor/assets/images/icons/64px/close.png +0 -0
  348. data/vendor/assets/images/icons/64px/cog.png +0 -0
  349. data/vendor/assets/images/icons/64px/controller.png +0 -0
  350. data/vendor/assets/images/icons/64px/credit-card.png +0 -0
  351. data/vendor/assets/images/icons/64px/cross.png +0 -0
  352. data/vendor/assets/images/icons/64px/desktop.png +0 -0
  353. data/vendor/assets/images/icons/64px/doc.png +0 -0
  354. data/vendor/assets/images/icons/64px/down-arrow.png +0 -0
  355. data/vendor/assets/images/icons/64px/dual-fuel.png +0 -0
  356. data/vendor/assets/images/icons/64px/electric-light.png +0 -0
  357. data/vendor/assets/images/icons/64px/envelope.png +0 -0
  358. data/vendor/assets/images/icons/64px/exit-noexit.png +0 -0
  359. data/vendor/assets/images/icons/64px/facebook.png +0 -0
  360. data/vendor/assets/images/icons/64px/filter.png +0 -0
  361. data/vendor/assets/images/icons/64px/fixed-variable.png +0 -0
  362. data/vendor/assets/images/icons/64px/gas.png +0 -0
  363. data/vendor/assets/images/icons/64px/gauge.png +0 -0
  364. data/vendor/assets/images/icons/64px/github.png +0 -0
  365. data/vendor/assets/images/icons/64px/google.png +0 -0
  366. data/vendor/assets/images/icons/64px/graph-up.png +0 -0
  367. data/vendor/assets/images/icons/64px/happy.png +0 -0
  368. data/vendor/assets/images/icons/64px/home.png +0 -0
  369. data/vendor/assets/images/icons/64px/hot.png +0 -0
  370. data/vendor/assets/images/icons/64px/info.png +0 -0
  371. data/vendor/assets/images/icons/64px/kettle.png +0 -0
  372. data/vendor/assets/images/icons/64px/key.png +0 -0
  373. data/vendor/assets/images/icons/64px/laptop.png +0 -0
  374. data/vendor/assets/images/icons/64px/lock.png +0 -0
  375. data/vendor/assets/images/icons/64px/magnify-in.png +0 -0
  376. data/vendor/assets/images/icons/64px/magnify-out.png +0 -0
  377. data/vendor/assets/images/icons/64px/magnify.png +0 -0
  378. data/vendor/assets/images/icons/64px/menu.png +0 -0
  379. data/vendor/assets/images/icons/64px/message.png +0 -0
  380. data/vendor/assets/images/icons/64px/mobile.png +0 -0
  381. data/vendor/assets/images/icons/64px/monthly-dd.png +0 -0
  382. data/vendor/assets/images/icons/64px/neutral.png +0 -0
  383. data/vendor/assets/images/icons/64px/no-exit.png +0 -0
  384. data/vendor/assets/images/icons/64px/pdf.png +0 -0
  385. data/vendor/assets/images/icons/64px/pencil.png +0 -0
  386. data/vendor/assets/images/icons/64px/person-add.png +0 -0
  387. data/vendor/assets/images/icons/64px/person.png +0 -0
  388. data/vendor/assets/images/icons/64px/phone.png +0 -0
  389. data/vendor/assets/images/icons/64px/piggy-bank.png +0 -0
  390. data/vendor/assets/images/icons/64px/pin.png +0 -0
  391. data/vendor/assets/images/icons/64px/play.png +0 -0
  392. data/vendor/assets/images/icons/64px/pound-circle.png +0 -0
  393. data/vendor/assets/images/icons/64px/pound-note.png +0 -0
  394. data/vendor/assets/images/icons/64px/power.png +0 -0
  395. data/vendor/assets/images/icons/64px/present.png +0 -0
  396. data/vendor/assets/images/icons/64px/print.png +0 -0
  397. data/vendor/assets/images/icons/64px/quarterly-dd.png +0 -0
  398. data/vendor/assets/images/icons/64px/question-circle.png +0 -0
  399. data/vendor/assets/images/icons/64px/question.png +0 -0
  400. data/vendor/assets/images/icons/64px/quote.png +0 -0
  401. data/vendor/assets/images/icons/64px/recycle.png +0 -0
  402. data/vendor/assets/images/icons/64px/remove.png +0 -0
  403. data/vendor/assets/images/icons/64px/renewable.png +0 -0
  404. data/vendor/assets/images/icons/64px/results.png +0 -0
  405. data/vendor/assets/images/icons/64px/sad.png +0 -0
  406. data/vendor/assets/images/icons/64px/save.png +0 -0
  407. data/vendor/assets/images/icons/64px/share.png +0 -0
  408. data/vendor/assets/images/icons/64px/sim.png +0 -0
  409. data/vendor/assets/images/icons/64px/smiley.png +0 -0
  410. data/vendor/assets/images/icons/64px/sort.png +0 -0
  411. data/vendor/assets/images/icons/64px/speech-circle.png +0 -0
  412. data/vendor/assets/images/icons/64px/speech.png +0 -0
  413. data/vendor/assets/images/icons/64px/spinner 2.png +0 -0
  414. data/vendor/assets/images/icons/64px/spinner.png +0 -0
  415. data/vendor/assets/images/icons/64px/star-half.png +0 -0
  416. data/vendor/assets/images/icons/64px/star.png +0 -0
  417. data/vendor/assets/images/icons/64px/starline-half.png +0 -0
  418. data/vendor/assets/images/icons/64px/starline.png +0 -0
  419. data/vendor/assets/images/icons/64px/tablet.png +0 -0
  420. data/vendor/assets/images/icons/64px/talk.png +0 -0
  421. data/vendor/assets/images/icons/64px/tick-circle.png +0 -0
  422. data/vendor/assets/images/icons/64px/tick.png +0 -0
  423. data/vendor/assets/images/icons/64px/tv.png +0 -0
  424. data/vendor/assets/images/icons/64px/twitter.png +0 -0
  425. data/vendor/assets/images/icons/64px/ustyle.png +0 -0
  426. data/vendor/assets/images/icons/64px/uswitch.png +0 -0
  427. data/vendor/assets/images/icons/64px/variable.png +0 -0
  428. data/vendor/assets/images/icons/64px/warning-circle.png +0 -0
  429. data/vendor/assets/images/icons/64px/warning.png +0 -0
  430. data/vendor/assets/images/icons/64px/wifi.png +0 -0
  431. data/vendor/assets/images/icons/64px/wiki.png +0 -0
  432. data/vendor/assets/images/icons/64px/windows.png +0 -0
  433. data/vendor/assets/images/icons/64px/wondering.png +0 -0
  434. data/vendor/assets/images/icons/64px/world.png +0 -0
  435. data/vendor/assets/images/icons/64px/xml.png +0 -0
  436. data/vendor/assets/images/icons/alarm.svg +1 -0
  437. data/vendor/assets/images/icons/android.svg +1 -0
  438. data/vendor/assets/images/icons/angry.svg +1 -0
  439. data/vendor/assets/images/icons/apple.svg +1 -0
  440. data/vendor/assets/images/icons/arrow-circle.svg +1 -0
  441. data/vendor/assets/images/icons/arrow-up-left.svg +1 -0
  442. data/vendor/assets/images/icons/arrow-up.svg +1 -0
  443. data/vendor/assets/images/icons/barchart.svg +1 -0
  444. data/vendor/assets/images/icons/blackberry.svg +1 -0
  445. data/vendor/assets/images/icons/book.svg +1 -0
  446. data/vendor/assets/images/icons/bookmark.svg +1 -0
  447. data/vendor/assets/images/icons/breadcrumb.svg +1 -0
  448. data/vendor/assets/images/icons/calculator.svg +1 -0
  449. data/vendor/assets/images/icons/calendar.svg +1 -0
  450. data/vendor/assets/images/icons/car.svg +1 -0
  451. data/vendor/assets/images/icons/checkbox-tick.svg +1 -0
  452. data/vendor/assets/images/icons/clock.svg +1 -0
  453. data/vendor/assets/images/icons/close.svg +1 -0
  454. data/vendor/assets/images/icons/cog.svg +1 -0
  455. data/vendor/assets/images/icons/controller.svg +1 -0
  456. data/vendor/assets/images/icons/credit-card.svg +1 -0
  457. data/vendor/assets/images/icons/cross.svg +1 -0
  458. data/vendor/assets/images/icons/desktop.svg +1 -0
  459. data/vendor/assets/images/icons/doc.svg +1 -0
  460. data/vendor/assets/images/icons/down-arrow.svg +1 -0
  461. data/vendor/assets/images/icons/dual-fuel.svg +1 -0
  462. data/vendor/assets/images/icons/electric-light.svg +1 -0
  463. data/vendor/assets/images/icons/envelope.svg +1 -0
  464. data/vendor/assets/images/icons/exit-noexit.svg +1 -0
  465. data/vendor/assets/images/icons/facebook.svg +1 -0
  466. data/vendor/assets/images/icons/filter.svg +1 -0
  467. data/vendor/assets/images/icons/fixed-variable.svg +1 -0
  468. data/vendor/assets/images/icons/gas.svg +1 -0
  469. data/vendor/assets/images/icons/gauge.svg +1 -0
  470. data/vendor/assets/images/icons/github.svg +1 -0
  471. data/vendor/assets/images/icons/google.svg +1 -0
  472. data/vendor/assets/images/icons/graph-up.svg +1 -0
  473. data/vendor/assets/images/icons/happy.svg +1 -0
  474. data/vendor/assets/images/icons/home.svg +1 -0
  475. data/vendor/assets/images/icons/hot.svg +1 -0
  476. data/vendor/assets/images/icons/info.svg +1 -0
  477. data/vendor/assets/images/icons/kettle.svg +1 -0
  478. data/vendor/assets/images/icons/key.svg +1 -0
  479. data/vendor/assets/images/icons/laptop.svg +1 -0
  480. data/vendor/assets/images/icons/lock.svg +1 -0
  481. data/vendor/assets/images/icons/magnify-in.svg +1 -0
  482. data/vendor/assets/images/icons/magnify-out.svg +1 -0
  483. data/vendor/assets/images/icons/magnify.svg +1 -0
  484. data/vendor/assets/images/icons/menu.svg +1 -0
  485. data/vendor/assets/images/icons/message.svg +1 -0
  486. data/vendor/assets/images/icons/mobile.svg +1 -0
  487. data/vendor/assets/images/icons/monthly-dd.svg +1 -0
  488. data/vendor/assets/images/icons/neutral.svg +1 -0
  489. data/vendor/assets/images/icons/no-exit.svg +1 -0
  490. data/vendor/assets/images/icons/pdf.svg +1 -0
  491. data/vendor/assets/images/icons/pencil.svg +1 -0
  492. data/vendor/assets/images/icons/person-add.svg +1 -0
  493. data/vendor/assets/images/icons/person.svg +1 -0
  494. data/vendor/assets/images/icons/phone.svg +1 -0
  495. data/vendor/assets/images/icons/piggy-bank.svg +1 -0
  496. data/vendor/assets/images/icons/pin.svg +1 -0
  497. data/vendor/assets/images/icons/play.svg +1 -0
  498. data/vendor/assets/images/icons/pound-circle.svg +1 -0
  499. data/vendor/assets/images/icons/pound-note.svg +1 -0
  500. data/vendor/assets/images/icons/power.svg +1 -0
  501. data/vendor/assets/images/icons/present.svg +1 -0
  502. data/vendor/assets/images/icons/print.svg +1 -0
  503. data/vendor/assets/images/icons/quarterly-dd.svg +1 -0
  504. data/vendor/assets/images/icons/question-circle.svg +1 -0
  505. data/vendor/assets/images/icons/question.svg +1 -0
  506. data/vendor/assets/images/icons/quote.svg +1 -0
  507. data/vendor/assets/images/icons/recycle.svg +1 -0
  508. data/vendor/assets/images/icons/remove.svg +1 -0
  509. data/vendor/assets/images/icons/renewable.svg +1 -0
  510. data/vendor/assets/images/icons/results.svg +1 -0
  511. data/vendor/assets/images/icons/sad.svg +1 -0
  512. data/vendor/assets/images/icons/save.svg +1 -0
  513. data/vendor/assets/images/icons/share.svg +1 -0
  514. data/vendor/assets/images/icons/sim.svg +1 -0
  515. data/vendor/assets/images/icons/smiley.svg +1 -0
  516. data/vendor/assets/images/icons/sort.svg +1 -0
  517. data/vendor/assets/images/icons/speech-circle.svg +1 -0
  518. data/vendor/assets/images/icons/speech.svg +1 -0
  519. data/vendor/assets/images/icons/spinner 2.svg +1 -0
  520. data/vendor/assets/images/icons/spinner.svg +1 -0
  521. data/vendor/assets/images/icons/spinner_fallback.gif +0 -0
  522. data/vendor/assets/images/icons/star-half.svg +1 -0
  523. data/vendor/assets/images/icons/star.svg +1 -0
  524. data/vendor/assets/images/icons/starline-half.svg +1 -0
  525. data/vendor/assets/images/icons/starline.svg +1 -0
  526. data/vendor/assets/images/icons/tablet.svg +1 -0
  527. data/vendor/assets/images/icons/talk.svg +1 -0
  528. data/vendor/assets/images/icons/tick-circle.svg +1 -0
  529. data/vendor/assets/images/icons/tick.svg +1 -0
  530. data/vendor/assets/images/icons/tv.svg +1 -0
  531. data/vendor/assets/images/icons/twitter.svg +1 -0
  532. data/vendor/assets/images/icons/ustyle.svg +1 -0
  533. data/vendor/assets/images/icons/uswitch.svg +1 -0
  534. data/vendor/assets/images/icons/variable.svg +1 -0
  535. data/vendor/assets/images/icons/warning-circle.svg +1 -0
  536. data/vendor/assets/images/icons/warning.svg +1 -0
  537. data/vendor/assets/images/icons/wifi.svg +1 -0
  538. data/vendor/assets/images/icons/wiki.svg +1 -0
  539. data/vendor/assets/images/icons/windows.svg +1 -0
  540. data/vendor/assets/images/icons/wondering.svg +1 -0
  541. data/vendor/assets/images/icons/world.svg +1 -0
  542. data/vendor/assets/images/icons/xml.svg +1 -0
  543. data/vendor/assets/javascripts/ustyle/anchor.js +300 -0
  544. data/vendor/assets/javascripts/ustyle/backdrop.js +56 -0
  545. data/vendor/assets/javascripts/ustyle/classtoggler.js +58 -0
  546. data/vendor/assets/javascripts/ustyle/login/login.js +165 -0
  547. data/vendor/assets/javascripts/ustyle/login/password-helper.js +151 -0
  548. data/vendor/assets/javascripts/ustyle/overlay.js +125 -0
  549. data/vendor/assets/javascripts/ustyle/radioToggle.js +28 -0
  550. data/vendor/assets/javascripts/ustyle/tabs.js +120 -0
  551. data/vendor/assets/javascripts/ustyle/utils.js +106 -0
  552. data/vendor/assets/javascripts/ustyle.js +7 -0
  553. data/vendor/assets/stylesheets/ustyle/_all.scss +50 -0
  554. data/vendor/assets/stylesheets/ustyle/_content.scss +5 -0
  555. data/vendor/assets/stylesheets/ustyle/_global.scss +24 -0
  556. data/vendor/assets/stylesheets/ustyle/_icons.scss +20 -0
  557. data/vendor/assets/stylesheets/ustyle/articles/_base.scss +88 -0
  558. data/vendor/assets/stylesheets/ustyle/articles/_guide.scss +57 -0
  559. data/vendor/assets/stylesheets/ustyle/articles/_more.scss +31 -0
  560. data/vendor/assets/stylesheets/ustyle/articles/_news.scss +214 -0
  561. data/vendor/assets/stylesheets/ustyle/articles/_related.scss +74 -0
  562. data/vendor/assets/stylesheets/ustyle/basics/_extends.scss +69 -0
  563. data/vendor/assets/stylesheets/ustyle/basics/_font-face-ie.scss +31 -0
  564. data/vendor/assets/stylesheets/ustyle/basics/_font-face.scss +31 -0
  565. data/vendor/assets/stylesheets/ustyle/basics/_fonts.scss +27 -0
  566. data/vendor/assets/stylesheets/ustyle/basics/_functions.scss +78 -0
  567. data/vendor/assets/stylesheets/ustyle/basics/_grid.scss +86 -0
  568. data/vendor/assets/stylesheets/ustyle/basics/_typography.scss +123 -0
  569. data/vendor/assets/stylesheets/ustyle/basics/_variables.scss +188 -0
  570. data/vendor/assets/stylesheets/ustyle/basics/variables/_colors.scss +95 -0
  571. data/vendor/assets/stylesheets/ustyle/basics/variables/_forms.scss +65 -0
  572. data/vendor/assets/stylesheets/ustyle/basics/variables/_icons.scss +166 -0
  573. data/vendor/assets/stylesheets/ustyle/components/_anchor.scss +134 -0
  574. data/vendor/assets/stylesheets/ustyle/components/_backdrop.scss +19 -0
  575. data/vendor/assets/stylesheets/ustyle/components/_breadcrumbs.scss +59 -0
  576. data/vendor/assets/stylesheets/ustyle/components/_button.scss +184 -0
  577. data/vendor/assets/stylesheets/ustyle/components/_content-group.scss +33 -0
  578. data/vendor/assets/stylesheets/ustyle/components/_cta.scss +64 -0
  579. data/vendor/assets/stylesheets/ustyle/components/_featured.scss +112 -0
  580. data/vendor/assets/stylesheets/ustyle/components/_grid-classes.scss +52 -0
  581. data/vendor/assets/stylesheets/ustyle/components/_hero.scss +42 -0
  582. data/vendor/assets/stylesheets/ustyle/components/_links.scss +30 -0
  583. data/vendor/assets/stylesheets/ustyle/components/_lists-li.scss +89 -0
  584. data/vendor/assets/stylesheets/ustyle/components/_lists.scss +46 -0
  585. data/vendor/assets/stylesheets/ustyle/components/_loader.scss +142 -0
  586. data/vendor/assets/stylesheets/ustyle/components/_overlay.scss +183 -0
  587. data/vendor/assets/stylesheets/ustyle/components/_progress.scss +126 -0
  588. data/vendor/assets/stylesheets/ustyle/components/_tabs.scss +239 -0
  589. data/vendor/assets/stylesheets/ustyle/components/_tooltip.scss +244 -0
  590. data/vendor/assets/stylesheets/ustyle/components/_usp.scss +69 -0
  591. data/vendor/assets/stylesheets/ustyle/content/_base.scss +195 -0
  592. data/vendor/assets/stylesheets/ustyle/content/_c-header.scss +30 -0
  593. data/vendor/assets/stylesheets/ustyle/content/_c-social.scss +10 -0
  594. data/vendor/assets/stylesheets/ustyle/content/_c-tabs.scss +30 -0
  595. data/vendor/assets/stylesheets/ustyle/forms/_base.scss +9 -0
  596. data/vendor/assets/stylesheets/ustyle/forms/_fields.scss +75 -0
  597. data/vendor/assets/stylesheets/ustyle/forms/_input-group.scss +101 -0
  598. data/vendor/assets/stylesheets/ustyle/forms/_input.scss +63 -0
  599. data/vendor/assets/stylesheets/ustyle/forms/_radio-checkbox.scss +133 -0
  600. data/vendor/assets/stylesheets/ustyle/forms/_reset.scss +23 -0
  601. data/vendor/assets/stylesheets/ustyle/forms/_select.scss +125 -0
  602. data/vendor/assets/stylesheets/ustyle/forms/_textarea.scss +33 -0
  603. data/vendor/assets/stylesheets/ustyle/forms/_toggle.scss +125 -0
  604. data/vendor/assets/stylesheets/ustyle/forms/_validation.scss +104 -0
  605. data/vendor/assets/stylesheets/ustyle/icons/_base.scss +239 -0
  606. data/vendor/assets/stylesheets/ustyle/icons/_png.scss +37 -0
  607. data/vendor/assets/stylesheets/ustyle/icons/_svg.scss +29 -0
  608. data/vendor/assets/stylesheets/ustyle/login/_base.scss +81 -0
  609. data/vendor/assets/stylesheets/ustyle/login/_password-help.scss +61 -0
  610. data/vendor/assets/stylesheets/ustyle/login/_social.scss +63 -0
  611. data/vendor/assets/stylesheets/ustyle/mixins/_arrow.scss +51 -0
  612. data/vendor/assets/stylesheets/ustyle/mixins/_base.scss +8 -0
  613. data/vendor/assets/stylesheets/ustyle/mixins/_baseline.scss +41 -0
  614. data/vendor/assets/stylesheets/ustyle/mixins/_forms.scss +62 -0
  615. data/vendor/assets/stylesheets/ustyle/mixins/_general.scss +24 -0
  616. data/vendor/assets/stylesheets/ustyle/mixins/_link-colors.scss +44 -0
  617. data/vendor/assets/stylesheets/ustyle/mixins/_media-query.scss +116 -0
  618. data/vendor/assets/stylesheets/ustyle/mixins/_rgba-inline.scss +18 -0
  619. data/vendor/assets/stylesheets/ustyle/mixins/_typography.scss +98 -0
  620. data/vendor/assets/stylesheets/ustyle/tables/_base.scss +4 -0
  621. data/vendor/assets/stylesheets/ustyle/tables/_tables-basic.scss +72 -0
  622. data/vendor/assets/stylesheets/ustyle/tables/_tables-sortable.scss +72 -0
  623. data/vendor/assets/stylesheets/ustyle/tables/_tables-with-key-cells.scss +18 -0
  624. data/vendor/assets/stylesheets/ustyle/tables/_variables.scss +15 -0
  625. data/vendor/assets/stylesheets/ustyle/utilities/_general.scss +106 -0
  626. data/vendor/assets/stylesheets/ustyle/utilities/_grid.scss +13 -0
  627. data/vendor/assets/stylesheets/ustyle/utilities/_images.scss +34 -0
  628. data/vendor/assets/stylesheets/ustyle/utilities/_responsive.scss +101 -0
  629. data/vendor/assets/stylesheets/ustyle/utilities/_spacing.scss +74 -0
  630. data/vendor/assets/stylesheets/ustyle/vendor/normalize.scss +427 -0
  631. data/vendor/assets/stylesheets/ustyle-content.scss +2 -0
  632. data/vendor/assets/stylesheets/ustyle-icons.scss +1 -0
  633. data/vendor/assets/stylesheets/ustyle.scss +1 -0
  634. metadata +822 -0
@@ -0,0 +1,134 @@
1
+ $styleguide-block-padding: $gutter-width*2;
2
+ $styleguide-separator-color: $c-bggrey;
3
+ $styleguide-block-border-color: $c-bordergrey;
4
+
5
+ .styleguide {
6
+ &__hero {
7
+ padding: 2em $gutter-width / 2;
8
+ margin-right: - $gutter-width / 2;
9
+ margin-left: - $gutter-width/2;
10
+ color: #fff;
11
+ background-color: $c-navy;
12
+
13
+ @include respond-to($sidebar-breakpoint, true) {
14
+ padding: 2em $gutter-width/2;
15
+ }
16
+
17
+ @include respond-to(desktop, true) {
18
+ padding-left: $gutter-width;
19
+ margin-left: - $gutter-width/2;
20
+ }
21
+ }
22
+
23
+ &__hero-heading {
24
+ margin-bottom: 0;
25
+ }
26
+
27
+ &__block {
28
+ @extend %clearfix;
29
+ position: relative;
30
+ padding-bottom: $styleguide-block-padding / 1.5;
31
+ border-bottom: 1px solid $styleguide-separator-color;
32
+
33
+ + .styleguide__block {
34
+ padding-top: $styleguide-block-padding / 2;
35
+ }
36
+ }
37
+
38
+ &__header {
39
+ padding-top: $styleguide-block-padding/2;
40
+ padding-bottom: $styleguide-block-padding/2;
41
+
42
+ @include respond-to(tablet, true) {
43
+ padding-top: $styleguide-block-padding/2;
44
+ }
45
+ }
46
+
47
+ &__title {
48
+ margin-top: 1em;
49
+ margin-bottom: 1em;
50
+ color: $c-navy;
51
+ }
52
+
53
+ &__description {
54
+ color: $c-typegrey-2;
55
+ }
56
+
57
+ &__content {
58
+ padding-top: $gutter-width;
59
+
60
+ @include respond-to(desktop, true) {
61
+ &--w-sidebar {
62
+ border-right: 1px solid $c-keylinegrey;
63
+ }
64
+ }
65
+ }
66
+
67
+ &__file-link {
68
+ @include link-colors($c-typegrey, $c-typecyan);
69
+ display: inline-block;
70
+ padding: 5px 8px;
71
+ font-size: 14px;
72
+ font-weight: 400;
73
+ line-height: 1.25;
74
+ text-decoration: none;
75
+ vertical-align: middle;
76
+ background-color: $c-bggrey;
77
+ border-radius: 2px;
78
+ }
79
+
80
+ &__block-title {
81
+ position: relative;
82
+ margin-bottom: $gutter-width/2;
83
+ color: $c-navy;
84
+ }
85
+
86
+ &__block-small-title {
87
+ padding: $gutter-width/2 $gutter-width/2 0 $gutter-width/2;
88
+ margin-bottom: 0;
89
+ font-size: 1.125em;
90
+ color: $c-typegrey-2;
91
+ text-transform: uppercase;
92
+ }
93
+
94
+ &__block-examples {
95
+ border: 1px solid $styleguide-block-border-color;
96
+ border-radius: 3px;
97
+ }
98
+
99
+ &__block-example {
100
+ @extend %clearfix;
101
+ position: relative;
102
+ padding: $gutter-width $gutter-width/2;
103
+
104
+ + &__block-example {
105
+ border-top: 1px dashed darken($styleguide-separator-color, 10%);
106
+ }
107
+ }
108
+
109
+ &__block-example-class {
110
+ position: absolute;
111
+ bottom: 0;
112
+ left: 0;
113
+ padding: 0 8px;
114
+ font-size: .85em;
115
+ color: $c-typegrey;
116
+ background-color: $c-bggrey;
117
+ }
118
+
119
+ &__block-states {
120
+ padding-left: 0;
121
+ margin-top: 0;
122
+ color: lighten($c-typegrey, 10%);
123
+ list-style: none;
124
+
125
+ li:before {
126
+ display: inline-block;
127
+ margin: 0 .35em;
128
+ font-size: 1.4em;
129
+ font-weight: normal;
130
+ color: $c-bordergrey;
131
+ content: "\203A";
132
+ }
133
+ }
134
+ }
@@ -0,0 +1,3 @@
1
+ .table__container {
2
+ overflow-x: scroll;
3
+ }
@@ -0,0 +1,9 @@
1
+ .tooltip-demo {
2
+ position: relative;
3
+ padding: 1em;
4
+ border: 1px dashed $c-inputgrey;
5
+
6
+ @include respond-to(tablet, true) {
7
+ width: 50%;
8
+ }
9
+ }
@@ -0,0 +1,14 @@
1
+ .font-chars {
2
+ margin-bottom: 2em;
3
+ font-size: 1.75em;
4
+ line-height: 2;
5
+ color: $c-typegrey-2;
6
+
7
+ &--bold {
8
+ @include bold-font;
9
+ }
10
+
11
+ &--italic {
12
+ @include italic-font;
13
+ }
14
+ }
@@ -0,0 +1,11 @@
1
+ .version {
2
+ display: inline-block;
3
+ padding: 3px;
4
+ margin-left: 10px;
5
+ font-size: .75em;
6
+ line-height: 1.4;
7
+ color: $c-typegrey-2;
8
+ vertical-align: middle;
9
+ background-color: $c-bggrey;
10
+ border-radius: 2px;
11
+ }
@@ -0,0 +1,18 @@
1
+ $container-width: 90%;
2
+
3
+ html {
4
+ @include respond-to(mobile) {
5
+ font-size: $base-font-size * .875;
6
+ }
7
+ }
8
+
9
+ .container {
10
+ @extend %clearfix;
11
+ position: relative;
12
+ padding-right: $gutter-width / 2;
13
+ padding-left: $gutter-width / 2;
14
+ }
15
+
16
+ .content {
17
+ padding-top: $gutter-width;
18
+ }
@@ -0,0 +1,12 @@
1
+ .ustyle__header {
2
+ @extend %clearfix;
3
+ z-index: 15;
4
+ padding: .55em;
5
+
6
+ @include respond-to(tablet, true) {
7
+ position: fixed;
8
+ width: $sidebar-width;
9
+ padding: 1.45em .55em;
10
+ border-right: 1px solid $c-bordergrey;
11
+ }
12
+ }
@@ -0,0 +1,139 @@
1
+ pre {
2
+ display: block;
3
+ padding: 1.5em;
4
+ margin-top: 0;
5
+ margin-bottom: 0;
6
+ font-family: Consolas,"Liberation Mono", Menlo, Courier, monospace;
7
+ font-size: .9em;
8
+ line-height: 1.4;
9
+ color: $c-typegrey;
10
+ background: #fafafa;
11
+ border-top: 1px solid $c-bordergrey;
12
+
13
+ code {
14
+ display: inline;
15
+ margin: 0;
16
+ padding: 0;
17
+ max-width: initial;
18
+ overflow: initial;
19
+ line-height: inherit;
20
+ color: $c-typegrey;
21
+ word-wrap: normal;
22
+ background: none;
23
+ border: 0;
24
+ }
25
+ }
26
+
27
+ .hljs-comment,
28
+ .hljs-template_comment,
29
+ .diff .hljs-header,
30
+ .hljs-javadoc {
31
+ color: #999988;
32
+ font-style: italic;
33
+ }
34
+
35
+ .hljs-keyword,
36
+ .css .rule .hljs-keyword,
37
+ .hljs-winutils,
38
+ .javascript .hljs-title,
39
+ .nginx .hljs-title,
40
+ .hljs-subst,
41
+ .hljs-request,
42
+ .hljs-status {
43
+ color: #333333;
44
+ font-weight: bold;
45
+ }
46
+
47
+ .hljs-number,
48
+ .hljs-hexcolor,
49
+ .ruby .hljs-constant {
50
+ color: #009999;
51
+ }
52
+
53
+ .hljs-string,
54
+ .hljs-tag .hljs-value,
55
+ .hljs-phpdoc,
56
+ .tex .hljs-formula {
57
+ color: deeppink;
58
+ }
59
+
60
+ .hljs-title,
61
+ .hljs-id,
62
+ .coffeescript .hljs-params,
63
+ .scss .hljs-preprocessor {
64
+ color: #990000;
65
+ font-weight: bold;
66
+ }
67
+
68
+ .javascript .hljs-title,
69
+ .lisp .hljs-title,
70
+ .clojure .hljs-title,
71
+ .hljs-subst {
72
+ font-weight: normal;
73
+ }
74
+
75
+ .hljs-class .hljs-title,
76
+ .haskell .hljs-type,
77
+ .vhdl .hljs-literal,
78
+ .tex .hljs-command {
79
+ color: #445588;
80
+ font-weight: bold;
81
+ }
82
+
83
+ .hljs-tag,
84
+ .hljs-tag .hljs-title,
85
+ .hljs-rules .hljs-property,
86
+ .django .hljs-tag .hljs-keyword {
87
+ color: $c-blue;
88
+ font-weight: normal;
89
+ }
90
+
91
+ .hljs-attribute,
92
+ .hljs-variable,
93
+ .lisp .hljs-body {
94
+ color: $c-typecyan;
95
+ }
96
+
97
+ .hljs-regexp {
98
+ color: #009926;
99
+ }
100
+
101
+ .hljs-symbol,
102
+ .ruby .hljs-symbol .hljs-string,
103
+ .lisp .hljs-keyword,
104
+ .tex .hljs-special,
105
+ .hljs-prompt {
106
+ color: #990073;
107
+ }
108
+
109
+ .hljs-built_in,
110
+ .lisp .hljs-title,
111
+ .clojure .hljs-built_in {
112
+ color: #0086b3;
113
+ }
114
+
115
+ .hljs-preprocessor,
116
+ .hljs-pragma,
117
+ .hljs-pi,
118
+ .hljs-doctype,
119
+ .hljs-shebang,
120
+ .hljs-cdata {
121
+ color: #999999;
122
+ font-weight: bold;
123
+ }
124
+
125
+ .hljs-deletion {
126
+ background: #ffdddd;
127
+ }
128
+
129
+ .hljs-addition {
130
+ background: #ddffdd;
131
+ }
132
+
133
+ .diff .hljs-change {
134
+ background: #0086b3;
135
+ }
136
+
137
+ .hljs-chunk {
138
+ color: #aaaaaa;
139
+ }
@@ -0,0 +1,75 @@
1
+ .pure-table {
2
+ /* Remove spacing between table cells (from Normalize.css) */
3
+ border-collapse: collapse;
4
+ border-spacing: 0;
5
+ empty-cells: show;
6
+ border: 1px solid #cbcbcb;
7
+ }
8
+
9
+ .pure-table caption {
10
+ color: #000;
11
+ font: italic 85%/1 arial, sans-serif;
12
+ padding: 1em 0;
13
+ text-align: center;
14
+ }
15
+
16
+ .pure-table td,
17
+ .pure-table th {
18
+ border-left: 1px solid #cbcbcb;/* inner column border */
19
+ border-width: 0 0 0 1px;
20
+ font-size: inherit;
21
+ margin: 0;
22
+ overflow: visible; /*to make ths where the title is really long work*/
23
+ padding: 0.5em 1em; /* cell padding */
24
+ }
25
+
26
+ /* Consider removing this next declaration block, as it causes problems when
27
+ there's a rowspan on the first cell. Case added to the tests. issue#432 */
28
+ .pure-table td:first-child,
29
+ .pure-table th:first-child {
30
+ border-left-width: 0;
31
+ }
32
+
33
+ .pure-table thead {
34
+ background-color: #e0e0e0;
35
+ color: #000;
36
+ text-align: left;
37
+ vertical-align: bottom;
38
+ }
39
+
40
+ /*
41
+ striping:
42
+ even - #fff (white)
43
+ odd - #f2f2f2 (light gray)
44
+ */
45
+ .pure-table td {
46
+ background-color: transparent;
47
+ }
48
+ .pure-table-odd td {
49
+ background-color: #f2f2f2;
50
+ }
51
+
52
+ /* nth-child selector for modern browsers */
53
+ .pure-table-striped tr:nth-child(2n-1) td {
54
+ background-color: #f2f2f2;
55
+ }
56
+
57
+ /* BORDERED TABLES */
58
+ .pure-table-bordered td {
59
+ border-bottom: 1px solid #cbcbcb;
60
+ }
61
+ .pure-table-bordered tbody > tr:last-child > td {
62
+ border-bottom-width: 0;
63
+ }
64
+
65
+
66
+ /* HORIZONTAL BORDERED TABLES */
67
+
68
+ .pure-table-horizontal td,
69
+ .pure-table-horizontal th {
70
+ border-width: 0 0 1px 0;
71
+ border-bottom: 1px solid #cbcbcb;
72
+ }
73
+ .pure-table-horizontal tbody > tr:last-child > td {
74
+ border-bottom-width: 0;
75
+ }
@@ -0,0 +1,47 @@
1
+ ---
2
+ name: Framework
3
+ ---
4
+
5
+ ## We believe in simplicity.
6
+
7
+ That’s why we’ve made these guidelines really simple. They inform the way we look, feel, behave and sound as a company. They help ensure we remain consistent, impactful and recognisable across all of our communications.
8
+
9
+ ### Our values
10
+ - Fairness
11
+ - Knowledge
12
+ - Clarity
13
+ - Confidence
14
+ - Possibilities
15
+
16
+ ### Our mission
17
+ Using our expansive market knowledge and customer insight, we want to provide a simple, relevant service allowing customers to switch with minimal hassle.
18
+
19
+ ### Our ambition
20
+ To be the UK’s leading comparison site for all consumers who wish to make their money go further.
21
+
22
+ ### Our vision
23
+ We are the comparison service of choice – because we make it relevant, personal and simple to use for consumers and partners.
24
+
25
+ ### Our benefit
26
+ We help our customers feel like life just keeps on switching for the better, allowing their time and money to be spent on what really matters.
27
+
28
+ ### Our personality
29
+ - Expert
30
+ - Frank
31
+ - Connected
32
+ - Human
33
+ - Advisory
34
+
35
+ ## Brand positioning
36
+
37
+ ### Intuitive and focused
38
+ We are connected to the individual needs of our customers. In fact, we work to understand them better than anyone. We use masses of customer data, constantly capturing more and more to continually improve the relevance of our advice. Add that to our commitment to ensure ours is the most simple and comprehensive switching service available, and our customers can find clarity in a confusing marketplace and build confidence in our brand.
39
+
40
+ ### Authoritative and directional
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
+
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.
45
+
46
+ ### Experimental and bold
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
@@ -0,0 +1,102 @@
1
+ ## How does a brilliantly simple brand sound?
2
+
3
+ Think of our tone of voice as a natural extension of our values and personality. We might not mention them in our copy, but their ‘feel’ should come across in every word, sentence and paragraph.
4
+
5
+ #### Table of contents
6
+ 1. [Tone of voice](#tone-of-voice)
7
+ 2. [Writing tips](#writing-tips)
8
+ 3. [Writing conventions](#writing-conventions)
9
+
10
+ ## Tone of voice
11
+
12
+ 1. **Expert** - We have a deep understanding of people, household finances and the industries in which we operate. Be confident and authoritative.
13
+ 2. **Human** - We always talk on the same level as our customers. Be friendly and conversational, never patronising.
14
+ 3. **Connected** - We are seamlessly synchronised with the wider world and financial one. Be timely, knowledgeable and accurate.
15
+ 4. **Frank** - We speak truthfully and with insight. Be honest and transparent.
16
+ 5. **Advisory** - We make a positive impact on the lives of our customers. Be empowering and informative.
17
+
18
+ ## Writing tips
19
+
20
+ ### Write like you speak
21
+ Write as if the reader is in front of you. It’ll make your words sound more natural and believable.
22
+
23
+ ### Jargon-free zone
24
+ Leave the corporate words to the boardroom. Everyday words are much better. They’re easier to read and get our message across quicker.
25
+
26
+ ### Statistical value
27
+ Well-placed stats and relevant data really add weight to what we’re saying. But use them sparingly, and only if it really merits it.
28
+
29
+ ### Be active
30
+ Use an active voice rather than a passive one. This means writing sentences this way round: ‘The customers were saving money.’ Rather than this way round: ‘Money was being saved by the customers.
31
+
32
+ ### Consistency is key
33
+ We all need to speak and write the same way, otherwise it waters down our brand and weakens our position.
34
+
35
+ ### Headlines
36
+ Keep them short. The longer a headline is, the less likely it is to be read. So don’t write it in four words if you can do it in three.
37
+
38
+ ### Less is more
39
+ Short copy gets read. Long copy doesn’t. Get to the point as quick as possible. Otherwise you’ll lose the reader.
40
+
41
+ ### Be purposeful and actionable
42
+ Content should always be actionable. You’ve given the customer relevant information, now tell them what they can do with it.
43
+
44
+ ### Once is enough
45
+ Say it once and say it well. Repetition makes copy boring and overly long, and creeps in when we’re not confident about what we’re saying.
46
+
47
+ ### Snack-sized copy
48
+ If you have a lot of information to get across, use bullet points or sub-headings to break it up. But don’t use too many bullets or make them too long or it will defeat the objective.
49
+
50
+ ### Go with the flow
51
+ Do your words trip off the tongue? There’s one way to find out. Read them out loud and you’ll soon find out where it’s not flowing.
52
+
53
+ ## Writing conventions
54
+
55
+ ### Abbreviations
56
+
57
+ For names of companies or organisations, if an abbreviation is more familiar than the full form (e.g. BBC, IBM) use that. If not, write the name in full the first time you mention it, followed by the abbreviation in brackets. The next time you refer to it, use only the abbreviation.
58
+
59
+ ### Ampersands (&)
60
+
61
+ For names of companies or organisations, if an abbreviation is more familiar than the full form (e.g. BBC, IBM) use that. If not, write the name in full the first time you mention it, followed by the abbreviation in brackets. The next time you refer to it, use only the abbreviation.
62
+
63
+ ### Apostrophes
64
+ Avoid common misuse of apostrophes:
65
+
66
+ - Mixing up it’s (it is) and its (possessive)
67
+ - Using to denote plural: DVD’s (wrong) vs DVDs (correct)
68
+ - When writing Dos and Don’ts (not Do’s and Don’ts)
69
+ - When writing decades 1990s (not 1990’s); the ’80s (not the 80’s)
70
+
71
+ ### British English
72
+
73
+ Use the British ‘s’ in words such as ‘realise’, and ‘specialise’, rather than the American ‘z’.
74
+
75
+ ### Capital letters
76
+
77
+ Never use all capital letters. Headlines follow usual sentence structure, with only the first word and proper nouns utilising capitals.
78
+
79
+ ### Company names and references
80
+
81
+ Follow punctuation and capitalisation of company names and products as they are branded.
82
+ > Example: E.ON, iPhone, iSaver
83
+
84
+ When referencing a company in a news or guide, remember to always keep them in the singular.
85
+ > Example: BT is launching a new ... (not BT are launching a new ...)
86
+
87
+ ### Contractions
88
+
89
+ Our tone of voice is friendly and familiar, so it’s fine to use contractions like ‘they’ll’, ‘it’ll’, ‘isn’t’.
90
+
91
+ ### Dashes and hyphens
92
+ If you use a dash within a sentence to create emphasis, then use a long em dash – rather than a hyphen.
93
+ Compound adjectives before a noun generally use a hyphen (e.g. ‘the well-organised energy provider’). After a noun, they should be separated (e.g. ‘the energy provider was well organised’).
94
+
95
+ ### Exclamation marks
96
+ Use sparingly.
97
+
98
+ ### Full stops
99
+ Don’t use full stops at the end of headlines.
100
+
101
+ ### Legals, disclaimers and caveats
102
+ Superscript numbering should be used when there is more than one caveat, however, when there is only one caveat in a communication, an asterisk (*) should be used.
@@ -0,0 +1,102 @@
1
+ <div class="us-content-group">
2
+ <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>
6
+ </div>
7
+ <div class="us-col-6">
8
+ <div class="us-grid-row">
9
+ <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>
13
+ </div>
14
+ </div>
15
+ <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>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ </div>
24
+ </div>
25
+
26
+ <div class="us-content-group">
27
+ <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>
31
+ </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>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
40
+
41
+ <div class="us-content-group">
42
+ <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>
46
+ </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>
51
+ </div>
52
+ </div>
53
+ </div>
54
+
55
+ <div class="us-content-group">
56
+ <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>
67
+ </div>
68
+ <div class="us-col-6"></div>
69
+ </div>
70
+ </div>
71
+
72
+ <div class="us-content-group">
73
+ <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>
77
+ </div>
78
+ <div class="us-col-6"></div>
79
+ </div>
80
+ </div>
81
+
82
+ <div class="us-content-group">
83
+ <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>
87
+ </div>
88
+ <div class="us-col-6"></div>
89
+ </div>
90
+ </div>
91
+
92
+ <div class="us-content-group">
93
+ <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>
100
+ </div>
101
+ </div>
102
+ </div>