controls.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. .btn {
  2. position: relative;
  3. display: block;
  4. padding:8pt;
  5. overflow: hidden;
  6. border-width: 0;
  7. outline: none;
  8. box-shadow: 0 1pt 4pt rgba(0, 0, 0, .6);
  9. background-color: #41cd52;
  10. color: #ffffff;
  11. font-size: 12pt;
  12. font-weight: bold;
  13. text-align: center;
  14. transition: background-color .3s;
  15. }
  16. .btn:hover, .btn:focus {
  17. background-color: #3ab849;
  18. cursor: pointer;
  19. }
  20. .btn > * {
  21. position: relative;
  22. }
  23. .btn span {
  24. display: block;
  25. padding: 12px 24px;
  26. }
  27. .btn:before {
  28. content: "";
  29. position: absolute;
  30. top: 50%;
  31. left: 50%;
  32. display: block;
  33. width: 0;
  34. padding-top: 0;
  35. border-radius: 100%;
  36. background-color: rgba(236, 240, 241, .3);
  37. -webkit-transform: translate(-50%, -50%);
  38. -moz-transform: translate(-50%, -50%);
  39. -ms-transform: translate(-50%, -50%);
  40. -o-transform: translate(-50%, -50%);
  41. transform: translate(-50%, -50%);
  42. }
  43. .btn:active:before {
  44. width: 120%;
  45. padding-top: 120%;
  46. transition: width .2s ease-out, padding-top .2s ease-out;
  47. }
  48. .btn img {
  49. margin-left: auto;
  50. margin-right: auto;
  51. display: block;
  52. }
  53. .scrollable {
  54. width: 100%;
  55. height: 100%;
  56. overflow-x: hidden;
  57. overflow-y: auto;
  58. }
  59. .fadeOut {
  60. background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* FF3.6+ */
  61. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0, 0, 0,0)), color-stop(100%,rgba(255, 255, 255, 1))); /* Chrome,Safari4+ */
  62. background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* Chrome10+,Safari5.1+ */
  63. background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* Opera 11.10+ */
  64. background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* IE10+ */
  65. background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* W3C */
  66. }
  67. .fadeIn {
  68. background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* FF3.6+ */
  69. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255, 255, 255, 1)), color-stop(100%,rgba(0, 0, 0, 0))); /* Chrome,Safari4+ */
  70. background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* Chrome10+,Safari5.1+ */
  71. background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* Opera 11.10+ */
  72. background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* IE10+ */
  73. background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* W3C */
  74. }
  75. /*Input fields*/
  76. .inpt {
  77. position:relative;
  78. margin-top: 20pt;
  79. margin-bottom: 50px;
  80. }
  81. .inpt input {
  82. font-size: 16pt;
  83. padding: 9pt 9pt 4pt 4pt;
  84. display: block;
  85. width: 200pt;
  86. border: none;
  87. border-bottom: 1pt solid #3ab849;
  88. }
  89. .inpt input:invalid {
  90. outline: none;
  91. }
  92. .inpt input:focus {
  93. outline: none;
  94. }
  95. .inpt input:required {
  96. box-shadow: none;
  97. }
  98. .inpt label {
  99. color: #000000;
  100. font-size: 18pt;
  101. font-weight: normal;
  102. position: absolute;
  103. pointer-events: none;
  104. left: 5pt;
  105. top: 10pt;
  106. transition: 0.2s ease all;
  107. -moz-transition: 0.2s ease all;
  108. -webkit-transition: 0.2s ease all;
  109. }
  110. .inpt input:focus ~ label {
  111. top: -20pt;
  112. font-size: 12pt;
  113. color: #000000;
  114. }
  115. .inpt input:valid ~ label {
  116. top: -20pt;
  117. font-size: 12pt;
  118. color: #000000;
  119. }
  120. .inpt .bar {
  121. position: relative;
  122. display: block;
  123. width: 213pt;
  124. }
  125. .inpt .bar:before, .bar:after {
  126. content: '';
  127. height: 2pt;
  128. width: 0;
  129. bottom: 0;
  130. position: absolute;
  131. background: #3ab849;
  132. transition: 0.2s ease all;
  133. -moz-transition: 0.2s ease all;
  134. -webkit-transition: 0.2s ease all;
  135. }
  136. .inpt .bar:before {
  137. left:50%;
  138. }
  139. .inpt .bar:after {
  140. right:50%;
  141. }
  142. .inpt input:focus ~ .bar:before, input:focus ~ .bar:after {
  143. width:50%;
  144. }
  145. .inpt .highlight {
  146. position: absolute;
  147. height:75%;
  148. width: 213pt;
  149. bottom: 4pt;
  150. left:0;
  151. pointer-events: none;
  152. opacity: 0.5;
  153. }
  154. .inpt input:focus ~ .highlight {
  155. -webkit-animation:inputHighlighter 0.3s ease;
  156. -moz-animation:inputHighlighter 0.3s ease;
  157. animation:inputHighlighter 0.3s ease;
  158. }
  159. @-webkit-keyframes inputHighlighter {
  160. from { background:#ebffee; }
  161. to { width:0; background:transparent; }
  162. }
  163. @-moz-keyframes inputHighlighter {
  164. from { background:#ebffee; }
  165. to { width:0; background:transparent; }
  166. }
  167. @keyframes inputHighlighter {
  168. from { background:#ebffee; }
  169. to { width:0; background:transparent; }
  170. }
  171. .folderBtn {
  172. }
  173. .iconBtn:hover, .iconBtn:focus {
  174. cursor: pointer;
  175. }