123 lines
2.1 KiB
CSS
123 lines
2.1 KiB
CSS
@import "tailwindcss/base";
|
|
@import "tailwindcss/components";
|
|
@import "tailwindcss/utilities";
|
|
|
|
body {
|
|
background-color: lightgray;
|
|
}
|
|
|
|
.header-login {
|
|
@apply text-white text-center py-4;
|
|
background-color: #008A9E;
|
|
}
|
|
|
|
.header-page {
|
|
@apply text-white py-4 flex justify-between items-center px-4;
|
|
background-color: #008A9E;
|
|
}
|
|
|
|
.submit-button {
|
|
@apply text-white font-bold py-2 px-4 rounded;
|
|
background-color: #008A9E;
|
|
}
|
|
|
|
.submit-button:hover {
|
|
background-color: #003139;
|
|
}
|
|
|
|
th {
|
|
text-align: left;
|
|
}
|
|
|
|
#login_card {
|
|
@apply justify-center items-start h-screen mt-[5%] w-1/2 max-w-2xl mx-auto;
|
|
}
|
|
|
|
#page_card {
|
|
@apply justify-center items-start min-h-screen mt-[1%] mb-[1%] max-w-6xl mx-auto bg-white shadow-md rounded px-4 py-4;
|
|
|
|
}
|
|
|
|
.alert {
|
|
@apply font-bold rounded px-4 py-2;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.alert-error {
|
|
@apply bg-red-500 text-white;
|
|
}
|
|
|
|
.alert-success {
|
|
@apply bg-green-500 text-white;
|
|
}
|
|
|
|
.alert-warning {
|
|
@apply bg-yellow-500 text-white;
|
|
}
|
|
|
|
.user-name-input {
|
|
@apply w-full border-2 border-gray-300 rounded p-2;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.slot-button {
|
|
@apply bg-transparent border-none cursor-pointer p-2;
|
|
}
|
|
|
|
.claim-icon {
|
|
@apply inline-block;
|
|
color: #008A9E;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.has-tooltip {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Tooltip text */
|
|
.has-tooltip .tooltip-text {
|
|
font-family: ui-sans-serif;
|
|
font-size: 0.9rem;
|
|
visibility: hidden;
|
|
width: 150px;
|
|
background-color: rgb(128, 128, 128);
|
|
color: #FFFFFF;
|
|
text-align: center;
|
|
padding: 10px;
|
|
border-radius: 0.25rem;
|
|
|
|
position: absolute;
|
|
z-index: 1;
|
|
|
|
bottom: 130%;
|
|
left: 50%;
|
|
margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
|
|
}
|
|
|
|
.has-tooltip:hover .tooltip-text {
|
|
visibility: visible;
|
|
transition: .75s all ease;
|
|
transition-delay: .75s;
|
|
}
|
|
|
|
a:hover {
|
|
color: #003139 !important;
|
|
}
|
|
|
|
.roster-line-height td {
|
|
padding: 15px;
|
|
}
|
|
|
|
.roster-line-past {
|
|
color: #A9A9A9;
|
|
background-color: #F8F8F8;
|
|
}
|
|
|
|
.roster-line-mine {
|
|
background-color: #F1FDF1;
|
|
}
|
|
|
|
.form-as-icon {
|
|
float: left;
|
|
} |