shlink-web-client/shlink-web-component/short-urls/helpers/ShortUrlsRow.scss

42 lines
868 B
SCSS
Raw Normal View History

@import '../../../src/utils/base';
@import '../../../src/utils/mixins/text-ellipsis';
@import '../../../src/utils/mixins/vertical-align';
2018-08-05 09:49:07 +03:00
.short-urls-row__cell.short-urls-row__cell {
vertical-align: middle !important;
}
2018-08-04 18:52:56 +03:00
.short-urls-row__cell--break {
word-break: break-all;
}
.short-urls-row__cell--indivisible {
@media (min-width: $lgMin) {
white-space: nowrap;
}
}
.short-urls-row__short-url-wrapper {
@media (max-width: $mdMax) {
word-break: break-all;
}
@media (min-width: $lgMin) {
@include text-ellipsis();
vertical-align: bottom;
display: inline-block;
max-width: 18rem;
}
}
.short-urls-row__copy-hint {
@include vertical-align(translateX(10px));
box-shadow: 0 3px 15px rgba(0, 0, 0, .25);
@media (max-width: $responsiveTableBreakpoint) {
@include vertical-align(translateX(calc(-100% - 20px)));
}
}