controls.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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-y: auto;
  57. }
  58. .fadeOut {
  59. background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* FF3.6+ */
  60. 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+ */
  61. background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* Chrome10+,Safari5.1+ */
  62. background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* Opera 11.10+ */
  63. background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* IE10+ */
  64. background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%); /* W3C */
  65. }
  66. .fadeIn {
  67. background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* FF3.6+ */
  68. 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+ */
  69. background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* Chrome10+,Safari5.1+ */
  70. background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* Opera 11.10+ */
  71. background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* IE10+ */
  72. background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%); /* W3C */
  73. }
  74. /*Input fields*/
  75. .inpt {
  76. position:relative;
  77. margin-top: 20pt;
  78. margin-bottom: 50px;
  79. }
  80. .inpt input {
  81. font-size: 16pt;
  82. padding: 9pt 9pt 4pt 4pt;
  83. display: block;
  84. width: 200pt;
  85. border: none;
  86. border-bottom: 1pt solid #3ab849;
  87. }
  88. .inpt input:invalid {
  89. outline: none;
  90. }
  91. .inpt input:focus {
  92. outline: none;
  93. }
  94. .inpt input:required {
  95. box-shadow: none;
  96. }
  97. .inpt label {
  98. color: #000000;
  99. font-size: 18pt;
  100. font-weight: normal;
  101. position: absolute;
  102. pointer-events: none;
  103. left: 5pt;
  104. top: 10pt;
  105. transition: 0.2s ease all;
  106. -moz-transition: 0.2s ease all;
  107. -webkit-transition: 0.2s ease all;
  108. }
  109. .inpt input:focus ~ label {
  110. top: -20pt;
  111. font-size: 12pt;
  112. color: #000000;
  113. }
  114. .inpt input:valid ~ label {
  115. top: -20pt;
  116. font-size: 12pt;
  117. color: #000000;
  118. }
  119. .inpt .bar {
  120. position: relative;
  121. display: block;
  122. width: 213pt;
  123. }
  124. .inpt .bar:before, .bar:after {
  125. content: '';
  126. height: 2pt;
  127. width: 0;
  128. bottom: 0;
  129. position: absolute;
  130. background: #3ab849;
  131. transition: 0.2s ease all;
  132. -moz-transition: 0.2s ease all;
  133. -webkit-transition: 0.2s ease all;
  134. }
  135. .inpt .bar:before {
  136. left:50%;
  137. }
  138. .inpt .bar:after {
  139. right:50%;
  140. }
  141. .inpt input:focus ~ .bar:before, input:focus ~ .bar:after {
  142. width:50%;
  143. }
  144. .inpt .highlight {
  145. position: absolute;
  146. height:75%;
  147. width: 213pt;
  148. bottom: 4pt;
  149. left:0;
  150. pointer-events: none;
  151. opacity: 0.5;
  152. }
  153. .inpt input:focus ~ .highlight {
  154. -webkit-animation:inputHighlighter 0.3s ease;
  155. -moz-animation:inputHighlighter 0.3s ease;
  156. animation:inputHighlighter 0.3s ease;
  157. }
  158. @-webkit-keyframes inputHighlighter {
  159. from { background:#ebffee; }
  160. to { width:0; background:transparent; }
  161. }
  162. @-moz-keyframes inputHighlighter {
  163. from { background:#ebffee; }
  164. to { width:0; background:transparent; }
  165. }
  166. @keyframes inputHighlighter {
  167. from { background:#ebffee; }
  168. to { width:0; background:transparent; }
  169. }
  170. .folderBtn {
  171. }