添加窗口title和footer控件,并调整样式
This commit is contained in:
parent
c5500f93a5
commit
a54977bc05
|
@ -34,13 +34,29 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<body aria-label="">
|
<body aria-label="">
|
||||||
<!-- <div id="loader"></div> -->
|
<div id="deploycontainer" class="deploycontainer">
|
||||||
<h1>hello</h1>
|
<div class="header-drag-region" id="header-drag-region">
|
||||||
<div>
|
<div class="header-left" style="float: left;">
|
||||||
<button class="prevStep" id="prevStep" ></button>
|
<div class="header-icon" id="header-icon"></div>
|
||||||
<button class="cancel" id="cancel" style="display:none"></button>
|
<div class="title" id="title">快速开发安装部署</div>
|
||||||
<button class="nextStep" id="nextStep" type="submit"></button>
|
</div>
|
||||||
<button id="justfortest" style="width: 100px; height: 50px;">Click me</button>
|
<div class="header-right" id="header-right" style="float: right;">
|
||||||
|
<div class="minw" id="minwBtn"></div>
|
||||||
|
<div class="headclose" id="closeBtn"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <div class="indicator" id="indicator">
|
||||||
|
|
||||||
|
</div> -->
|
||||||
|
<div class="footer">
|
||||||
|
<div class="helpLink" style="float: left;" ></div>
|
||||||
|
<div class="btn-group" style="float: right;">
|
||||||
|
<button class="prevStep" id="prevStep">上一步</button>
|
||||||
|
<button class="cancel" id="cancel" style="display:none"></button>
|
||||||
|
<button class="nextStep" id="nextStep" type="submit">下一步</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 179 B |
|
@ -0,0 +1,221 @@
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
font-family: "Segoe UI", "Helvetica Neue", "Helvetica", Arial, sans-serif;
|
||||||
|
background-color:transparent; /* 设置背景颜色和透明度 */
|
||||||
|
}
|
||||||
|
.deploycontainer {
|
||||||
|
width: 582px;
|
||||||
|
height: 486px;
|
||||||
|
/* 很重要,不然flex不生效 */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex: 1;
|
||||||
|
border-radius: 6px;
|
||||||
|
background-color: #333333;
|
||||||
|
}
|
||||||
|
.header-drag-region {
|
||||||
|
cursor: move;
|
||||||
|
height: 41px;
|
||||||
|
width: 582px;
|
||||||
|
border-bottom: 1px solid #1E1E1E;
|
||||||
|
box-sizing: border-box;
|
||||||
|
/* padding: 5px 2px 9px; */
|
||||||
|
-webkit-app-region: drag;
|
||||||
|
position:absolute;
|
||||||
|
width:100%;
|
||||||
|
top:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-drag-region,.footer{
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-right{
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#title {
|
||||||
|
display:flex;
|
||||||
|
text-align: center;
|
||||||
|
margin-left: 16px;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #fff;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 41px;
|
||||||
|
}
|
||||||
|
.minw {
|
||||||
|
-webkit-app-region: no-drag;
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-left:5px;
|
||||||
|
text-align: center;
|
||||||
|
background-position:center;
|
||||||
|
border-radius:1px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.minw:before{
|
||||||
|
margin-top:2px;
|
||||||
|
margin-right:1px;
|
||||||
|
display:inline-block;
|
||||||
|
justify-content:center;
|
||||||
|
align-content:center;
|
||||||
|
content: url(./minw.png);
|
||||||
|
border-radius:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.minw:hover {
|
||||||
|
background-color: rgb(216, 216, 216,0.5);
|
||||||
|
border-radius:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headclose {
|
||||||
|
-webkit-app-region: no-drag;
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-left:5px;
|
||||||
|
text-align: center;
|
||||||
|
background-position:center;
|
||||||
|
border-radius:1px;
|
||||||
|
}
|
||||||
|
.headclose:before{
|
||||||
|
margin-top:2px;
|
||||||
|
margin-right:1px;
|
||||||
|
display:inline-block;
|
||||||
|
justify-content:center;
|
||||||
|
align-content:center;
|
||||||
|
vertical-align: middle;
|
||||||
|
content: url(./close_white.png);
|
||||||
|
border-radius:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headclose:hover {
|
||||||
|
background-color: red;
|
||||||
|
border-radius:1px;
|
||||||
|
}
|
||||||
|
/*以下为footer区域*/
|
||||||
|
.footer {
|
||||||
|
height: 69px;
|
||||||
|
line-height: 69px;
|
||||||
|
border-top: solid 1px #000;
|
||||||
|
position:absolute;
|
||||||
|
bottom:0px;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.helpLink{
|
||||||
|
margin-top:40px;
|
||||||
|
margin-left:5px;
|
||||||
|
display:inline-block;
|
||||||
|
text-align: center;
|
||||||
|
background-color:rgb(216, 216, 216,0.15);
|
||||||
|
width: 22px;
|
||||||
|
height: 22px;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 26px;
|
||||||
|
cursor: default;
|
||||||
|
border-radius:4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helpLink:before{
|
||||||
|
content:'?';
|
||||||
|
font-weight: bold;
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helpLink:hover {
|
||||||
|
background-color: rgb(216, 216, 216,0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*button*/
|
||||||
|
/*next*/
|
||||||
|
button {
|
||||||
|
|
||||||
|
width:80px;
|
||||||
|
height:28px;
|
||||||
|
}
|
||||||
|
.btn-group {
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 24px;
|
||||||
|
}
|
||||||
|
.btn-group button {
|
||||||
|
background-color: #1177BB;
|
||||||
|
/* 蓝色背景 */
|
||||||
|
border: 1px solid #0e5483;
|
||||||
|
/* 蓝色边框 */
|
||||||
|
color: white;
|
||||||
|
/* 白色文本 */
|
||||||
|
/* padding: 8px 18px; */
|
||||||
|
/* 一些填充 */
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 13px;
|
||||||
|
/* 指针/手形图标 */
|
||||||
|
/* width: 55px; */
|
||||||
|
}
|
||||||
|
.dark .btn-group button {
|
||||||
|
background-color: #0E639C;
|
||||||
|
/* 蓝色背景 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 清除浮动(clearfix hack)*/
|
||||||
|
.btn-group:after {
|
||||||
|
content: "";
|
||||||
|
clear: both;
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group button:not(:last-child) {
|
||||||
|
border-right: none;
|
||||||
|
/* 防止双边框 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 悬停时添加背景色 */
|
||||||
|
.btn-group button:hover {
|
||||||
|
background-color: #0E639C;
|
||||||
|
border-radius: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button#nextStep:disabled
|
||||||
|
{
|
||||||
|
background-color: #1177BB;
|
||||||
|
opacity: 0.5;
|
||||||
|
border-radius: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*上一步按钮*/
|
||||||
|
|
||||||
|
button#prevStep {
|
||||||
|
background-color:transparent;
|
||||||
|
border:1px solid #686868;
|
||||||
|
border-radius: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button#prevStep:hover{
|
||||||
|
background-color:transparent;
|
||||||
|
border:1px solid #BBBBBB;
|
||||||
|
border-radius: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button#prevStep:disabled
|
||||||
|
{
|
||||||
|
background-color:transparent;
|
||||||
|
border-color: #686868;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* .dark .footer {
|
||||||
|
border-top: solid 1px #cccccc;
|
||||||
|
} */
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 133 B |
Loading…
Reference in New Issue