style.less 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. @import "colours.less";
  2. @import url(http://fonts.googleapis.com/css?family=Roboto);
  3. * {
  4. box-sizing: border-box;
  5. }
  6. html,body,h1,h2, button {
  7. padding:0;
  8. margin:0;
  9. }
  10. html, button, input, textarea{
  11. font-family: 'Roboto', sans-serif;
  12. }
  13. body{
  14. width:100%;
  15. background:@background;
  16. }
  17. a {
  18. color:@accent;
  19. }
  20. nav {
  21. img{
  22. vertical-align: middle;
  23. margin-right: 5px;
  24. }
  25. dt, dd{
  26. &:hover, &.active{
  27. background: @control;
  28. cursor: pointer;
  29. cursor: hand;
  30. }
  31. }
  32. dt {
  33. padding: 10px 10px;
  34. }
  35. dd {
  36. margin: 0;
  37. padding: 10px 10px 10px 40px;
  38. }
  39. a{
  40. color: black;
  41. text-decoration: none;
  42. }
  43. }
  44. h2{
  45. margin-bottom:10px;
  46. a{
  47. color:inherit;
  48. }
  49. }
  50. h3{
  51. margin-bottom: 10px;
  52. :first-child{
  53. margin-top: 0px;
  54. }
  55. }
  56. hr{
  57. border: 1px solid @control;
  58. }
  59. table{
  60. border-collapse: collapse;
  61. input[type=text], textarea{
  62. width: 100%;
  63. }
  64. }
  65. th{
  66. text-align: left;
  67. }
  68. td, th{
  69. padding:0 10px 5px 0;
  70. vertical-align: top;
  71. }
  72. form{
  73. button, input[type=submit]{
  74. border:none;
  75. background:none;
  76. &:hover{
  77. background: @control;
  78. }
  79. }
  80. }
  81. button:hover{
  82. cursor: pointer;
  83. cursor: hand;
  84. }
  85. img{
  86. max-width: 100%;
  87. }
  88. p:first-child{
  89. margin-top: 0;
  90. }
  91. #menu{
  92. background:@background;
  93. width:280px;
  94. left:0;
  95. position:fixed;
  96. height:100%;
  97. box-shadow: -2px 0px 0px 0px @control inset;
  98. z-index: 400;
  99. overflow-x: hidden;
  100. .header{
  101. z-index: 401;
  102. }
  103. }
  104. #menu-button{
  105. display:none;
  106. }
  107. #nav-container{
  108. overflow: auto;
  109. width:100%;
  110. }
  111. #main{
  112. padding-left:280px;
  113. padding-top:64px;
  114. >*{
  115. padding-left:20px !important;
  116. }
  117. }
  118. #main-header{
  119. position: fixed;
  120. padding-left: 280px;
  121. left:0;
  122. right:0;
  123. z-index: 1;
  124. .header>*{
  125. padding-left: 20px !important;
  126. }
  127. }
  128. #content{
  129. padding:20px;
  130. margin-bottom:60px;
  131. }
  132. #buttons{
  133. position:fixed;
  134. bottom: 20px;
  135. right: 20px;
  136. left:280px;
  137. vertical-align: bottom;
  138. >table{
  139. width: 100%;
  140. tr>td{
  141. vertical-align: bottom;
  142. padding:0;
  143. &:last-child{
  144. text-align: right;
  145. }
  146. &:not(:first-child){
  147. margin-top:20px;
  148. }
  149. }
  150. }
  151. button{
  152. border-radius: 50%;
  153. display: inline-block;
  154. text-align: center;
  155. box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.25);
  156. vertical-align: middle;
  157. border:none;
  158. background:@accent;
  159. width:40px;
  160. height:40px;
  161. color: white;
  162. font-size: 24px;
  163. line-height: 24px;
  164. }
  165. }
  166. #cookiePopup{
  167. position:absolute;
  168. background:black;
  169. top:50%;
  170. left:50%;
  171. padding:20px;
  172. border-radius: 30px;
  173. width:230px;
  174. height:230px;
  175. margin-top:-115px;
  176. margin-left:-115px;
  177. color:white;
  178. > div{
  179. margin-top:40px;
  180. text-align: center;
  181. }
  182. }
  183. .header {
  184. height:64px;
  185. background:@primary;
  186. color:white;
  187. white-space:nowrap;
  188. padding:0 !important;
  189. overflow: hidden;
  190. box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.8);
  191. >*{
  192. line-height:64px;
  193. font-size:24px;
  194. font-weight:400;
  195. padding-left: 10px;
  196. white-space: nowrap;
  197. display: inline;
  198. vertical-align: middle;
  199. }
  200. >h2>span{
  201. display: inline-block;
  202. }
  203. >img{
  204. height:50%;
  205. }
  206. span{
  207. display: inline-block;
  208. &:not(:first-child):before{
  209. margin:2px 10px 0 10px;
  210. width:6px;
  211. float:left;
  212. height:62px;
  213. background: url("/images/chevron.png") no-repeat scroll right center / contain rgba(0, 0, 0, 0);
  214. content:"";
  215. }
  216. }
  217. }
  218. .circle{
  219. border-radius: 50%;
  220. display: inline-block;
  221. text-align: center;
  222. vertical-align: middle;
  223. }
  224. .go, .expand{
  225. display:none;
  226. float:right;
  227. }
  228. .backdrop{
  229. background: rgba(0,0,0,0.5);
  230. width: 100%;
  231. height:100%;
  232. position:fixed;
  233. top:0;
  234. left:0;
  235. z-index:100;
  236. display:none;
  237. }
  238. .errors{
  239. background: url(/images/error.svg) no-repeat scroll 10px 10px #424242;
  240. margin:-20px;
  241. margin-bottom: 20px;
  242. padding:10px;
  243. padding-left:40px;
  244. color:#fff;
  245. ul{
  246. margin: 0;
  247. list-style: square;
  248. }
  249. }
  250. .row{
  251. width:100%;
  252. clear:both;
  253. >.col {
  254. width:100%;
  255. float:left;
  256. }
  257. &.col-lg-1, &.col-md-1, &.col-sm-1{
  258. >.col{
  259. width:100%;
  260. }
  261. }
  262. &.col-lg-2, &.col-md-2, &.col-sm-2{
  263. >.col{
  264. width:50%;
  265. }
  266. }
  267. &.col-lg-3, &.col-md-3, &.col-sm-3{
  268. >.col{
  269. width:33.3333%;
  270. }
  271. }
  272. &.col-lg-4, &.col-md-4, &.col-sm-4{
  273. >.col{
  274. width:25%;
  275. }
  276. }
  277. }