1
0

gui_styles.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. /*!
  2. Pure v1.0.1
  3. Copyright 2013 Yahoo!
  4. Licensed under the BSD License.
  5. https://github.com/pure-css/pure/blob/master/LICENSE.md
  6. */
  7. /*!
  8. normalize.css v^3.0 | MIT License | git.io/normalize
  9. Copyright (c) Nicolas Gallagher and Jonathan Neal
  10. */
  11. /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
  12. html {
  13. font-family: 'Roboto', sans-serif;
  14. -ms-text-size-adjust: 100%;
  15. -webkit-text-size-adjust: 100%;
  16. }
  17. body {
  18. margin: 0;
  19. background-color: #f4f4f9;
  20. color: #333;
  21. }
  22. a {
  23. background-color: transparent;
  24. transition: color 0.3s ease;
  25. }
  26. a:active, a:hover {
  27. outline: 0;
  28. color: #0078e7;
  29. }
  30. button, input, optgroup, select, textarea {
  31. color: inherit;
  32. font: inherit;
  33. margin: 0;
  34. }
  35. button {
  36. overflow: visible;
  37. padding: 10px 20px;
  38. background-color: #0078e7;
  39. color: white;
  40. border: none;
  41. border-radius: 5px;
  42. box-shadow: 0 5px #005bb5;
  43. transition: background-color 0.3s ease, transform 0.2s ease;
  44. }
  45. button:hover {
  46. background-color: #005bb5;
  47. transform: translateY(-2px);
  48. }
  49. button:active {
  50. background-color: #004494;
  51. box-shadow: 0 2px #005bb5;
  52. transform: translateY(0);
  53. }
  54. button:focus {
  55. outline: none;
  56. }
  57. .pure-form input[type=text], .pure-form input[type=email], .pure-form select, .pure-form textarea {
  58. padding: 10px;
  59. display: inline-block;
  60. border: 1px solid #ccc;
  61. border-radius: 5px;
  62. box-shadow: inset 0 1px 3px #ddd;
  63. transition: border-color 0.3s ease, box-shadow 0.3s ease;
  64. }
  65. .pure-form input[type=text]:focus, .pure-form input[type=email]:focus, .pure-form select:focus, .pure-form textarea:focus {
  66. outline: none;
  67. border-color: #0078e7;
  68. box-shadow: inset 0 1px 3px rgba(0, 120, 231, 0.5);
  69. }
  70. .pure-form .pure-group fieldset {
  71. margin-bottom: 10px;
  72. }
  73. .pure-form .pure-group input, .pure-form .pure-group textarea {
  74. display: block;
  75. padding: 10px;
  76. margin: 0 0 -1px;
  77. border-radius: 0;
  78. position: relative;
  79. top: -1px;
  80. }
  81. .pure-form .pure-group input:focus, .pure-form .pure-group textarea:focus {
  82. z-index: 3;
  83. }
  84. .pure-form .pure-group input:first-child, .pure-form .pure-group textarea:first-child {
  85. top: 1px;
  86. border-radius: 5px 5px 0 0;
  87. margin: 0;
  88. }
  89. .pure-form .pure-group input:first-child:last-child, .pure-form .pure-group textarea:first-child:last-child {
  90. top: 1px;
  91. border-radius: 5px;
  92. margin: 0;
  93. }
  94. .pure-form .pure-group input:last-child, .pure-form .pure-group textarea:last-child {
  95. top: -2px;
  96. border-radius: 0 0 5px 5px;
  97. margin: 0;
  98. }
  99. .pure-form .pure-group button {
  100. margin: .35em 0;
  101. }
  102. .pure-form .pure-input-1 {
  103. width: 100%;
  104. }
  105. .pure-form .pure-input-3-4 {
  106. width: 75%;
  107. }
  108. .pure-form .pure-input-2-3 {
  109. width: 66%;
  110. }
  111. .pure-form .pure-input-1-2 {
  112. width: 50%;
  113. }
  114. .pure-form .pure-input-1-3 {
  115. width: 33%;
  116. }
  117. .pure-form .pure-input-1-4 {
  118. width: 25%;
  119. }
  120. .pure-menu {
  121. -webkit-box-sizing: border-box;
  122. box-sizing: border-box;
  123. }
  124. .pure-menu-fixed {
  125. position: fixed;
  126. left: 0;
  127. top: 0;
  128. width: 100%;
  129. z-index: 3;
  130. background: #0078e7;
  131. color: white;
  132. padding: 10px;
  133. box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  134. }
  135. .pure-menu-heading {
  136. text-transform: uppercase;
  137. color: #fff;
  138. }
  139. .pure-menu-link {
  140. color: #fff;
  141. transition: color 0.3s ease;
  142. }
  143. .pure-menu-link:hover {
  144. color: #d1ecff;
  145. }
  146. .pure-button {
  147. display: inline-block;
  148. zoom: 1;
  149. line-height: normal;
  150. white-space: nowrap;
  151. vertical-align: middle;
  152. text-align: center;
  153. cursor: pointer;
  154. -webkit-user-drag: none;
  155. -webkit-user-select: none;
  156. -moz-user-select: none;
  157. -ms-user-select: none;
  158. user-select: none;
  159. -webkit-box-sizing: border-box;
  160. box-sizing: border-box;
  161. font-family: inherit;
  162. font-size: 100%;
  163. padding: .5em 1em;
  164. color: #444;
  165. color: rgba(0, 0, 0, .8);
  166. border: 1px solid #999;
  167. border: none transparent;
  168. background-color: #e6e6e6;
  169. text-decoration: none;
  170. border-radius: 5px;
  171. transition: background-color 0.3s ease, transform 0.2s ease;
  172. }
  173. .pure-button-hover, .pure-button:focus, .pure-button:hover {
  174. background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(40%, rgba(0, 0, 0, .05)), to(rgba(0, 0, 0, .1)));
  175. background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .1));
  176. background-image: linear-gradient(transparent, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .1));
  177. transform: translateY(-2px);
  178. }
  179. .pure-button:focus {
  180. outline: 0;
  181. }
  182. .pure-button-active, .pure-button:active {
  183. -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, .15) inset, 0 0 6px rgba(0, 0, 0, .2) inset;
  184. box-shadow: 0 0 0 1px rgba(0, 0, 0, .15) inset, 0 0 6px rgba(0, 0, 0, .2) inset;
  185. border-color: #000;
  186. transform: translateY(0);
  187. }
  188. .pure-button-primary, .pure-button-selected, a.pure-button-primary, a.pure-button-selected {
  189. background-color: #0078e7;
  190. color: #fff;
  191. box-shadow: 0 4px #005bb5;
  192. }
  193. .pure-form input[type=color]:focus, .pure-form input[type=date]:focus, .pure-form input[type=datetime-local]:focus, .pure-form input[type=datetime]:focus, .pure-form input[type=email]:focus, .pure-form input[type=month]:focus, .pure-form input[type=number]:focus, .pure-form input[type=password]:focus, .pure-form input[type=search]:focus, .pure-form input[type=tel]:focus, .pure-form input[type=text]:focus, .pure-form input[type=time]:focus, .pure-form input[type=url]:focus, .pure-form input[type=week]:focus, .pure-form select:focus, .pure-form textarea:focus {
  194. outline: 0;
  195. border-color: #03dac6;
  196. box-shadow: inset 0 1px 3px rgba(3, 218, 198, 0.5);
  197. }
  198. .pure-form input[readonly], .pure-form select[readonly], .pure-form textarea[readonly] {
  199. background-color: #eee;
  200. color: #777;
  201. border-color: #ccc;
  202. }
  203. .pure-form input:focus:invalid, .pure-form select:focus:invalid, .pure-form textarea:focus:invalid {
  204. color: #b94a48;
  205. border-color: #e9322d;
  206. }
  207. .pure-form input[type=checkbox]:focus:invalid:focus, .pure-form input[type=file]:focus:invalid:focus, .pure-form input[type=radio]:focus:invalid:focus {
  208. outline-color: #e9322d;
  209. }
  210. .pure-form input[disabled], .pure-form select[disabled], .pure-form textarea[disabled] {
  211. cursor: not-allowed;
  212. background-color: #eaeded;
  213. color: #cad2d3;
  214. }