Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. @charset "UTF-8";
  2.  
  3.  
  4. body {
  5.  
  6. background:#edf0f1;
  7. /* added this padding as the list is behind the header, this
  8. takes into accoun the height of the header so the list is visable */
  9. padding: 80px 0 0 0;
  10. }
  11.  
  12.  
  13.  
  14. body, input, button {
  15.  
  16. font-family: 'Roboto', sans-serif;
  17.  
  18. }
  19. /*Huh>>>>*/
  20. .noFill {
  21. fill:none;
  22. }
  23.  
  24.  
  25. header{
  26. width: 100%;
  27. height: 80px;
  28. position:fixed;
  29. padding: 15px;
  30. top:0;
  31. left:0;
  32. z-index: 5;
  33. background:#25b99a;
  34. /* x, y, blue, color*/
  35. box-shadow:0px 2px 4px rgba(44,62,80,.15);
  36. border-bottom-right-radius: 10px;
  37. border-bottom-left-radius: 10px;
  38. }
  39.  
  40. header input {
  41. width: 100%;
  42. height: 50px;
  43. float: left;
  44. color: #fff;
  45. font-size: 15px;
  46. font-weight: 400;
  47. text-indent: 18px;
  48.  
  49. /* This stops user input before button, also stops,
  50. the character half way so user knows they are in overflow */
  51. padding: 0 60px 0 0;
  52.  
  53. background: rgba(255,255,255,0.2);
  54. border-top-left-radius:5px;
  55. border-bottom-left-radius:5px;
  56. border-top-right-radius:25px;
  57. border-bottom-right-radius:25px;
  58. border:0px;
  59. box-shadow: none;
  60. outline: none;
  61.  
  62. /*wtf is this? */
  63. -webkit-appearance: none;
  64. -moz-appearance: none;
  65.  
  66. }
  67.  
  68. header input::-webkit-input-placeholder{
  69. color:rba(255,255,255,0.75);
  70.  
  71. }
  72.  
  73. header input::-moz-input-placeholder{
  74. color:rba(255,255,255,0.75);
  75.  
  76. }
  77.  
  78. header input::-moz-input-placeholder{
  79. color:rba(255,255,255,0.75);
  80.  
  81. }
  82.  
  83. header input::-ms-input-placeholder{
  84. color:rba(255,255,255,0.75);
  85.  
  86. }
  87.  
  88. header button {
  89. width: 50px;
  90. height: 50px;
  91. position: absolute;
  92. top: 15px;
  93. right: 15px;
  94. z-index:2;
  95. border-radius: 25px;
  96. background:#fff;
  97. border:0px;
  98. box-shadow:none;
  99. outline:none;
  100.  
  101. cursor:pointer;
  102.  
  103.  
  104. -webkit-appearance: none;
  105. -moz-appearance: none;
  106. -ms-appearance: none;
  107. -o-appearance: none;
  108. appearance: none;
  109.  
  110.  
  111. }
  112.  
  113. header button svg {
  114. width: 16px;
  115. height: 16px;
  116. position: absolute;
  117. top: 50%;
  118. left: 50%;
  119. margin:-8px 0 0 -8px;
  120.  
  121. }
  122.  
  123. header button svg .fill {
  124. fill: #25b99a;
  125.  
  126. }
  127.  
  128.  
  129. .container {
  130. width:100%;
  131. float: left;
  132. padding:15px;
  133. }
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140. ul.todo {
  141. width: 100%;
  142. float: left;
  143. }
  144.  
  145. ul.todo li{
  146. width: 100%;
  147. float: left;
  148. font-size:14px;
  149. font-weight: 500px;
  150. color: #444;
  151. line-height: 22px;
  152. min-height: 50px;
  153.  
  154. background: #fff;
  155. border-radius: 5px;
  156. position: relative;
  157. box-shadow: 0px 1px 2px rgba(44,62,80,0.10);
  158. margin: 0 0 10px 0;
  159. padding: 14px 100px 14px 14px;
  160. }
  161.  
  162. ul.todo li:last-of-type {
  163. margin: 0;
  164.  
  165. }
  166.  
  167. ul.todo li .buttons {
  168. width: 100px;
  169. height: 50px;
  170. position: absolute;
  171. top: 0;
  172. right: 0;
  173. }
  174.  
  175. ul.todo li .buttons button{
  176. width: 50px;
  177. height: 50px;
  178. float: left;
  179. position: relative;
  180. background: none;
  181. border: 0px;
  182. outline: none;
  183. cursor: pointer;
  184.  
  185. -webkit-appearance: none;
  186. -moz-appearance: none;
  187. -ms-appearance: none;
  188. -o-appearance: none;
  189. appearance: none;
  190.  
  191. }
  192.  
  193.  
  194. ul.todo li .buttons button:last-of-type:before {
  195. content:'';
  196. width: 1px;
  197. height:30px;
  198. position:absolute;
  199. top:10px;
  200. left: 0;
  201. background: #edf0f1;
  202.  
  203. }
  204.  
  205. ul.todo li .buttons button svg{
  206. width: 22px;
  207. height: 22px;
  208. position:absolute;
  209. top: 50%;
  210. left: 50%;
  211. margin: -11px 0 0 -11px;
  212.  
  213. }
  214.  
  215. ul.todo li .buttons button.complete svg{
  216. border-radius: 11px;
  217. border:1.5px solid #25b99a;
  218.  
  219. transition:background 0.2s ease;
  220.  
  221. }
  222.  
  223. ul.todo#completed li .buttons button.complete svg {
  224. background:#25b99a;
  225. border:0px;
  226.  
  227. }
  228.  
  229.  
  230. ul.todo:not(#completed) li .buttons button.complete:hover svg {
  231. background:rgba(37, 185, 154, 0.75);
  232. }
  233.  
  234.  
  235.  
  236. ul.todo#completed li .buttons button.complete svg .fill {
  237. fill: #fff;
  238.  
  239. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement