-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinterface.css
126 lines (109 loc) · 2.84 KB
/
interface.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
123
124
125
126
/* Style the tab */
div.tab {
overflow: hidden;
border-bottom: 1px solid #ccc;
}
/* Style the buttons inside the tab */
div.tab button {
background-color: inherit;
float: left;
border-left: 1px solid none;
border-top: 1px solid none;
border-right: 1px solid none;
border-bottom: none;
border-top-left-radius: 1em;
border-top-right-radius: 1em;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
div.tab button:hover {
background-color: #CCF2FF;
border-left: 1px solid #CCF2FF;
border-top: 1px solid #CCF2FF;
border-right: 1px solid #CCF2FF;
border-top-left-radius: 1em;
border-top-right-radius: 1em;
}
/* Create an active/current tablink class */
div.tab button.active {
background-color: #00BFFF;
border-left: 1px solid #00BFFF;
border-top: 1px solid #00BFFF;
border-right: 1px solid #00BFFF;
border-top-left-radius: 1em;
border-top-right-radius: 1em;
color: #FFFFFF;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
-webkit-animation: fadeEffect 1s;
animation: fadeEffect 1s; /* Fading effect takes 1 second */
}
@-webkit-keyframes fadeEffect {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes fadeEffect {
from {opacity: 0;}
to {opacity: 1;}
}
/* Style the buttons that are used to open and close the accordion panel */
button.accordion {
background-color: #FFFFFF;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
text-align: left;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
outline: none;
transition: 0.4s;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.accordion.active {
background-color: #A9A9A9;
color: #FFFFFF;
}
button.accordion:hover {
background-color: #E6E6E6;
color: #444;
}
/* Style the accordion panel. Note: hidden by default */
div.panel {
padding: 0 18px;
background-color: white;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
border-bottom: none;
border-top: none;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
}
/* icon when accordion is closed*/
button.accordion:after {
content: '\23F4'; /* Unicode character for "plus" sign (+) */
font-size: 13px;
color: #444;
float: right;
margin-left: 5px;
}
/* icon when accordion is open*/
button.accordion.active:after {
content: "\23F7"; /* Unicode character for "minus" sign (-) */
font-size: 13px;
color: #444;
float: right;
margin-left: 5px;
}
.upgradeAccordionBox {
border: 1px solid #ccc;
}