mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
117 lines
No EOL
2.8 KiB
Text
117 lines
No EOL
2.8 KiB
Text
.modal-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: var(--color-backgrounddark40);
|
|
|
|
.modal-dialog-container {
|
|
flex: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 80%;
|
|
max-height: 80%;
|
|
background-color: var(--color-surfacelighter);
|
|
|
|
.header-container {
|
|
flex: none;
|
|
align-self: stretch;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
padding: 0.2rem 0.2rem 0;
|
|
|
|
.title-container {
|
|
flex: 1;
|
|
align-self: center;
|
|
max-height: 2.4em;
|
|
padding: 0 0.5rem;
|
|
font-size: 1.2rem;
|
|
color: var(--color-backgrounddarker);
|
|
}
|
|
|
|
.close-button-container {
|
|
flex: none;
|
|
align-self: flex-start;
|
|
width: 2rem;
|
|
height: 2rem;
|
|
padding: 0.5rem;
|
|
|
|
.icon {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
fill: var(--color-surfacedark);
|
|
}
|
|
|
|
&:hover, &:focus {
|
|
background-color: var(--color-surfacelight);
|
|
|
|
.icon {
|
|
fill: var(--color-surfacedarker);
|
|
}
|
|
}
|
|
|
|
&:focus {
|
|
outline-color: var(--color-surfacedark);
|
|
}
|
|
}
|
|
}
|
|
|
|
.modal-dialog-content {
|
|
flex: 1;
|
|
align-self: stretch;
|
|
margin: 1rem 0.5rem;
|
|
padding: 0 0.5rem;
|
|
overflow-y: auto;
|
|
|
|
.buttons-container {
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.action-button {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 1rem;
|
|
background-color: var(--color-signal5);
|
|
|
|
&:focus {
|
|
outline-width: calc(1.5 * var(--focus-outline-size));
|
|
outline-color: var(--color-surfacelighter);
|
|
outline-offset: calc(-2 * var(--focus-outline-size));
|
|
}
|
|
|
|
&:hover {
|
|
filter: brightness(1.2);
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.icon {
|
|
flex: none;
|
|
width: 1.2rem;
|
|
height: 1.2rem;
|
|
margin-right: .5rem;
|
|
fill: var(--color-surfacelighter);
|
|
}
|
|
|
|
.label {
|
|
flex-grow: 0;
|
|
flex-shrink: 1;
|
|
flex-basis: auto;
|
|
max-height: 3.6em;
|
|
font-size: 1.1rem;
|
|
text-align: center;
|
|
color: var(--color-surfacelighter);
|
|
}
|
|
} |