上传文件至 src/assets
This commit is contained in:
183
src/assets/common.css
Normal file
183
src/assets/common.css
Normal file
@ -0,0 +1,183 @@
|
||||
@charset "utf-8";
|
||||
|
||||
body {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.inputtable {
|
||||
border-collapse: separate;
|
||||
border-spacing: 0px 5px;
|
||||
width: 800px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
table.inputtable td {
|
||||
background: #f1f6fc;
|
||||
padding: 10px;
|
||||
border: 1px solid #258;
|
||||
}
|
||||
|
||||
table.inputtable td:nth-child(1) {
|
||||
background: #5d83aa;
|
||||
color: #fff;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
table.outputtable {
|
||||
width: auto;
|
||||
border-spacing: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
table.outputtable th {
|
||||
color: #fff;
|
||||
padding: 8px 15px;
|
||||
background: #258;
|
||||
background: -moz-linear-gradient(
|
||||
rgba(34, 85, 136, 0.7),
|
||||
rgba(34, 85, 136, 0.9) 50%
|
||||
);
|
||||
background: -webkit-gradient(
|
||||
linear,
|
||||
100% 0%,
|
||||
100% 50%,
|
||||
from(rgba(34, 85, 136, 0.7)),
|
||||
to(rgba(34, 85, 136, 0.9))
|
||||
);
|
||||
font-weight: bold;
|
||||
border-left: 1px solid #258;
|
||||
border-top: 1px solid #258;
|
||||
border-bottom: 1px solid #258;
|
||||
line-height: 120%;
|
||||
text-align: center;
|
||||
text-shadow: 0 -1px 0 rgba(34, 85, 136, 0.9);
|
||||
box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;
|
||||
}
|
||||
|
||||
table.outputtable th:first-child {
|
||||
border-radius: 5px 0 0 0;
|
||||
}
|
||||
|
||||
table.outputtable th:last-child {
|
||||
border-radius: 0 5px 0 0;
|
||||
border-right: 1px solid #258;
|
||||
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1),
|
||||
0px 1px 1px rgba(255, 255, 255, 0.3) inset;
|
||||
}
|
||||
|
||||
table.outputtable tr td {
|
||||
padding: 8px 15px;
|
||||
border-bottom: 1px solid #84b2e0;
|
||||
border-left: 1px solid #84b2e0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table.outputtable tr td:last-child {
|
||||
border-right: 1px solid #84b2e0;
|
||||
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
table.outputtable tr {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
table.outputtable tr:nth-child(2n + 1) {
|
||||
background: #f1f6fc;
|
||||
}
|
||||
|
||||
table.outputtable tr:last-child td {
|
||||
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
table.outputtable tr:last-child td:first-child {
|
||||
border-radius: 0 0 0 5px;
|
||||
}
|
||||
|
||||
table.outputtable tr:last-child td:last-child {
|
||||
border-radius: 0 0 5px 0;
|
||||
}
|
||||
|
||||
table.outputtable tr:hover {
|
||||
background: #bbd4ee;
|
||||
cursor: pointer;
|
||||
}
|
||||
.cp_navi {
|
||||
background-color: #aec9f0;
|
||||
border: 1px solid #000000;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
|
||||
color: #ffffff;
|
||||
display: block;
|
||||
margin: 1em 1%;
|
||||
overflow: hidden;
|
||||
width: 80%;
|
||||
}
|
||||
.cp_navi ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.cp_navi ul li {
|
||||
display: inline-block;
|
||||
list-style-type: none;
|
||||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.cp_navi > ul > li > a > .caret {
|
||||
border-top: 4px solid #aaaaaa;
|
||||
border-right: 4px solid transparent;
|
||||
border-left: 4px solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
height: 0;
|
||||
width: 0;
|
||||
vertical-align: middle;
|
||||
-webkit-transition: color 0.1s linear;
|
||||
transition: color 0.1s linear;
|
||||
}
|
||||
.cp_navi > ul > li > a {
|
||||
color: #000000;
|
||||
display: block;
|
||||
line-height: 56px;
|
||||
padding: 0 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.cp_navi > ul > li:hover {
|
||||
background-color: #5d83aa;
|
||||
}
|
||||
.cp_navi > ul > li:hover > a {
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
.cp_navi > ul > li:hover > a > .caret {
|
||||
border-top-color: rgb(255, 255, 255);
|
||||
}
|
||||
.cp_navi > ul > li > div {
|
||||
background-color: #5d83aa;
|
||||
border-top: 0;
|
||||
border-radius: 0 0 4px 4px;
|
||||
box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
|
||||
display: none;
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
width: 165px;
|
||||
visibility: hidden;
|
||||
-webkit-transiton: opacity 0.2s;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
.cp_navi > ul > li:hover > div {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
.cp_navi > ul > li > div ul > li {
|
||||
display: block;
|
||||
}
|
||||
.cp_navi > ul > li > div ul > li > a {
|
||||
color: #ffffff;
|
||||
display: block;
|
||||
padding: 12px 24px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.cp_navi > ul > li > div ul > li:hover > a {
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
Reference in New Issue
Block a user