-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
44 lines (42 loc) · 1.03 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* Simple styling for an action
*
* Semantically speaking this class represents an action that a user
* may take. This is commonly a button or a link.
*
* This class, by it self, will not offer any colors. Other classes are
* expected to define the colors.
*
* An action class has four states:
*
* * default
* * hover/focus
* * active
* * disabled
*/
.action {
background: none;
border: 0;
cursor: pointer;
display: inline-block;
font-size: 1em;
line-height: normal;
margin-bottom: 0;
padding: 4px 12px;
text-align: center;
text-decoration: none;
text-transform: none;
vertical-align: middle;
-o-transition: background-color 50ms linear;
-ms-transition: background-color 50ms linear;
-moz-transition: background-color 50ms linear;
-webkit-transition: background-color 50ms linear;
transition: background-color 50ms linear;
}
.action.disabled,
.action[disabled] {
cursor: default;
opacity: 0.65;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=65);
filter: alpha(opacity=65);
}