/
_table_tools.css.scss
94 lines (75 loc) · 1.73 KB
/
_table_tools.css.scss
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
.table_tools {
display: block;
margin-bottom: 14px;
width: 100%;
}
.table_tools {
.table_tools_button + .table_tools_button {
margin-left: 6px;
}
.table_tools_button + .table_tools_segmented_control {
margin-left: 6px;
}
.table_tools_segmented_control + .table_tools_button {
margin-left: 6px;
}
}
a.table_tools_button, .table_tools .dropdown_menu_button {
@include light-button;
@include gradient(#FFF, #F0F0F0);
@include border-colors(#d9d9d9, #d0d0d0, #c5c5c5);
font-size: 0.9em;
text-decoration: none;
padding: 4px 14px 4px;
position: relative;
-webkit-transition: all 0.08s ease-in;
&:not(.disabled) {
&:hover {
@include gradient(#FFF, #F6F6F6);
}
&:active {
@include border-colors(#d7d7d7, #c8c8c8, #c3c3c3);
@include box-shadow(0 1px 1px 0 rgba(0,0,0,0.17) inset );
@include gradient(#FFF, #E8E8E8);
}
}
}
.table_tools_segmented_control {
display: inline-block;
list-style-type: none;
margin: 0;
padding: 0;
li {
display: inline-block;
list-style-image: none;
list-style-type: none;
margin-left: -7px;
white-space: nowrap;
a {
border-radius: 0px;
}
&:first-child {
margin-left: 0;
a {
border-top-left-radius: 12px;
border-bottom-left-radius: 12px;
}
}
&:last-child {
a {
border-top-right-radius: 12px;
border-bottom-right-radius: 12px;
}
}
&.selected {
a {
@include gradient(#F0F0F0, #FDFDFD);
@include box-shadow(0 1px 1px 0 rgba(0,0,0,0.1) inset);
cursor: default;
&:hover {
@include gradient(#F0F0F0, #FDFDFD);
}
}
}
}
}