Update onemoe.less

This commit is contained in:
Mr.Lin
2020-02-22 22:49:29 +08:00
committed by GitHub
parent 9a7e353ed7
commit c8df983860
+52 -32
View File
@@ -14,12 +14,16 @@
@color-wjjhv: rgba(137, 43, 226, 0.1); @color-wjjhv: rgba(137, 43, 226, 0.1);
@color-wjj-bg: rgba(204, 204, 204, 0.3); @color-wjj-bg: rgba(204, 204, 204, 0.3);
body { body {
background-color: @color-bg; // background-color: @color-bg;
// background-image: linear-gradient(45deg, #d9afd9 0%, #97d9e1 100%); background-color: #8ec5fc;
background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%);
min-height: 100vh;
margin: auto; margin: auto;
padding: 0 0.5rem;
max-width: 960px; max-width: 960px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center;
// background-color: @color-bg; // background-color: @color-bg;
// 管理 // 管理
a.login, a.login,
@@ -71,27 +75,31 @@ body {
div.operatediv { div.operatediv {
position: fixed; position: fixed;
background-color: #ddd; background-color: #ddd;
border: solid 1px @color-bs; border: solid 2px @color-bs;
box-shadow: 0 0 10px @color-bs; box-shadow: 0 0 10px @color-bt;
border-radius: 10px; border-radius: 2px;
div { div {
color: @color-bt;
font-size: 1.5rem;
display: flex; display: flex;
flex-direction: column;
padding: 1rem;
input[type="submit"],
a.operatediv_close { a.operatediv_close {
width: 20%; align-self: flex-end;
border: solid 1px @color-bs; width: auto;
border-radius: 10px; padding: 1px 5px;
margin: auto; margin: 5px 0;
border: solid 2px @color-bt;
border-radius: 2px;
text-align: center; text-align: center;
font-size: large; font-size: 1.5rem;
margin: auto 20px; color: @color-bt;
} &:hover {
a.operatediv_close:hover { background-color: @color-bt;
background-color: @color-bs;
cursor: pointer; cursor: pointer;
color: @color-bthv;
} }
center {
width: 70%;
// border: solid 1px @color-bs;
} }
} }
} }
@@ -100,21 +108,21 @@ body {
} }
// 升级提示 // 升级提示
div[style="position:absolute;"] { div[style="position:absolute;"] {
left: 50px; top: 2rem;
top: 20px;
background-color: yellow; background-color: yellow;
border-radius: 5px; border-radius: 2px;
padding: 5px; padding: 5px;
} }
// 标题 // 标题
h1.title { h1.title {
margin: auto; margin: auto;
font-size: 3rem; font-size: 3.5rem;
a { a {
font-family: Cursive; font-family: Cursive;
text-decoration: none; text-decoration: none;
color: rgb(50, 144, 231); color: rgb(50, 144, 231);
text-shadow: 2px 2px 5px #ccccff; text-shadow: 2px 2px 5px rgba(50, 144, 231, 0.5);
transition: 0.2s;
&:hover { &:hover {
text-shadow: none; text-shadow: none;
} }
@@ -131,7 +139,7 @@ body {
div.more-disk { div.more-disk {
a { a {
text-decoration: none; text-decoration: none;
border: solid 1px @color-bt; border: solid 2px @color-bt;
border-radius: 5px; border-radius: 5px;
font-weight: bold; font-weight: bold;
font-size: 1.2rem; font-size: 1.2rem;
@@ -143,6 +151,7 @@ body {
color: #fff; color: #fff;
background-color: @color-bt; background-color: @color-bt;
box-shadow: 0 0 5px @color-bt; box-shadow: 0 0 5px @color-bt;
transition: 0.2s;
} }
} }
} }
@@ -167,7 +176,7 @@ body {
div.list-wrapper#list-div { div.list-wrapper#list-div {
border-radius: 5px; border-radius: 5px;
border: solid 5px rgba(137, 43, 226, 0.2); border: solid 5px rgba(137, 43, 226, 0.2);
background-color: @color-wjj-bg; // background-color: @color-wjj-bg;
margin-top: 2rem; margin-top: 2rem;
font-size: 1.5rem; font-size: 1.5rem;
// 文件路径 // 文件路径
@@ -176,7 +185,7 @@ body {
border-bottom: dashed 1px rgba(59, 66, 107, 0.3); border-bottom: dashed 1px rgba(59, 66, 107, 0.3);
display: flex; display: flex;
align-items: center; align-items: center;
background-color: #eee; background-color: #e0c3fc98;
a.back-link { a.back-link {
margin-left: 2rem; margin-left: 2rem;
ion-icon { ion-icon {
@@ -209,9 +218,10 @@ body {
min-width: 100%; min-width: 100%;
tbody { tbody {
tr { tr {
color: #333;
background-color: @color-wjj; background-color: @color-wjj;
margin: 1rem; margin: 1rem;
border: solid 1px #ccc; border: solid 1px @color-bt;
border-radius: 5px; border-radius: 5px;
display: grid; display: grid;
grid-template-columns: 6fr 2fr 1fr; grid-template-columns: 6fr 2fr 1fr;
@@ -229,13 +239,18 @@ body {
display: none; display: none;
} }
} }
// 表头
&:first-of-type { &:first-of-type {
border: none; border: none;
background-color: #cccccc00; background-color: #cccccc00;
margin: 0 1.5rem;
}
&:nth-of-type(2) {
margin-top: 0;
} }
&:not(:first-of-type):hover { &:not(:first-of-type):hover {
background-color: @color-wjjhv; background-color: @color-wjjhv;
box-shadow: 0 0 2px @color-bs; box-shadow: 0 0 5px @color-bt;
} }
th, th,
td { td {
@@ -304,13 +319,13 @@ body {
margin-top: 1rem; margin-top: 1rem;
height: 4rem; height: 4rem;
display: flex; display: flex;
justify-content: space-around; justify-content: space-evenly;
align-items: center; align-items: center;
input { input {
vertical-align: middle; vertical-align: middle;
height: 2rem; padding: 0.5rem;
min-width: 5rem; min-width: 5rem;
border: dotted 1px dimgrey; border: solid 2px dimgrey;
border-radius: 4px; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
background-color: gainsboro; background-color: gainsboro;
@@ -331,12 +346,11 @@ body {
// 底部readme // 底部readme
div.onemoe-readme { div.onemoe-readme {
width: 100%; width: 100%;
margin: 50px auto 50px; margin: 50px auto 0;
border-radius: 3px; border-radius: 3px;
border: solid 5px rgba(137, 43, 226, 0.2); border: solid 5px rgba(137, 43, 226, 0.2);
box-sizing: border-box; box-sizing: border-box;
div.readme { div.readme {
background-color: @color-bg;
svg, svg,
span { span {
display: none; display: none;
@@ -362,4 +376,10 @@ body {
} }
} }
} }
div[style="color: rgba(247,247,249,0);"] {
margin-top: 4rem;
flex: 1 0;
display: flex;
align-items: flex-end;
}
} }