123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- //文字相关样式
- .text-shadow {
- /* #ifndef APP-NVUE */
- text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
-
- &-deep {
- text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
- }
- /* #endif */
- }
- .text-indent {
- /* #ifndef APP-NVUE */
- text-indent: 2em;
-
- &-1 {
- text-indent: 1em;
- }
- &-2 {
- text-indent: 2em;
- }
- &-3 {
- text-indent: 3em;
- }
- &-3 {
- text-indent: 3em;
- }
- &-none {
- text-indent: 0;
- }
- /* #endif */
- }
- .text-overflow {
- &-ellipsis {
- text-overflow: ellipsis;
- }
- }
- .text-italic {
- font-style: italic;
- }
- .text-bold {
- font-weight: 700 !important;
- }
- .text-bolder {
- font-weight: bolder !important;
- }
- .text-light {
- font-weight: 300 !important;
- }
- .text-lowercase {
- text-transform: lowercase !important;
- }
- .text-uppercase {
- text-transform: uppercase !important;
- }
- .text-capitalize {
- text-transform: capitalize !important;
- }
- .text-left {
- text-align: left !important;
- }
- .text-right {
- text-align: right !important;
- }
- .text-center {
- text-align: center !important;
- }
- .text-lines {
- &-1 {
- lines: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- /* #ifndef APP-NVUE */
- display: block;
- white-space: nowrap;
- /* #endif */
- }
- &-2 {
- overflow: hidden;
- /* #ifdef APP-NVUE */
- lines: 2;
- text-overflow: ellipsis;
- /* #endif */
- /* #ifndef APP-NVUE */
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- /* #endif */
- }
- &-3 {
- overflow: hidden;
- /* #ifdef APP-NVUE */
- lines: 3;
- text-overflow: ellipsis;
- /* #endif */
- /* #ifndef APP-NVUE */
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- /* #endif */
- }
- &-4 {
- overflow: hidden;
- /* #ifdef APP-NVUE */
- lines: 4;
- text-overflow: ellipsis;
- /* #endif */
- /* #ifndef APP-NVUE */
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 4;
- /* #endif */
- }
- &-5 {
- overflow: hidden;
- /* #ifdef APP-NVUE */
- lines: 5;
- text-overflow: ellipsis;
- /* #endif */
- /* #ifndef APP-NVUE */
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 5;
- /* #endif */
- }
- &-6 {
- overflow: hidden;
- /* #ifdef APP-NVUE */
- lines: 6;
- text-overflow: ellipsis;
- /* #endif */
- /* #ifndef APP-NVUE */
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 6;
- /* #endif */
- }
- }
- .text {
- &-none-decoration {
- text-decoration: none;
- }
- &-underline {
- text-decoration: underline;
- }
- &-line-through {
- text-decoration: line-through;
- }
- }
- .text-align {
- &-left {
- text-align: left;
- }
- &-center {
- text-align: center;
- }
- &-right {
- text-align: right;
- }
- }
|