mirror of
https://github.com/4cuck/teapawt.git
synced 2026-10-27 14:04:35 +00:00
80 lines
1.6 KiB
CSS
80 lines
1.6 KiB
CSS
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.panel-container {
|
|
margin: auto;
|
|
font-size: 130%;
|
|
}
|
|
|
|
.error-panel {
|
|
padding: 16px;
|
|
border-radius: var(--shape-lg);
|
|
display: flex;
|
|
background: var(--tp-error-container);
|
|
color: var(--tp-on-error-container);
|
|
box-shadow: var(--elevation-1);
|
|
margin: auto;
|
|
margin-top: -50px;
|
|
text-align: center;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.search-bar > form {
|
|
padding: 12px 16px;
|
|
border-radius: var(--shape-md);
|
|
display: flex;
|
|
background: var(--tp-surface-container-highest);
|
|
border: none;
|
|
box-shadow: none;
|
|
margin: auto;
|
|
margin-top: -50px;
|
|
transition: background 0.15s ease;
|
|
|
|
& button {
|
|
background: var(--tp-primary);
|
|
color: var(--tp-on-primary);
|
|
border: 0;
|
|
border-radius: var(--shape-md);
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.15s ease;
|
|
/*box-shadow: var(--elevation-1);*/
|
|
|
|
&:hover {
|
|
background: var(--tp-on-primary-container);
|
|
/* box-shadow: var(--elevation-2); */
|
|
}
|
|
}
|
|
|
|
& input {
|
|
font-size: 16px;
|
|
width: 100%;
|
|
background: var(--tp-surface-container-highest) !important;
|
|
color: var(--tp-on-surface);
|
|
border: 0;
|
|
border-radius: 10px;
|
|
padding: 4px 12px;
|
|
margin-right: 8px;
|
|
height: unset;
|
|
box-shadow: none !important;
|
|
|
|
&::placeholder {
|
|
color: var(--tp-on-surface-variant);
|
|
}
|
|
}
|
|
}
|