131 lines
2.2 KiB
CSS
131 lines
2.2 KiB
CSS
|
|
button, [type="submit"] {
|
|
appearance: none;
|
|
background-color: #2ea44f;
|
|
border: 1px solid rgba(27, 31, 35, .15);
|
|
box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
|
|
box-sizing: border-box;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 20px;
|
|
padding: 6px 16px;
|
|
position: relative;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
touch-action: manipulation;
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
select {
|
|
width: 50%;
|
|
}
|
|
|
|
.operation {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 30px;
|
|
display: inline;
|
|
}
|
|
|
|
.operation .group {
|
|
display: flex;
|
|
justify-content: left;
|
|
align-items: center;
|
|
}
|
|
|
|
table {
|
|
min-width: 400px;
|
|
border: 1px solid #ccc;
|
|
border-collapse: collapse;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
table caption {
|
|
font-size: 1.5em;
|
|
margin: .5em 0 .75em;
|
|
}
|
|
|
|
table tr {
|
|
background-color: #f8f8f8;
|
|
border: 1px solid #ddd;
|
|
padding: .35em;
|
|
}
|
|
|
|
table th,
|
|
table td {
|
|
padding: .625em;
|
|
text-align: center;
|
|
}
|
|
|
|
table th {
|
|
font-size: .85em;
|
|
letter-spacing: .1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
table {
|
|
border: 0;
|
|
}
|
|
|
|
table caption {
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
table thead {
|
|
border: none;
|
|
clip: rect(0 0 0 0);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px;
|
|
}
|
|
|
|
table tr {
|
|
border-bottom: 3px solid #ddd;
|
|
display: block;
|
|
margin-bottom: .625em;
|
|
}
|
|
|
|
table td {
|
|
border-bottom: 1px solid #ddd;
|
|
display: block;
|
|
font-size: .8em;
|
|
text-align: right;
|
|
}
|
|
|
|
table td::before {
|
|
/*
|
|
* aria-label has no advantage, it won't be read inside a table
|
|
content: attr(aria-label);
|
|
*/
|
|
content: attr(data-label);
|
|
float: left;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
table td:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
|
|
/* general styling */
|
|
body {
|
|
font-family: "Open Sans", sans-serif;
|
|
line-height: 1.25;
|
|
}
|