1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- @for $i from 1 through 5 {
- .u-line-#{$i} {
-
-
- lines: $i;
- text-overflow: ellipsis;
- overflow: hidden;
-
-
-
-
- @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;
- }
-
- }
- }
-
-
- .u-border {
- border-width: 0.5px!important;
- border-color: $u-border-color!important;
- border-style: solid;
- }
-
- .u-border-top {
- border-top-width: 0.5px!important;
- border-color: $u-border-color!important;
- border-top-style: solid;
- }
- .u-border-left {
- border-left-width: 0.5px!important;
- border-color: $u-border-color!important;
- border-left-style: solid;
- }
- .u-border-right {
- border-right-width: 0.5px!important;
- border-color: $u-border-color!important;
- border-right-style: solid;
- }
-
- .u-border-bottom {
- border-bottom-width: 0.5px!important;
- border-color: $u-border-color!important;
- border-bottom-style: solid;
- }
- .u-border-top-bottom {
- border-top-width: 0.5px!important;
- border-bottom-width: 0.5px!important;
- border-color: $u-border-color!important;
- border-top-style: solid;
- border-bottom-style: solid;
- }
- .u-reset-button {
- padding: 0;
- background-color: transparent;
-
- font-size: inherit;
- line-height: inherit;
- color: inherit;
-
-
- border-width: 0;
-
- }
- .u-reset-button::after {
- border: none;
- }
- .u-hover-class {
- opacity: 0.7;
- }
|