11/*
2- * pineCSS v1.0
3- * Copyright 2014, Savaş Can ALTUN < [email protected] > 2+ * pineCSS v1.1
3+ * Copyright 2014, Savaş Can ALTUN <[email protected] > 44* github.com/pineCSS/pine
55* http://pinecss.com
66*/
@@ -271,6 +271,12 @@ input[type="button"]:focus {
271271 border-color : # 888 ;
272272 outline : 0 ;
273273}
274+ .button : disabled {
275+ border : 1px solid # E3E3E3 ;
276+ color : # 888 ;
277+ cursor : not-allowed;
278+ }
279+
274280/* Button Primary */
275281
276282.button .button-primary ,
@@ -296,6 +302,11 @@ input[type="button"].button-primary:focus {
296302 background-color : # 1EAEDB ;
297303 border-color : # 1EAEDB ;
298304}
305+ .button .button-primary : disabled {
306+ background-color : # 72cbe6 ;
307+ border-color : # 72cbe6 ;
308+ cursor : not-allowed;
309+ }
299310/* Button Danger */
300311
301312.button .button-danger ,
@@ -321,6 +332,11 @@ input[type="button"].button-danger:focus {
321332 background-color : # cc002e ;
322333 border-color : # cc002e ;
323334}
335+ .button .button-danger : disabled {
336+ background-color : # f34f4f ;
337+ border-color : # f34f4f ;
338+ cursor : not-allowed;
339+ }
324340/* Button Warning */
325341
326342.button .button-warning ,
@@ -346,6 +362,11 @@ input[type="button"].button-warning:focus {
346362 background-color : # ff7518 ;
347363 border-color : # ff7518 ;
348364}
365+ .button .button-warning : disabled {
366+ background-color : # fd8534 ;
367+ border-color : # fd8534 ;
368+ cursor : not-allowed;
369+ }
349370/* Button Success */
350371
351372.button .button-success ,
@@ -371,6 +392,11 @@ input[type="button"].button-success:focus {
371392 background-color : # 2f8912 ;
372393 border-color : # 2f8912 ;
373394}
395+ .button .button-success : disabled {
396+ background-color : # 5bbd3b ;
397+ border-color : # 5bbd3b ;
398+ cursor : not-allowed;
399+ }
374400/* Button İnfo */
375401
376402.button .button-info ,
@@ -396,13 +422,20 @@ input[type="button"].button-info:focus {
396422 background-color : # 7e3f9d ;
397423 border-color : # 7e3f9d ;
398424}
425+ .button .button-info : disabled {
426+ background-color : # a773c1 ;
427+ border-color : # a773c1 ;
428+ cursor : not-allowed;
429+ }
399430/* Forms
400431–––––––––––––––––––––––––––––––––––––––––––––––––– */
401432
402433input [type = "email" ],
403434input [type = "search" ],
404435input [type = "text" ],
405436input [type = "tel" ],
437+ input [type = "date" ],
438+ input [type = "color" ],
406439input [type = "url" ],
407440input [type = "file" ],
408441input [type = "password" ],
@@ -420,6 +453,8 @@ input[type="email"],
420453input [type = "search" ],
421454input [type = "text" ],
422455input [type = "tel" ],
456+ input [type = "date" ],
457+ input [type = "color" ],
423458input [type = "url" ],
424459input [type = "file" ],
425460input [type = "password" ],
@@ -437,6 +472,8 @@ input[type="email"]:focus,
437472input [type = "search" ]: focus ,
438473input [type = "text" ]: focus ,
439474input [type = "tel" ]: focus ,
475+ input [type = "date" ]: focus ,
476+ input [type = "color" ]: focus ,
440477input [type = "url" ]: focus ,
441478input [type = "password" ]: focus ,
442479textarea : focus ,
0 commit comments