Files
ulthon_admin/public/static/common/css/theme/_win7.scss
2022-07-04 18:37:29 +08:00

259 lines
6.8 KiB
SCSS

& {
color : #222;
background-color: #f0f0f0;
}
.layui-btn {
background : linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
border : 1.5px solid #888;
border-radius: 3px;
box-shadow : inset 0 -1px 1px hsla(0, 0%, 100%, .8), inset 0 1px 1px #fff;
box-sizing : border-box;
color : #222;
&:hover {
background : linear-gradient(180deg, #e5f4fd 45%, #b3e0f9 0);
border-color: #72a2c5;
}
}
.layui-layer-easy .layui-layer-btn a {
@extend .layui-btn;
color: #222 !important;
height : 26px;
line-height: 26px;
font-size : 12px;
}
.layui-layer-title {
background : linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4 !important;
border : 1px solid rgba(0, 0, 0, .6);
border-radius : 6px 6px 0 0;
// box-shadow : inset 0 0 .5px .5px #fff;
height : 27px;
line-height: 27px;
color : #000 !important;
letter-spacing: 0;
font-size : 12px;
text-shadow : 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
padding: 0 80px 0 8px;
border : 0;
box-shadow: inset 0 .5px #fff;
}
.layui-layer-easy .layui-layer-title~.layui-layer-setwin {
height: 27px !important;
top : 1px;
}
.layui-layer-easy .layui-layer-title~.layui-layer-setwin>a {
height : 20px !important;
line-height: 20px !important;
background : linear-gradient(hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, .3) 45%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .1) 75%, hsla(0, 0%, 100%, .5)) !important;
border : 0;
border-radius : 0;
border-bottom-right-radius: 0px;
border-right : 1px solid rgba(0, 0, 0, .6);
box-shadow : inset 0 0 0 .5px #eee;
box-sizing : border-box;
padding : 0;
position: relative;
margin-left: 0;
min-width : 26px;
text-align: center;
&::after {
position: relative;
}
&:hover {
background: radial-gradient(circle at 50% 100%, #2aceda, transparent 60%), linear-gradient(#a9d2e8 50%, #196c9b 0) !important;
}
&:last-child {
border : 0;
border-bottom-right-radius: 5px;
}
&:first-child {
border-bottom-left-radius: 5px;
}
&.layui-layer-close1 {
background-color: #d04a37 !important;
min-width : 45px !important;
&:hover {
filter : contrast(1.3);
background-image: linear-gradient(hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, .3) 45%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .1) 75%, hsla(0, 0%, 100%, .5)) !important;
}
}
}
.layui-layer-dialog {
border-radius: 20px;
}
.layui-layer-iframe {
border-radius: 20px;
}
.layui-layer {
.layui-layer-content {
background : #f0f0f0;
border : 1px solid rgba(0, 0, 0, .6);
box-shadow : 0 -1px 1px .5px #fff;
margin : 0 6px 0 6px;
padding : 6px;
border-bottom-width: 0;
}
&::before {
background : linear-gradient(transparent 20%, hsla(0, 0%, 100%, .7) 40%, transparent 41%), linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4;
border-radius: 6px;
content : "";
height : 100%;
position : absolute;
width : 100%;
z-index : -1;
}
&.layui-layer-iframe {
&::before {
height: calc(100% + 20px);
}
}
}
.layui-layer-easy .layui-layer-btn {
background: #f0f0f0;
border : 1px solid rgba(0, 0, 0, .6);
box-shadow: 0 0 1px .5px #fff;
margin : 0 6px 6px;
padding : 6px;
border-top: 0;
text-align: right !important;
}
.layui-card {
border : 1px solid rgba(0, 0, 0, .6);
border-radius: 6px;
box-shadow : 0 0 5px 1px rgba(0, 0, 0, .6);
font : 9pt Segoe UI, sans-serif;
position : relative;
z-index : 0;
&::before {
background : linear-gradient(transparent 20%, hsla(0, 0%, 100%, .7) 40%, transparent 41%), linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4;
border-radius: 6px;
content : "";
height : 100%;
position : absolute;
width : 100%;
z-index : -1;
}
.layui-card-header {
align-items : center;
background : linear-gradient(90deg, hsla(0, 0%, 100%, .4), rgba(0, 0, 0, .1), hsla(0, 0%, 100%, .2)), linear-gradient(55deg, transparent, rgba(0, 0, 0, .1) 20%, rgba(0, 0, 0, .1) 50%, transparent 53%), #4580c4;
border-radius : 6px 6px 0 0;
font : 9pt Segoe UI, sans-serif;
justify-content: space-between;
padding : 6px;
border : 0;
box-shadow : inset 0 .5px #fff;
height : 15px;
color : #000;
letter-spacing: 0;
line-height : 15px;
text-shadow : 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
}
.layui-card-body {
background: #f0f0f0;
border : 1px solid rgba(0, 0, 0, .6);
box-shadow: 0 0 1px .5px #fff;
margin : 0 6px 6px;
padding : 6px;
}
}
.layui-tab-title {
height : 24px;
display : flex;
list-style-type: none;
margin : 0 0 -2px;
padding-left : 3px;
position : relative;
text-indent : 0;
}
.layui-tab-title li {
border-radius : 0;
color : #222;
min-width : unset;
padding : 2px 6px;
text-decoration: none;
z-index : 1;
font-size : 12px;
height : 24px;
line-height : 20px;
@extend .layui-btn;
&::after {
display: none;
}
&.layui-this {
background : #fff;
border-bottom : 0;
box-shadow : none;
margin : -2px -1px 1px -3px;
padding-bottom: 4px;
position : relative;
z-index : 8;
}
}
.layui-tab-brief>.layui-tab-title .layui-this {
color: #222;
}
.layui-tab-content {
background-color: #fff;
border : 1px solid #888;
}
.layuimini-tab>.layui-tab-title li,
.layuimini-tab>.close-box li {
line-height: 20px !important;
margin-top: 3px;
}