forked from maslianok/react-responsive-tabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
122 lines (103 loc) · 1.89 KB
/
styles.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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
.RRT__container {
position: relative;
}
/****************************/
/******** tab styles ********/
/****************************/
.RRT__tabs {
display: flex;
flex-wrap: wrap;
}
.RRT__accordion {
flex-direction: column;
}
.RRT__tab {
background: #eee;
border-style: solid;
border-color: #ddd;
border-width: 1px 1px 1px 0;
cursor: pointer;
z-index: 1;
white-space: nowrap;
padding: .7em 1em;
}
.RRT__tab:focus {
outline: 0;
background-color: #e6e6e6;
}
.RRT__accordion .RRT__tab {
border-left-width: 1px;
}
.RRT__tab--first {
border-left-width: 1px;
}
.RRT__tab--selected {
background: #fff;
border-color: #ddd #ddd #fff;
}
.RRT__tab--selected:focus {
background-color: #fff;
}
.RRT__tab--disabled {
opacity: 0.5;
cursor: not-allowed;
}
.RRT__tab:focus {
z-index: 2;
}
/****************************/
/********* panel styles *****/
/****************************/
.RRT__panel {
margin-top: -1px;
padding: 1em;
border: 1px solid #ddd;
}
.RRT__accordion .RRT__panel {
margin-top: 0;
}
/****************************/
/******* showmore control ***/
/****************************/
.RRT__showmore {
background: #eee;
border: 1px solid #ddd;
cursor: pointer;
z-index: 1;
white-space: nowrap;
margin-left: -1px;
position: relative;
}
.RRT__showmore-label {
padding: .7em 1em;
position: relative;
bottom: -1px;
z-index: 1;
}
.RRT__showmore-label--selected {
background-color: #eee;
}
.RRT__showmore-list {
position: absolute;
right: -1px;
top: 100%;
display: none;
}
.RRT__showmore-list--opened {
display: block;
}
/****************************/
/********** inkbar **********/
/****************************/
.RRT__inkbar-wrapper {
width: 100%;
}
.RRT__inkbar {
position: relative;
bottom: 0;
height: 2px;
margin-top: -2px;
background-color: deepskyblue;
transition: left 800ms cubic-bezier(0.23, 1, 0.32, 1);
z-index: 2;
}