123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- @if variable-exists(show-lines) {
- @for $i from 1 through 5 {
- .uv-line-#{$i} {
-
-
- lines: $i;
- text-overflow: ellipsis;
- overflow: hidden;
- flex: 1;
-
-
-
- @if $i == '1' {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- } @else {
- display: -webkit-box!important;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- -webkit-line-clamp: $i;
- -webkit-box-orient: vertical!important;
- }
-
- }
- }
- }
- @if variable-exists(show-border) {
- $uv-bordercolor: #dadbde;
- @if variable-exists(uv-border-color) {
- $uv-bordercolor: $uv-border-color;
- }
-
-
-
-
- @if variable-exists(show-border-surround) {
- .uv-border {
- border-width: 0.5px!important;
- border-color: $uv-bordercolor!important;
- border-style: solid;
- }
- }
- @if variable-exists(show-border-top) {
- .uv-border-top {
- border-top-width: 0.5px!important;
- border-color: $uv-bordercolor!important;
- border-top-style: solid;
- }
- }
- @if variable-exists(show-border-left) {
- .uv-border-left {
- border-left-width: 0.5px!important;
- border-color: $uv-bordercolor!important;
- border-left-style: solid;
- }
- }
- @if variable-exists(show-border-right) {
- .uv-border-right {
- border-right-width: 0.5px!important;
- border-color: $uv-bordercolor!important;
- border-right-style: solid;
- }
- }
- @if variable-exists(show-border-bottom) {
- .uv-border-bottom {
- border-bottom-width: 0.5px!important;
- border-color: $uv-bordercolor!important;
- border-bottom-style: solid;
- }
- }
- @if variable-exists(show-border-top-bottom) {
- .uv-border-top-bottom {
- border-top-width: 0.5px!important;
- border-bottom-width: 0.5px!important;
- border-color: $uv-bordercolor!important;
- border-top-style: solid;
- border-bottom-style: solid;
- }
- }
- }
- @if variable-exists(show-reset-button) {
-
- .uv-reset-button {
- padding: 0;
- background-color: transparent;
-
- font-size: inherit;
- line-height: inherit;
- color: inherit;
-
-
- border-width: 0;
-
- }
-
- .uv-reset-button::after {
- border: none;
- }
-
- }
- @if variable-exists(show-hover) {
- .uv-hover-class {
- opacity: 0.7;
- }
- }
|