web/static/ldt/css/blueprint/plugins/buttons/screen.css
author wakimd
Wed, 22 Dec 2010 12:01:05 +0100
changeset 25 c8dfd7ea87e5
parent 9 22ab430e9b64
permissions -rw-r--r--
Corrections on merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     1
/* -------------------------------------------------------------- 
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     2
  
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     3
   buttons.css
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     4
   * Gives you some great CSS-only buttons.
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     5
   
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     6
   Created by Kevin Hale [particletree.com]
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     7
   * particletree.com/features/rediscovering-the-button-element
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     8
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     9
   See Readme.txt in this folder for instructions.
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    10
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    11
-------------------------------------------------------------- */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    12
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    13
a.button, button {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    14
  display:block;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    15
  float:left;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    16
  margin: 0.7em 0.5em 0.7em 0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    17
  padding:5px 10px 5px 7px;   /* Links */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    18
  
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    19
  border:1px solid #dedede;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    20
  border-top:1px solid #eee;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    21
  border-left:1px solid #eee;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    22
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    23
  background-color:#f5f5f5;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    24
  font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    25
  font-size:100%;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    26
  line-height:130%;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    27
  text-decoration:none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    28
  font-weight:bold;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    29
  color:#565656;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    30
  cursor:pointer;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    31
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    32
button {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    33
  width:auto;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    34
  overflow:visible;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    35
  padding:4px 10px 3px 7px;   /* IE6 */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    36
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    37
button[type] {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    38
  padding:4px 10px 4px 7px;   /* Firefox */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    39
  line-height:17px;           /* Safari */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    40
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    41
*:first-child+html button[type] {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    42
  padding:4px 10px 3px 7px;   /* IE7 */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    43
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    44
button img, a.button img{
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    45
  margin:0 3px -3px 0 !important;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    46
  padding:0;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    47
  border:none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    48
  width:16px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    49
  height:16px;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    50
  float:none;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    51
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    52
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    53
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    54
/* Button colors
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    55
-------------------------------------------------------------- */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    56
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    57
/* Standard */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    58
button:hover, a.button:hover{
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    59
  background-color:#dff4ff;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    60
  border:1px solid #c2e1ef;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    61
  color:#336699;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    62
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    63
a.button:active{
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    64
  background-color:#6299c5;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    65
  border:1px solid #6299c5;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    66
  color:#fff;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    67
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    68
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    69
/* Positive */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    70
body .positive {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    71
  color:#529214;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    72
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    73
a.positive:hover, button.positive:hover {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    74
  background-color:#E6EFC2;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    75
  border:1px solid #C6D880;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    76
  color:#529214;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    77
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    78
a.positive:active {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    79
  background-color:#529214;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    80
  border:1px solid #529214;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    81
  color:#fff;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    82
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    83
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    84
/* Negative */
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    85
body .negative {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    86
  color:#d12f19;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    87
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    88
a.negative:hover, button.negative:hover {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    89
  background-color:#fbe3e4;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    90
  border:1px solid #fbc2c4;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    91
  color:#d12f19;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    92
}
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    93
a.negative:active {
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    94
  background-color:#d12f19;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    95
  border:1px solid #d12f19;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    96
  color:#fff;
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    97
}