-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewtab.css
More file actions
146 lines (125 loc) · 2.91 KB
/
newtab.css
File metadata and controls
146 lines (125 loc) · 2.91 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
body, html {
height: 100%;
width: 100%;
}
.image-head {
background-image:url("b2.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: top center;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
color: black;
text-align: center;
transition: background 1s linear;
}
table {
color: #F0F8FF;
font-family: Helvetica, Arial, sans-serif;
max-width: 460px;
border-collapse:
collapse; border-spacing: 0;
margin: 10px;
display: block;
overflow-x: auto;
white-space: nowrap;
}
td, th {
border: 1px solid #4B0082; /* No more visible border */
height: 40px;
width: 50px;
transition: all 0.3s; /* Simple transition for hover effect */
}
th {
background: #F0F8FF; /* Darken header a bit */
font-weight: bold;
}
td {
background: #F0F8FF;
text-align: center;
}
/* Cells in even rows (2,4,6...) are one color */
tr:nth-child(even) td { background: #F0F8FF; }
/* Cells in odd rows (1,3,5...) are another (excludes header cells) */
tr:nth-child(odd) td { background: #E6E6FA; }
tr td:hover { background:#B0C4DE; color: #FFF; }
/* Hover cell effect! */
.alert {
padding: 15px;
border: 1px solid #d6e9c6;
border-radius: 4px;
color: #3c763d;
background-color: #dff0d8;
}
/* The close button */
.closebtn {
margin-left: 15px;
color: #5F9EA0;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}
/* When moving the mouse over the close button */
.closebtn:hover {
color: black;
}
/* The sidebar menu */
.sidebar {
height: 100%;
width: 50%; /* width - change this with JavaScript */
position: fixed; /* Stay in place */
z-index: 1; /* Stay on top */
top: 0;
left: 0;
background-color: #696969;
opacity: 70%;
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 40px;
transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}
/* The button used to open the sidebar */
.openbtn {
font-size: 20px;
cursor: pointer;
background-color: #696969;
opacity: 70%;
color: white;
padding: 10px 15px;
border: none;
}
.openbtn:hover {
background-color: #444;
}
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
transition: margin-left .5s; /* If you want a transition effect */
padding: 20px;
}
.bgbtn{
margin: 5px;
}
.tooltip{
position: relative;
display: inline-block;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
position: absolute;
z-index: 1;
top: -5px;
left: 105%;
}