-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
146 lines (127 loc) · 3 KB
/
style.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/* Vars */
:root {
--upload-color: #4caf50;
--background-color: #f2f2f2;
--input-background-color: #fff;
--text-color: #333;
--border-color: #ccc;
--box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
--max-width: 600px;
--min-width: 600px;
--margin: 50px;
--padding: 20px;
--input-padding: 10px;
--font-size: 16px;
--border-radius: 8px;
--border-width: 2px;
--table-width: 250px;
--table-hight: 70px;
--link-color: #039450;
--hover-link-color: #067323;
}
/* The base body */
body {
font-family: 'Arial', sans-serif;
background-color: var(--background-color);
}
/* The main app */
#app {
margin: 0px auto;
padding: var(--padding);
background-color: var(--input-background-color);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
width: fit-content;
min-width: var(--min-width);
}
/* The input place for the file */
input {
display: block;
width: 100%;
padding: var(--input-padding);
margin-bottom: calc(var(--input-padding) * 2);
font-size: var(--font-size);
border: var(--border-width) solid var(--border-color);
border-radius: var(--border-radius);
box-sizing: border-box;
}
/* The name of the input file */
#fileInput {
cursor: pointer;
background-color: var(--upload-color);
color: white;
border: none;
border-radius: var(--border-radius);
font-size: var(--font-size);
}
/* The output place for the file */
#result {
padding: var(--input-padding);
border: var(--border-width) solid var(--border-color);
border-radius: var(--border-radius);
width: fit-content;
height: fit-content;
/* Center content */
text-align: center;
margin: auto;
}
#result::before {
content: 'Chosen File: ';
font-weight: bold;
}
/* Separating between exel sheets */
hr{
background-color: var(--upload-color);
border-radius: 5px;
padding: var(--padding);
}
/* The sheets list */
a {
color: var(--link-color);
text-decoration: none; /* Remove default underline */
transition: color 0.3s ease; /* Smooth transition for color changes */
align-items: center;
text-align: left;
font-weight: bold;
padding: 15px;
width: 100%;
height: 100%;
border-radius: 6px;
transition: transform 5s ease-in;
}
/* Hover effect for the 'a' element */
a:hover {
color: var(--hover-link-color); /* Change text color on hover */
background-color: var(--input-background-color);
}
ul {
list-style: none; /* Remove default list styles */
padding: 0; /* Remove default padding */
background-color: #f4f4f4;
border-radius: 8px;
}
li {
display: flex;
padding: 15px;
align-items: center;
}
/* The style sheet */
table {
border-collapse: collapse;
width: 100%;
border: var(--border-width) solid var(--border-color);
}
th, td {
border: calc(var(--border-width)) solid var(--border-color);
padding: calc(var(--padding));
text-align: left;
}
th {
background-color: var(--background-color);
}
tbody tr:nth-child(even) { /* Every even cell for more interesting look */
background-color: #f2f2f2;
}
tbody tr:hover {
background-color: #ddd;
}