123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- /* color start*/
- .tui-primary {
- background: #5677fc !important;
- color: #fff;
- }
- .tui-danger {
- background: #EB0909 !important;
- color: #fff;
- }
- .tui-red {
- background: #e41f19 !important;
- color: #fff;
- }
- .tui-warning {
- background: #ff7900 !important;
- color: #fff;
- }
- .tui-green {
- background: #19be6b !important;
- color: #fff;
- }
- .tui-white {
- background: #fff !important;
- color: #333 !important;
- }
- .tui-gray {
- background: #ededed !important;
- color: #999 !important;
- }
- .tui-hover-gray {
- background: #f7f7f9 !important;
- }
- /* color end*/
- /* button start*/
- .tui-btn {
- width: 100%;
- position: relative;
- border: 0 !important;
- border-radius: 10rpx;
- display: inline-block;
- }
- .tui-btn::after {
- content: "";
- position: absolute;
- width: 200%;
- height: 200%;
- -webkit-transform-origin: 0 0;
- transform-origin: 0 0;
- -webkit-transform: scale(0.5, 0.5);
- transform: scale(0.5, 0.5);
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- left: 0;
- top: 0;
- border-radius: 20rpx;
- }
- .tui-btn-block {
- font-size: 36rpx;
- height: 90rpx;
- line-height: 90rpx;
- }
- .tui-white::after {
- border: 1px solid #eaeef1;
- }
- .tui-white-hover {
- background: #e5e5e5 !important;
- color: #2e2e2e !important;
- }
- .tui-dark-disabled {
- opacity: 0.6;
- color: #fafbfc !important;
- }
- .tui-outline-hover {
- opacity: 0.5;
- }
- .tui-primary-hover {
- background: #4a67d6 !important;
- color: #e5e5e5 !important;
- }
- .tui-primary-outline::after {
- border: 1px solid #5677fc !important;
- }
- .tui-primary-outline {
- color: #5677fc !important;
- background: none;
- }
- .tui-danger-hover {
- background: #c80808 !important;
- color: #e5e5e5 !important;
- }
- .tui-danger-outline {
- color: #EB0909 !important;
- background: none;
- }
- .tui-danger-outline::after {
- border: 1px solid #EB0909 !important;
- }
- .tui-red-hover {
- background: #c51a15 !important;
- color: #e5e5e5 !important;
- }
- .tui-red-outline {
- color: #e41f19 !important;
- background: none;
- }
- .tui-red-outline::after {
- border: 1px solid #e41f19 !important;
- }
- .tui-warning-hover {
- background: #e56d00 !important;
- color: #e5e5e5 !important;
- }
- .tui-warning-outline {
- color: #ff7900 !important;
- background: none;
- }
- .tui-warning-outline::after {
- border: 1px solid #ff7900 !important;
- }
- .tui-green-hover {
- background: #16ab60 !important;
- color: #e5e5e5 !important;
- }
- .tui-green-outline {
- color: #44cf85 !important;
- background: none;
- }
- .tui-green-outline::after {
- border: 1px solid #44cf85 !important;
- }
- .tui-gray-hover {
- background: #d5d5d5 !important;
- color: #898989;
- }
- .tui-gray-outline, .tui-white-outline {
- color: #999 !important;
- background: none !important;
- }
- .tui-gray-outline::after, .tui-white-outline::after {
- border: 1px solid #ccc !important;
- }
- /*圆角 */
- .tui-fillet {
- border-radius: 45rpx;
- }
- .tui-white.tui-fillet::after {
- border-radius: 90rpx;
- }
- .tui-outline-fillet::after {
- border-radius: 90rpx;
- }
- /*渐变 */
- .tui-gradual {
- background: linear-gradient(-90deg, #5677fc, #5c8dff);
- border-radius: 45rpx;
- color: #fff;
- }
- .tui-gradual-hover {
- color: #d5d4d9 !important;
- background: linear-gradient(-90deg, #4a67d6, #4e77d9);
- }
- .btn-gradual-disabled {
- color: #fafbfc !important;
- border-radius: 45rpx;
- background: linear-gradient(-90deg, #cad8fb, #c9d3fb);
- }
- /*不同尺寸 */
- .tui-btn-mini {
- width: auto;
- font-size: 30rpx;
- height: 70rpx;
- line-height: 70rpx;
- }
- .tui-btn-small {
- width: auto;
- font-size: 30rpx;
- height: 60rpx;
- line-height: 60rpx;
- }
- /* button end*/
|