mirror of
https://github.com/201206030/novel-plus.git
synced 2025-06-24 04:46:37 +00:00
文件夹结构调整,新增模版自定义功能
This commit is contained in:
239
templates/orange/static/javascript/need/layer.css
Normal file
239
templates/orange/static/javascript/need/layer.css
Normal file
@ -0,0 +1,239 @@
|
||||
.layermbox {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 19891014
|
||||
}
|
||||
|
||||
.layermmain, .laymshade {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%
|
||||
}
|
||||
|
||||
.layermbtn span, .layermchild {
|
||||
display: inline-block;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.laymshade {
|
||||
background-color: rgba(0, 0, 0, .5);
|
||||
pointer-events: auto
|
||||
}
|
||||
|
||||
.layermmain {
|
||||
display: table;
|
||||
font-family: Helvetica, arial, sans-serif;
|
||||
pointer-events: none
|
||||
}
|
||||
|
||||
.layermmain .section {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
.layermchild {
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
font-size: 14px;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, .1);
|
||||
pointer-events: auto;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
-webkit-animation-duration: .18s;
|
||||
animation-duration: .18s
|
||||
}
|
||||
|
||||
.layermborder {
|
||||
border: 1px solid #999
|
||||
}
|
||||
|
||||
@-webkit-keyframes bounceIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: scale(.5);
|
||||
transform: scale(.5)
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
.layermanim {
|
||||
animation-name: bounceIn;
|
||||
-webkit-animation-name: bounceIn
|
||||
}
|
||||
|
||||
.layermbox0 .layermchild {
|
||||
max-width: 260px;
|
||||
min-width: 150px
|
||||
}
|
||||
|
||||
.layermbox1 .layermchild {
|
||||
border: none;
|
||||
border-radius: 0
|
||||
}
|
||||
|
||||
.layermbox2 .layermchild {
|
||||
width: auto;
|
||||
max-width: 260px;
|
||||
min-width: 40px;
|
||||
border: none;
|
||||
background-color: rgba(0, 0, 0, .6);
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.layermchild h3 {
|
||||
padding: 0 45px 0 10px;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
border-radius: 5px 5px 0 0;
|
||||
border-bottom: 1px solid #EBEBEB
|
||||
}
|
||||
|
||||
.layermbtn span, .layermchild h3 {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap
|
||||
}
|
||||
|
||||
.layermcont {
|
||||
padding: 20px 15px;
|
||||
line-height: 22px;
|
||||
border-radius: 5px
|
||||
}
|
||||
|
||||
.layermbox1 .layermcont {
|
||||
padding: 0
|
||||
}
|
||||
|
||||
.layermbox2 .layermcont {
|
||||
text-align: center;
|
||||
padding: 30px 30px 0;
|
||||
line-height: 0
|
||||
}
|
||||
|
||||
.layermbox2 .layermcont i {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
margin-left: 8px;
|
||||
display: inline-block;
|
||||
background-color: #fff;
|
||||
border-radius: 100%;
|
||||
-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
|
||||
animation: bouncedelay 1.4s infinite ease-in-out;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both
|
||||
}
|
||||
|
||||
@-webkit-keyframes bouncedelay {
|
||||
0%, 100%, 80% {
|
||||
-webkit-transform: scale(0)
|
||||
}
|
||||
40% {
|
||||
-webkit-transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes bouncedelay {
|
||||
0%, 100%, 80% {
|
||||
transform: scale(0);
|
||||
-webkit-transform: scale(0)
|
||||
}
|
||||
40% {
|
||||
transform: scale(1);
|
||||
-webkit-transform: scale(1)
|
||||
}
|
||||
}
|
||||
|
||||
.layermbox2 .layermcont i:first-child {
|
||||
margin-left: 0;
|
||||
-webkit-animation-delay: -.32s;
|
||||
animation-delay: -.32s
|
||||
}
|
||||
|
||||
.layermbox2 .layermcont i.laymloadtwo {
|
||||
-webkit-animation-delay: -.16s;
|
||||
animation-delay: -.16s
|
||||
}
|
||||
|
||||
.layermbox2 .layermcont > div {
|
||||
line-height: 22px;
|
||||
padding-top: 7px;
|
||||
margin-bottom: 20px;
|
||||
font-size: 14px
|
||||
}
|
||||
|
||||
.layermbtn {
|
||||
position: relative;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
font-size: 0;
|
||||
text-align: center;
|
||||
border-top: 1px solid #EBEBEB
|
||||
}
|
||||
|
||||
.layermbtn span {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
border-radius: 0 5px 0 0
|
||||
}
|
||||
|
||||
.layermbtn span:first-child {
|
||||
height: 39px;
|
||||
background-color: #fff;
|
||||
border-radius: 0 0 0 5px
|
||||
}
|
||||
|
||||
.layermbtn:before {
|
||||
content: '\20';
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 39px;
|
||||
left: 50%;
|
||||
top: 0;
|
||||
background-color: #EBEBEB
|
||||
}
|
||||
|
||||
.layermend {
|
||||
position: absolute;
|
||||
right: 7px;
|
||||
top: 10px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 0;
|
||||
font-weight: 400;
|
||||
background: 0 0;
|
||||
cursor: pointer;
|
||||
-webkit-appearance: none;
|
||||
font-size: 30px
|
||||
}
|
||||
|
||||
.layermend::after, .layermend::before {
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: 13px;
|
||||
content: '';
|
||||
width: 20px;
|
||||
height: 2px;
|
||||
background-color: rgba(0, 0, 0, .3);
|
||||
transform: rotate(45deg);
|
||||
-webkit-transform: rotate(45deg);
|
||||
border-radius: 3px
|
||||
}
|
||||
|
||||
.layermend::after {
|
||||
transform: rotate(-45deg);
|
||||
-webkit-transform: rotate(-45deg)
|
||||
}
|
Reference in New Issue
Block a user