myco.systems/public/style.css
2023-10-14 23:19:34 -04:00

279 lines
No EOL
4.6 KiB
CSS
Executable file

body {
overflow: hidden;
margin: 0;
font-family: "Open Sans", sans-serif;
}
.header-container {
color: white;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
top: 1rem;
left: 1rem;
right: 1rem;
color: #fff;
z-index: 999;
background: rgba(255, 255, 255, 0.02);
backdrop-filter: blur(5px);
padding: 1rem;
padding-top: 0.5rem;
padding-bottom: 0.75rem;
border-radius: 1rem;
}
.header-container h1 {
display: inline-block;
font-family: "Open Sans", sans-serif;
margin: 0;
padding: 0;
}
.header-container nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.header-container nav ul li {
display: inline-block;
margin-left: 20px;
}
.header-container nav ul li a {
text-decoration: none;
color: white;
font-weight: 800;
position: relative;
}
.header-container nav ul li a::before {
content: "";
position: absolute;
width: 100%;
height: 2px;
bottom: 0;
left: 0;
background-color: white;
transform: scaleX(0);
transform-origin: bottom left;
transition: transform 0.3s ease;
}
.header-container nav ul li a:hover::before {
transform: scaleX(1);
}
.card-button {
position: fixed;
z-index: 99;
right: 1.9rem;
bottom: 1.9rem;
padding: 5px 30px;
background-color: #232222;
color: #e3e3e3;
border-radius: 5px;
font-size: 22px;
font-weight: 800;
cursor: pointer;
transition: transform 0.3s;
}
.card-button:hover {
animation: wobble 2s ease-in-out infinite;
}
@keyframes wobble {
0% {
transform: translateX(0);
}
15% {
transform: translateX(-2px) rotate(-2deg);
}
30% {
transform: translateX(2px) rotate(2deg);
}
45% {
transform: translateX(-1px) rotate(-1deg);
}
60% {
transform: translateX(1px) rotate(1deg);
}
75% {
transform: translateX(-0.5px) rotate(-0.5deg);
}
100% {
transform: translateX(0);
}
}
.card-out {
z-index: 99;
position: fixed;
right: -520px;
bottom: 15px;
transition: right 0.5s ease-in-out;
}
.card-in {
z-index: 99;
position: fixed;
right: 15px;
bottom: 15px;
transition: right 0.5s ease-in-out;
}
*,
*:before,
*:after {
outline: 0;
margin: 0;
padding: 0;
border: 0;
text-decoration: none;
box-sizing: border-box;
transition: color 300ms ease-out, background 300ms ease-out,
border 300ms ease-out, transform 300ms ease-out, opacity 300ms ease-out;
}
input,
textarea,
select,
options,
button {
font-family: inherit;
font-size: inherit;
line-height: inherit;
font-weight: normal;
background: none;
color: #b4a477;
}
.card-wrap {
overflow: hidden;
margin: 0 auto;
max-width: 520px;
background-color: #232323;
border-radius: 9px;
box-shadow: 7px 7px 0 #743c2f;
}
.tabs-wrap {
position: relative;
}
.tabs-nav {
display: flex;
flex-direction: row;
align-items: center;
justify-content: stretch;
position: relative;
overflow: hidden;
background-color: #232222;
}
.tabs-nav > button {
flex: 1;
display: block;
cursor: pointer;
text-align: center;
padding: 0.8em 0;
background-color: #232222;
font-weight: bold;
color: #733c2f;
}
.tabs-nav > button:hover {
background-color: #733c2f;
color: #232222;
}
.tabs-nav > button.active {
background-color: #733c2f;
border-color: #733c2f;
color: #232222;
}
.tabs-info {
min-height: 100px;
padding-top: 1em;
background-color: #232222;
font-weight: 700;
color: #733c2f;
}
.tabs-info .tabs-info-row {
display: flex;
flex-direction: row;
align-items: center;
justify-content: stretch;
margin-bottom: 1em;
padding: 0 1em;
}
.tabs-info .tabs-info-qr > img {
display: block;
border-radius: 10px;
background-color: white;
padding: 5px;
}
.tabs-info .tabs-info-input {
display: flex;
flex-direction: row;
align-items: center;
justify-content: stretch;
background-color: #232323;
padding: 0.75em 1em;
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.4);
}
.tabs-info .tabs-info-input > span {
margin-right: 1em;
font-weight: bold;
color: #733c2f;
}
.tabs-info .tabs-info-input > input {
flex: 1;
margin-right: 1em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: bold;
color: #733c2f;
background-color: #232323;
border: none;
}
.tabs-info .tabs-info-input > button {
cursor: pointer;
font-weight: bold;
background-color: #232222;
color: #733c2f;
}
.tabs-info .tabs-info-details {
padding-left: 15px;
}
.tabs-info .tabs-info-title {
font-size: 2em;
}
.tabs-info .tabs-info-warn {
font-size: 1em;
}
.label-york,
.label-atl,
.label-cha,
.label-vint,
.label-san {
color: white;
background-color: rgba(0, 0, 0, 0.7);
padding: 4px;
border-radius: 4px;
font-size: 14px;
}