stremio-web/src/common/MetaPreview/ActionButton/styles.less
2020-03-27 14:43:11 +02:00

47 lines
No EOL
1,001 B
Text

@import (reference) '~stremio-colors/dist/less/stremio-colors.less';
.action-button-container {
display: flex;
flex-direction: column;
justify-content: center;
background-color: @color-surface-light5-20;
&:hover, &:focus {
background-color: @color-accent3;
}
.icon-container {
flex-grow: 0;
flex-shrink: 0;
flex-basis: 50%;
padding-top: 15%;
&:only-child {
padding: 5% 0;
}
.icon {
display: block;
width: 100%;
height: 100%;
fill: @color-surface-light5-90;
}
}
.label-container {
flex-grow: 0;
flex-shrink: 0;
flex-basis: 50%;
display: flex;
flex-direction: row;
align-items: center;
.label {
flex: 1;
padding: 0 0.2rem;
max-height: 2.4em;
text-align: center;
color: @color-surface-light5-90;
}
}
}