🐛修复: 为独立主键引入 public.less

This commit is contained in:
就眠儀式 2022-04-24 13:37:10 +08:00
parent 3f3af254af
commit a620b62ab4
61 changed files with 526 additions and 166 deletions

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-avatar { .layui-avatar {
box-sizing: border-box; box-sizing: border-box;

View File

@ -1 +1,2 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
/** backtop **/ /** backtop **/
@width: 50px; @width: 50px;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-badge, .layui-badge,
.layui-badge-dot, .layui-badge-dot,

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-body { .layui-body {
display: block; display: block;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-breadcrumb { .layui-breadcrumb {
font-size: 0; font-size: 0;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
:root { :root {
--button-primary-text-color: #fff; --button-primary-text-color: #fff;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-btn-container { .layui-btn-container {
font-size: 0; font-size: 0;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@button-primary-color: @global-primary-color; @button-primary-color: @global-primary-color;
@button-border-radius: @global-border-radius; @button-border-radius: @global-border-radius;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
:root { :root {
--card-border-radius: var(--global-border-radius); --card-border-radius: var(--global-border-radius);

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-carousel { .layui-carousel {
position: relative; position: relative;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-form-checkbox { .layui-form-checkbox {
position: relative; position: relative;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-collapse { .layui-collapse {
border-width: 1px; border-width: 1px;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-color-picker { .layui-color-picker {
position: relative; position: relative;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-container { .layui-container {
position: relative; position: relative;

View File

@ -1,160 +1,461 @@
/** 图标字体 **/ @import (reference) "../../theme/variable.less";
@font-face {font-family: 'laydate-icon'; @import (reference) "../../theme/public.less";
src: url('./font/iconfont.eot');
src: url('./font/iconfont.eot#iefix') format('embedded-opentype'), @font-face {
url('./font/iconfont.svg#iconfont') format('svg'), font-family: "laydate-icon";
url('./font/iconfont.woff') format('woff'), src: url("./font/iconfont.eot");
url('./font/iconfont.ttf') format('truetype'); src: url("./font/iconfont.eot#iefix") format("embedded-opentype"),
url("./font/iconfont.svg#iconfont") format("svg"),
url("./font/iconfont.woff") format("woff"),
url("./font/iconfont.ttf") format("truetype");
}
.laydate-icon {
font-family: "laydate-icon" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html #layuicss-laydate {
display: none;
position: absolute;
width: 1989px;
}
/* 初始化 */
.layui-laydate * {
margin: 0;
padding: 0;
}
/* 主体结构 */
.layui-laydate,
.layui-laydate * {
box-sizing: border-box;
}
.layui-laydate {
z-index: 66666666;
border-radius: 2px;
font-size: 14px;
-webkit-animation-duration: 0.2s;
animation-duration: 0.2s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.layui-laydate-main {
width: 272px;
}
.layui-laydate-header *,
.layui-laydate-content td,
.layui-laydate-list li {
transition-duration: 0.3s;
-webkit-transition-duration: 0.3s;
}
/* 微微往下滑入 */
@keyframes laydate-downbit {
0% {
opacity: 0.3;
transform: translate3d(0, -5px, 0);
} }
100% {
.laydate-icon{ opacity: 1;
font-family:"laydate-icon" !important; transform: translate3d(0, 0, 0);
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
} }
}
html #layuicss-laydate{display: none; position: absolute; width: 1989px;}
.layui-laydate {
/* 初始化 */ animation-name: laydate-downbit;
.layui-laydate *{margin: 0; padding: 0;} }
.layui-laydate-static {
/* 主体结构 */ position: relative;
.layui-laydate, .layui-laydate *{box-sizing: border-box;} z-index: 0;
.layui-laydate{ z-index: 66666666; border-radius: 2px; font-size: 14px; -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both;} display: inline-block;
.layui-laydate-main{width: 272px;} margin: 0;
.layui-laydate-header *, -webkit-animation: none;
.layui-laydate-content td, animation: none;
.layui-laydate-list li{transition-duration: .3s; -webkit-transition-duration: .3s;} }
/* 微微往下滑入 */ /* 展开年月列表时 */
@keyframes laydate-downbit { .laydate-ym-show .laydate-prev-m,
0% {opacity: 0.3; transform: translate3d(0, -5px, 0);} .laydate-ym-show .laydate-next-m {
100% {opacity: 1; transform: translate3d(0, 0, 0);} display: none !important;
} }
.laydate-ym-show .laydate-prev-y,
.layui-laydate{animation-name: laydate-downbit;} .laydate-ym-show .laydate-next-y {
.layui-laydate-static{ position: relative; z-index: 0; display: inline-block; margin: 0; -webkit-animation: none; animation: none;} display: inline-block !important;
}
/* 展开年月列表时 */ .laydate-ym-show .laydate-set-ym span[lay-type="month"] {
.laydate-ym-show .laydate-prev-m, display: none !important;
.laydate-ym-show .laydate-next-m{display: none !important;} }
.laydate-ym-show .laydate-prev-y,
.laydate-ym-show .laydate-next-y{display: inline-block !important;} /* 展开时间列表时 */
.laydate-ym-show .laydate-set-ym span[lay-type="month"]{display: none !important;} .laydate-time-show .layui-laydate-header .layui-icon,
.laydate-time-show .laydate-set-ym span[lay-type="year"],
/* 展开时间列表时 */ .laydate-time-show .laydate-set-ym span[lay-type="month"] {
.laydate-time-show .layui-laydate-header .layui-icon, display: none !important;
.laydate-time-show .laydate-set-ym span[lay-type="year"], }
.laydate-time-show .laydate-set-ym span[lay-type="month"]{display: none !important;}
/* 头部结构 */
/* 头部结构 */ .layui-laydate-header {
.layui-laydate-header{position: relative; line-height:30px; padding: 10px 70px 5px;} position: relative;
.layui-laydate-header *{display: inline-block; vertical-align: bottom;} line-height: 30px;
.layui-laydate-header i{position: absolute; top: 10px; padding: 0 5px; color: #999; font-size: 18px; cursor: pointer;} padding: 10px 70px 5px;
.layui-laydate-header i.laydate-prev-y{left: 15px;} }
.layui-laydate-header i.laydate-prev-m{left: 45px;} .layui-laydate-header * {
.layui-laydate-header i.laydate-next-y{right: 15px;} display: inline-block;
.layui-laydate-header i.laydate-next-m{right: 45px;} vertical-align: bottom;
.laydate-set-ym{width: 100%; text-align: center; box-sizing: border-box; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;} }
.laydate-set-ym span{padding: 0 10px; cursor: pointer;} .layui-laydate-header i {
.laydate-time-text{cursor: default !important;} position: absolute;
top: 10px;
/* 主体结构 */ padding: 0 5px;
.layui-laydate-content{position: relative; padding: 10px; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;} color: #999;
.layui-laydate-content table{border-collapse: collapse; border-spacing: 0;} font-size: 18px;
.layui-laydate-content th, cursor: pointer;
.layui-laydate-content td{width: 36px; height: 30px; padding: 5px; text-align: center;} }
.layui-laydate-content th{font-weight: 400;} .layui-laydate-header i.laydate-prev-y {
.layui-laydate-content td{position: relative; cursor: pointer;} left: 15px;
.laydate-day-mark{position: absolute; left: 0; top: 0; width: 100%; line-height: 30px; font-size: 12px; overflow: hidden;} }
.laydate-day-mark::after{position: absolute; content:''; right: 2px; top: 2px; width: 5px; height: 5px; border-radius: 50%;} .layui-laydate-header i.laydate-prev-m {
left: 45px;
/* 底部结构 */ }
.layui-laydate-footer{position: relative; height: 46px; line-height: 26px; padding: 10px;} .layui-laydate-header i.laydate-next-y {
.layui-laydate-footer span{display: inline-block; vertical-align: top; height: 26px; line-height: 24px; padding: 0 10px; border: 1px solid #C9C9C9; border-radius: 2px; background-color: #fff; font-size: 12px; cursor: pointer; white-space: nowrap; transition: all .3s;} right: 15px;
.layui-laydate-footer span:hover{color: #5FB878;} }
.layui-laydate-footer span.layui-laydate-preview{cursor: default; border-color: transparent !important;} .layui-laydate-header i.laydate-next-m {
.layui-laydate-footer span.layui-laydate-preview:hover{color: #666;} right: 45px;
.layui-laydate-footer span:first-child.layui-laydate-preview{padding-left: 0;} }
.laydate-footer-btns{position: absolute; right: 10px; top: 10px;} .laydate-set-ym {
.laydate-footer-btns span{margin: 0 0 0 -1px;} width: 100%;
text-align: center;
/* 年月列表 */ box-sizing: border-box;
.layui-laydate-list{position: absolute; left: 0; top: 0; width: 100%; height: 100%; padding: 10px; box-sizing: border-box; background-color: #fff;} text-overflow: ellipsis;
.layui-laydate-list>li{position: relative; display: inline-block; width: 33.3%; height: 36px; line-height: 36px; margin: 3px 0; vertical-align: middle; text-align: center; cursor: pointer;} overflow: hidden;
.laydate-month-list>li{width: 25%; margin: 17px 0;} white-space: nowrap;
.laydate-time-list>li{height: 100%; margin: 0; line-height: normal; cursor: default;} }
.laydate-time-list p{position: relative; top: -4px; line-height: 29px;} .laydate-set-ym span {
.laydate-time-list ol{height: 181px; overflow: hidden;} padding: 0 10px;
.laydate-time-list>li:hover ol{overflow-y: auto;} cursor: pointer;
.laydate-time-list ol li{width: 130%; padding-left: 4px; height: 30px; line-height: 30px; text-align: left; cursor: pointer;} }
.laydate-time-text {
/* 提示 */ cursor: default !important;
.layui-laydate-hint{ top: 115px; left: 50%; width: 250px; margin-left: -125px; line-height: 20px; padding: 15px; text-align: center; font-size: 12px; color: #FF5722;} }
/* 主体结构 */
/* 双日历 */ .layui-laydate-content {
.layui-laydate-range{width: 546px;} position: relative;
.layui-laydate-range .layui-laydate-main{display: inline-block; vertical-align: middle;} padding: 10px;
.layui-laydate-range .laydate-main-list-1 .layui-laydate-header, -moz-user-select: none;
.layui-laydate-range .laydate-main-list-1 .layui-laydate-content{border-left: 1px solid #e2e2e2;} -webkit-user-select: none;
-ms-user-select: none;
}
/* 默认简约主题 */ .layui-laydate-content table {
.layui-laydate, .layui-laydate-hint{background-color: #fff; color: #666;} border-collapse: collapse;
.layui-laydate-header{border-bottom: 1px solid #e2e2e2;} border-spacing: 0;
.layui-laydate-header i:hover, }
.layui-laydate-header span:hover{color: #5FB878;} .layui-laydate-content th,
.layui-laydate-content{border-top: none 0; border-bottom: none 0;} .layui-laydate-content td {
.layui-laydate-content th{color: #333;} width: 36px;
.layui-laydate-content td{color: #666;} height: 30px;
.layui-laydate-content td.laydate-selected{background-color: #B5FFF8;} padding: 5px;
.laydate-selected:hover{background-color: #00F7DE !important;} text-align: center;
.layui-laydate-content td:hover, }
.layui-laydate-list li:hover{background-color: #eee; color: #333;} .layui-laydate-content th {
.laydate-time-list li ol{margin: 0; padding: 0; border: 1px solid #e2e2e2;} font-weight: 400;
.laydate-time-list li:first-child ol{border-left-width: 1px;} }
.laydate-time-list>li:hover{background: none;} .layui-laydate-content td {
.layui-laydate-content .laydate-day-prev, position: relative;
.layui-laydate-content .laydate-day-next{color: #d2d2d2;} cursor: pointer;
.laydate-selected.laydate-day-prev, }
.laydate-selected.laydate-day-next{background-color: #f8f8f8 !important;} .laydate-day-mark {
.layui-laydate-footer{border-top: 1px solid #e2e2e2;} position: absolute;
.layui-laydate-hint{color: #FF5722;} left: 0;
.laydate-day-mark::after{background-color: #5FB878;} top: 0;
.layui-laydate-content td.layui-this .laydate-day-mark::after{display: none;} width: 100%;
.layui-laydate-footer span[lay-type="date"]{color: #5FB878;} line-height: 30px;
.layui-laydate .layui-this{background-color: #009688 !important; color: #fff !important;} font-size: 12px;
.layui-laydate .laydate-disabled, overflow: hidden;
.layui-laydate .laydate-disabled:hover{background:none !important; color: #d2d2d2 !important; cursor: not-allowed !important; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;} }
.laydate-day-mark::after {
/* 墨绿/自定义背景色主题 */ position: absolute;
.laydate-theme-molv{border: none;} content: "";
.laydate-theme-molv.layui-laydate-range{width: 548px} right: 2px;
.laydate-theme-molv .layui-laydate-main{width: 274px;} top: 2px;
.laydate-theme-molv .layui-laydate-header{border: none; background-color: #009688;} width: 5px;
.laydate-theme-molv .layui-laydate-header i, height: 5px;
.laydate-theme-molv .layui-laydate-header span{color: #f6f6f6;} border-radius: 50%;
.laydate-theme-molv .layui-laydate-header i:hover, }
.laydate-theme-molv .layui-laydate-header span:hover{color: #fff;}
.laydate-theme-molv .layui-laydate-content{border: 1px solid #e2e2e2; border-top: none; border-bottom: none;} /* 底部结构 */
.laydate-theme-molv .laydate-main-list-1 .layui-laydate-content{border-left: none;} .layui-laydate-footer {
.laydate-theme-molv .layui-laydate-footer{border: 1px solid #e2e2e2;} position: relative;
height: 46px;
/* 格子主题 */ line-height: 26px;
.laydate-theme-grid .layui-laydate-content td, padding: 10px;
.laydate-theme-grid .layui-laydate-content thead, }
.laydate-theme-grid .laydate-year-list>li, .layui-laydate-footer span {
.laydate-theme-grid .laydate-month-list>li{border: 1px solid #e2e2e2;} display: inline-block;
.laydate-theme-grid .laydate-selected, vertical-align: top;
.laydate-theme-grid .laydate-selected:hover{background-color: #f2f2f2 !important; color: #009688 !important;} height: 26px;
.laydate-theme-grid .laydate-selected.laydate-day-prev, line-height: 24px;
.laydate-theme-grid .laydate-selected.laydate-day-next{color: #d2d2d2 !important;} padding: 0 10px;
.laydate-theme-grid .laydate-year-list, border: 1px solid #c9c9c9;
.laydate-theme-grid .laydate-month-list{margin: 1px 0 0 1px;} border-radius: 2px;
.laydate-theme-grid .laydate-year-list>li, background-color: #fff;
.laydate-theme-grid .laydate-month-list>li{margin: 0 -1px -1px 0;} font-size: 12px;
.laydate-theme-grid .laydate-year-list>li{height: 43px; line-height: 43px;} cursor: pointer;
.laydate-theme-grid .laydate-month-list>li{height: 71px; line-height: 71px;} white-space: nowrap;
transition: all 0.3s;
}
.layui-laydate-footer span:hover {
color: #5fb878;
}
.layui-laydate-footer span.layui-laydate-preview {
cursor: default;
border-color: transparent !important;
}
.layui-laydate-footer span.layui-laydate-preview:hover {
color: #666;
}
.layui-laydate-footer span:first-child.layui-laydate-preview {
padding-left: 0;
}
.laydate-footer-btns {
position: absolute;
right: 10px;
top: 10px;
}
.laydate-footer-btns span {
margin: 0 0 0 -1px;
}
/* 年月列表 */
.layui-laydate-list {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
padding: 10px;
box-sizing: border-box;
background-color: #fff;
}
.layui-laydate-list > li {
position: relative;
display: inline-block;
width: 33.3%;
height: 36px;
line-height: 36px;
margin: 3px 0;
vertical-align: middle;
text-align: center;
cursor: pointer;
}
.laydate-month-list > li {
width: 25%;
margin: 17px 0;
}
.laydate-time-list > li {
height: 100%;
margin: 0;
line-height: normal;
cursor: default;
}
.laydate-time-list p {
position: relative;
top: -4px;
line-height: 29px;
}
.laydate-time-list ol {
height: 181px;
overflow: hidden;
}
.laydate-time-list > li:hover ol {
overflow-y: auto;
}
.laydate-time-list ol li {
width: 130%;
padding-left: 4px;
height: 30px;
line-height: 30px;
text-align: left;
cursor: pointer;
}
/* 提示 */
.layui-laydate-hint {
top: 115px;
left: 50%;
width: 250px;
margin-left: -125px;
line-height: 20px;
padding: 15px;
text-align: center;
font-size: 12px;
color: #ff5722;
}
/* 双日历 */
.layui-laydate-range {
width: 546px;
}
.layui-laydate-range .layui-laydate-main {
display: inline-block;
vertical-align: middle;
}
.layui-laydate-range .laydate-main-list-1 .layui-laydate-header,
.layui-laydate-range .laydate-main-list-1 .layui-laydate-content {
border-left: 1px solid #e2e2e2;
}
/* 默认简约主题 */
.layui-laydate,
.layui-laydate-hint {
background-color: #fff;
color: #666;
}
.layui-laydate-header {
border-bottom: 1px solid #e2e2e2;
}
.layui-laydate-header i:hover,
.layui-laydate-header span:hover {
color: #5fb878;
}
.layui-laydate-content {
border-top: none 0;
border-bottom: none 0;
}
.layui-laydate-content th {
color: #333;
}
.layui-laydate-content td {
color: #666;
}
.layui-laydate-content td.laydate-selected {
background-color: #b5fff8;
}
.laydate-selected:hover {
background-color: #00f7de !important;
}
.layui-laydate-content td:hover,
.layui-laydate-list li:hover {
background-color: #eee;
color: #333;
}
.laydate-time-list li ol {
margin: 0;
padding: 0;
border: 1px solid #e2e2e2;
}
.laydate-time-list li:first-child ol {
border-left-width: 1px;
}
.laydate-time-list > li:hover {
background: none;
}
.layui-laydate-content .laydate-day-prev,
.layui-laydate-content .laydate-day-next {
color: #d2d2d2;
}
.laydate-selected.laydate-day-prev,
.laydate-selected.laydate-day-next {
background-color: #f8f8f8 !important;
}
.layui-laydate-footer {
border-top: 1px solid #e2e2e2;
}
.layui-laydate-hint {
color: #ff5722;
}
.laydate-day-mark::after {
background-color: #5fb878;
}
.layui-laydate-content td.layui-this .laydate-day-mark::after {
display: none;
}
.layui-laydate-footer span[lay-type="date"] {
color: #5fb878;
}
.layui-laydate .layui-this {
background-color: #009688 !important;
color: #fff !important;
}
.layui-laydate .laydate-disabled,
.layui-laydate .laydate-disabled:hover {
background: none !important;
color: #d2d2d2 !important;
cursor: not-allowed !important;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
/* 墨绿/自定义背景色主题 */
.laydate-theme-molv {
border: none;
}
.laydate-theme-molv.layui-laydate-range {
width: 548px;
}
.laydate-theme-molv .layui-laydate-main {
width: 274px;
}
.laydate-theme-molv .layui-laydate-header {
border: none;
background-color: #009688;
}
.laydate-theme-molv .layui-laydate-header i,
.laydate-theme-molv .layui-laydate-header span {
color: #f6f6f6;
}
.laydate-theme-molv .layui-laydate-header i:hover,
.laydate-theme-molv .layui-laydate-header span:hover {
color: #fff;
}
.laydate-theme-molv .layui-laydate-content {
border: 1px solid #e2e2e2;
border-top: none;
border-bottom: none;
}
.laydate-theme-molv .laydate-main-list-1 .layui-laydate-content {
border-left: none;
}
.laydate-theme-molv .layui-laydate-footer {
border: 1px solid #e2e2e2;
}
/* 格子主题 */
.laydate-theme-grid .layui-laydate-content td,
.laydate-theme-grid .layui-laydate-content thead,
.laydate-theme-grid .laydate-year-list > li,
.laydate-theme-grid .laydate-month-list > li {
border: 1px solid #e2e2e2;
}
.laydate-theme-grid .laydate-selected,
.laydate-theme-grid .laydate-selected:hover {
background-color: #f2f2f2 !important;
color: #009688 !important;
}
.laydate-theme-grid .laydate-selected.laydate-day-prev,
.laydate-theme-grid .laydate-selected.laydate-day-next {
color: #d2d2d2 !important;
}
.laydate-theme-grid .laydate-year-list,
.laydate-theme-grid .laydate-month-list {
margin: 1px 0 0 1px;
}
.laydate-theme-grid .laydate-year-list > li,
.laydate-theme-grid .laydate-month-list > li {
margin: 0 -1px -1px 0;
}
.laydate-theme-grid .laydate-year-list > li {
height: 43px;
line-height: 43px;
}
.laydate-theme-grid .laydate-month-list > li {
height: 71px;
line-height: 71px;
}

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-dropdown { .layui-dropdown {
position: relative; position: relative;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-empty { .layui-empty {
margin: 0 8px; margin: 0 8px;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-exception { .layui-exception {
.layui-exception-image { .layui-exception-image {

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@field-border-color: var(--field-border-color); @field-border-color: var(--field-border-color);
@field-border-radius: var(--field-border-radius); @field-border-radius: var(--field-border-radius);

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-footer { .layui-footer {
box-sizing: border-box; box-sizing: border-box;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-form-item { .layui-form-item {
margin-bottom: 20px; margin-bottom: 20px;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-fullscreen { .layui-fullscreen {
position: fixed; position: fixed;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-header { .layui-header {
box-sizing: border-box; box-sizing: border-box;

View File

@ -1 +1,2 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@icon-picker-border-radius: var(--icon-picker-border-radius); @icon-picker-border-radius: var(--icon-picker-border-radius);
@icon-picker-checked-color: var(--icon-picker-checked-color); @icon-picker-checked-color: var(--icon-picker-checked-color);

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@input-border-radius: var(--input-border-radius); @input-border-radius: var(--input-border-radius);
@input-border-color: var(--input-border-color); @input-border-color: var(--input-border-color);

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@border-color: #eee; @border-color: #eee;
@hover-border-color: @global-primary-color; @hover-border-color: @global-primary-color;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-keyboard-header { .layui-keyboard-header {
height: 40px; height: 40px;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-layout { .layui-layout {
flex: 1; flex: 1;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-line { .layui-line {
&-horizontal { &-horizontal {

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-logo { .layui-logo {
left: 0; left: 0;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-nav .layui-show.layui-anim-upbit .layui-show.layui-anim-upbit { .layui-nav .layui-show.layui-anim-upbit .layui-show.layui-anim-upbit {
top: 0px; top: 0px;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-laypage { .layui-laypage {
display: inline-block; display: inline-block;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@panel-border-color: var(--panel-border-color); @panel-border-color: var(--panel-border-color);
@panel-border-radius: var(--panel-border-radius); @panel-border-radius: var(--panel-border-radius);

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-progress { .layui-progress {
position: relative; position: relative;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@block-default-color: var(--block-default-color); @block-default-color: var(--block-default-color);
@block-border-radius: var(--block-border-radius); @block-border-radius: var(--block-border-radius);

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-form-radio, .layui-form-radio,
.layui-form-radio * { .layui-form-radio * {

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-rate, .layui-rate,
.layui-rate * { .layui-rate * {

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.result { .result {
text-align: center; text-align: center;

View File

@ -1,3 +1,6 @@
@import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-water-ripples-container { .layui-water-ripples-container {
position: relative; position: relative;
display: inline-block; display: inline-block;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-row:after, .layui-row:after,
.layui-row:before { .layui-row:before {

View File

@ -1,3 +1,6 @@
@import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.scrollbar-box { .scrollbar-box {
height: 100%; height: 100%;
overflow: hidden !important; overflow: hidden !important;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
dl.layui-anim-upbit > dd input[type="checkbox"] { dl.layui-anim-upbit > dd input[type="checkbox"] {
display: none; display: none;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-side { .layui-side {
overflow: auto; overflow: auto;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.lay-skeleton { .lay-skeleton {
.lay-skeleton-item { .lay-skeleton-item {

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
// 横向样式 // 横向样式
.layui-slider-v { .layui-slider-v {

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.lay-split-panel { .lay-split-panel {
height: 100%; height: 100%;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@width-height-pace: 24px; @width-height-pace: 24px;
@step-color: @step-success-color; @step-color: @step-success-color;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-form-switch { .layui-form-switch {
position: relative; position: relative;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-tab { .layui-tab {
margin: 10px 0; margin: 10px 0;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-table-col-special { .layui-table-col-special {
width: 34px; width: 34px;

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@textarea-border-radius: var(--textarea-border-radius); @textarea-border-radius: var(--textarea-border-radius);
@textarea-border-color: var(--textarea-border-color); @textarea-border-color: var(--textarea-border-color);

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-timeline { .layui-timeline {
padding-left: 5px; padding-left: 5px;

View File

@ -26,4 +26,4 @@ const timeLineClass = computed(() => [
<ul :class="timeLineClass"> <ul :class="timeLineClass">
<slot></slot> <slot></slot>
</ul> </ul>
</template> </template>

View File

@ -33,4 +33,4 @@ const props = defineProps<LayTimelineItemProps>();
<slot></slot> <slot></slot>
</div> </div>
</li> </li>
</template> </template>

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@transfer-box-border-radius: var(--transfer-box-border-radius); @transfer-box-border-radius: var(--transfer-box-border-radius);

View File

@ -1,4 +1,5 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
.layui-tree { .layui-tree {
line-height: 22px; line-height: 22px;

View File

@ -1,5 +1,7 @@
@import (reference) "../../theme/variable.less"; @import (reference) "../../theme/variable.less";
@import (reference) "../../theme/public.less";
@import "./cropper.min.css"; @import "./cropper.min.css";
.layui-upload-file { .layui-upload-file {
// display: none !important; // display: none !important;
opacity: 0.01; opacity: 0.01;
@ -93,9 +95,6 @@
cursor: not-allowed; cursor: not-allowed;
} }
.copper-container{
// width:1000px;
}
._lay_upload_img{ ._lay_upload_img{
display: block; display: block;
max-width: 100%; max-width: 100%;

View File

@ -317,6 +317,7 @@ const getUploadChange = (e: any) => {
setTimeout(() => { setTimeout(() => {
let _imgs = document.getElementsByClassName("_lay_upload_img"); let _imgs = document.getElementsByClassName("_lay_upload_img");
let _img = _imgs[0]; let _img = _imgs[0];
// @ts-ignore
_cropper = new Cropper(_img, { _cropper = new Cropper(_img, {
aspectRatio: 16 / 9, aspectRatio: 16 / 9,
}); });

View File

@ -739,4 +739,4 @@ a:hover {
.layui-anim-fadeout { .layui-anim-fadeout {
-webkit-animation-name: layui-fadeout; -webkit-animation-name: layui-fadeout;
animation-name: layui-fadeout; animation-name: layui-fadeout;
} }