stremio-web/src/common/SharePrompt/styles.less
2020-03-10 16:40:21 +02:00

110 lines
No EOL
2.7 KiB
Text

@import (reference) '~stremio-colors/dist/less/stremio-colors.less';
.share-prompt-container {
.buttons-container {
display: flex;
flex-direction: row;
.button-container {
flex: 1;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding: 1rem;
&:not(:last-child) {
margin-right: 1rem;
}
.icon {
flex: none;
height: 1.2rem;
margin-right: 1rem;
fill: @color-surface-light5;
}
.label {
flex-grow: 0;
flex-shrink: 1;
flex-basis: auto;
max-height: 2.4em;
font-size: 1.1rem;
font-weight: 500;
text-align: center;
color: @color-surface-light5;
}
}
.facebook-button, .twitter-button {
&:hover {
filter: brightness(1.2);
}
&:focus {
outline-color: @color-background-dark5;
}
}
.facebook-button {
background-color: var(--color-facebook);
}
.twitter-button {
background-color: var(--color-twitter);
}
}
.url-container {
display: flex;
flex-direction: row;
margin-top: 1rem;
background-color: @color-surface-light2;
.url-text-input {
flex: 1;
align-self: stretch;
padding: 1rem;
font-size: 1.1rem;
text-align: center;
color: @color-background-dark5;
}
.copy-button {
flex: none;
align-self: stretch;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 8rem;
padding: 1rem;
background-color: @color-accent3;
&:hover {
background-color: @color-accent3-light2;
}
&:focus {
outline-color: @color-background-dark5;
}
.icon {
flex: none;
width: 1.2rem;
height: 1.2rem;
margin-right: 0.5rem;
fill: @color-surface-light5;
}
.label {
flex-grow: 0;
flex-shrink: 1;
flex-basis: auto;
max-height: 2.4em;
font-size: 1.1rem;
color: @color-surface-light5;
}
}
}
}