& { 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-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; }