forked from genbtc/AutoTrimps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tabs.css
59 lines (52 loc) · 1.32 KB
/
tabs.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
/*For the autotrimps Top right Story/Loot/Unlocks/Combat/Settings/AutoTrimps Tabs, so they dont overlap*/
#logBtnGroup div {
width: 19%!important;
}
div#logConfigHolder.btn-group {
width: 5%!important; /* overriding like 3 previous things :/ */
}
#logConfigBtn {
padding: 6px 0px!important;
}
/*For the NEWUI2.js settings window*/
/* Style the list */
ul.tab {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Float the list items side by side */
ul.tab li {float: left;}
/* Style the links inside the list items */
ul.tab li a {
display: inline-block;
color: black;
text-align: center;
padding: 0.5vh 1vw;
text-decoration: none;
transition: 0.3s;
font-size: 2vh;
}
/* Create an active/current tablink class */
ul.tab li a.active {background-color: #ccc;}
/* Change background color of links on hover */
ul.tab li a:hover {background-color: #ddd;}
/* Style the tab content */
.tabcontent {
display: none;
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;}
}