1
1
div .code-toolbar {
2
- position : relative;
2
+ position : relative;
3
3
}
4
4
5
5
div .code-toolbar > .toolbar {
6
- position : absolute;
7
- z-index : 10 ;
8
- top : .3em ;
9
- right : .2em ;
10
- transition : opacity 0.3s ease-in-out;
11
- opacity : 0 ;
6
+ position : absolute;
7
+ z-index : 10 ;
8
+ top : 0 .3em ;
9
+ right : 0 .2em ;
10
+ transition : opacity 0.3s ease-in-out;
11
+ opacity : 0 ;
12
12
}
13
13
14
14
div .code-toolbar : hover > .toolbar {
15
- opacity : 1 ;
15
+ opacity : 1 ;
16
16
}
17
17
18
18
/* Separate line b/c rules are thrown out if selector is invalid. */
19
19
div .code-toolbar : focus-within > .toolbar {
20
- opacity : 1 ;
20
+ opacity : 1 ;
21
21
}
22
22
23
23
div .code-toolbar > .toolbar > .toolbar-item {
24
- display : inline-block;
24
+ display : inline-block;
25
25
}
26
26
27
27
div .code-toolbar > .toolbar > .toolbar-item > a {
28
- cursor : pointer;
28
+ cursor : pointer;
29
29
}
30
30
31
31
div .code-toolbar > .toolbar > .toolbar-item > button {
32
- background : none;
33
- border : 0 ;
34
- color : inherit;
35
- font : inherit;
36
- line-height : normal;
37
- overflow : visible;
38
- padding : 0 ;
39
- -webkit-user-select : none; /* for button */
32
+ background : none;
33
+ border : 0 ;
34
+ color : inherit;
35
+ font : inherit;
36
+ line-height : normal;
37
+ overflow : visible;
38
+ padding : 0 ;
39
+ user-select : none;
40
+ -webkit-user-select : none;
40
41
}
41
42
42
43
div .code-toolbar > .toolbar > .toolbar-item > a ,
43
44
div .code-toolbar > .toolbar > .toolbar-item > button ,
44
45
div .code-toolbar > .toolbar > .toolbar-item > span {
45
- color : # aaa ;
46
- font-size : 0.8em ;
47
- text-transform : none;
48
- background : rgba (215 , 215 , 215 , 0.4 );
49
- box-shadow : 0 2px 0 0 rgba (150 , 150 , 150 , 0.8 );
50
- border-radius : 0.5em ;
51
- display : inline-block;
52
- min-width : 80% ;
53
- max-height : 1.75em ;
54
- padding-left : 0.45em ;
55
- padding-right : 0.45em ;
56
- padding-top : 0.1em ;
57
- padding-bottom : 0.2 em ;
46
+ color : # aaa ;
47
+ font-size : 0.8em ;
48
+ text-transform : none;
49
+ background : rgba (215 , 215 , 215 , 0.4 );
50
+ box-shadow : 0 2px 0 0 rgba (150 , 150 , 150 , 0.8 );
51
+ border-radius : 0.5em ;
52
+ display : inline-block;
53
+ min-width : 80% ;
54
+ max-height : 1.75em ;
55
+ padding-left : 0.45em ;
56
+ padding-right : 0.45em ;
57
+ padding-top : 0.1em ;
58
+ padding-bottom : 0.1 em ;
58
59
}
59
60
60
61
div .code-toolbar > .toolbar > .toolbar-item > a : hover ,
@@ -63,6 +64,6 @@ div.code-toolbar > .toolbar > .toolbar-item > button:hover,
63
64
div .code-toolbar > .toolbar > .toolbar-item > button : focus ,
64
65
div .code-toolbar > .toolbar > .toolbar-item > span : hover ,
65
66
div .code-toolbar > .toolbar > .toolbar-item > span : focus {
66
- color : rgba ( 0 , 0 , 200 , 0.8 ) ;
67
- text-decoration : none;
67
+ color : darkblue ;
68
+ text-decoration : none;
68
69
}
0 commit comments