mirror of
https://github.com/ldxw/cdn.git
synced 2026-08-14 13:01:23 +08:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b2cfbbfd85 | |||
| e612ab7ee8 | |||
| c8df983860 | |||
| 9a7e353ed7 | |||
| f7b17d1e45 | |||
| 822c4d2bba | |||
| bddcee50da | |||
| a62e92922e |
@@ -0,0 +1,13 @@
|
|||||||
|
## 说明
|
||||||
|
|
||||||
|
这是为 onedrive 云盘程序[OneManager](https://github.com/qkqpttgf/OneManager-php)写的一个简单的 css 主题,参考了 OneIndex 的主题样式,对应 OneManager 程序版本为[Feb 20, 2020 多盘版本](https://github.com/qkqpttgf/OneManager-php/tree/62f798d8bd0304ce5efc1eedb3e90e066c0d893d)
|
||||||
|
|
||||||
|
## 预览
|
||||||
|
|
||||||
|
[在线预览](https://pan.2bboy.com)
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
## 使用
|
||||||
|
|
||||||
|
向程序 theme 文件夹里添加 onemoe.php 文件,网站后台切换主题即可,更多细节请访问[我的博客](https://www.2bboy.com/archives/154.html)。
|
||||||
@@ -0,0 +1,358 @@
|
|||||||
|
:root {
|
||||||
|
font-size: 10px;
|
||||||
|
font-family: Helvetica Neue, Helvetica, Arial, Microsoft Yahei, Hiragino Sans GB, Heiti SC, WenQuanYi Micro Hei, sans-serif;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
background-color: #8ec5fc;
|
||||||
|
background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%);
|
||||||
|
min-height: 100vh;
|
||||||
|
margin: auto;
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
max-width: 960px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
body a.login,
|
||||||
|
body li.operate {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
color: #339999;
|
||||||
|
position: relative;
|
||||||
|
list-style: none;
|
||||||
|
width: 5rem;
|
||||||
|
}
|
||||||
|
body a.login ion-icon,
|
||||||
|
body li.operate ion-icon {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
body a.login:hover ul,
|
||||||
|
body li.operate:hover ul {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
body a.login ul,
|
||||||
|
body li.operate ul {
|
||||||
|
width: 2rem;
|
||||||
|
list-style-type: none;
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
margin-top: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
body a.login ul li,
|
||||||
|
body li.operate ul li {
|
||||||
|
display: flex;
|
||||||
|
padding: 0.2rem;
|
||||||
|
z-index: 99;
|
||||||
|
border-radius: 2px;
|
||||||
|
background-color: papayawhip;
|
||||||
|
border: dashed 1px yellowgreen;
|
||||||
|
}
|
||||||
|
body a.login ul li:hover,
|
||||||
|
body li.operate ul li:hover {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
body a.login ul li a,
|
||||||
|
body li.operate ul li a {
|
||||||
|
margin-left: 0.8rem;
|
||||||
|
width: 1.7rem;
|
||||||
|
color: #339999;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
body a.login ul li a:hover,
|
||||||
|
body li.operate ul li a:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
body div[style="padding:1px"] {
|
||||||
|
height: 4rem;
|
||||||
|
}
|
||||||
|
body div.operatediv {
|
||||||
|
position: fixed;
|
||||||
|
background-color: #ddd;
|
||||||
|
border: solid 2px blueviolet;
|
||||||
|
box-shadow: 0 0 10px #339999;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
body div.operatediv div {
|
||||||
|
color: #339999;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
body div.operatediv div input[type="submit"],
|
||||||
|
body div.operatediv div a.operatediv_close {
|
||||||
|
align-self: flex-end;
|
||||||
|
width: auto;
|
||||||
|
padding: 1px 5px;
|
||||||
|
margin: 5px 0;
|
||||||
|
border: solid 2px #339999;
|
||||||
|
border-radius: 2px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
color: #339999;
|
||||||
|
}
|
||||||
|
body div.operatediv div input[type="submit"]:hover,
|
||||||
|
body div.operatediv div a.operatediv_close:hover {
|
||||||
|
background-color: #339999;
|
||||||
|
cursor: pointer;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
body div.mask {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
body div[style="position:absolute;"] {
|
||||||
|
top: 2rem;
|
||||||
|
background-color: yellow;
|
||||||
|
border-radius: 2px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
body h1.title {
|
||||||
|
margin: auto;
|
||||||
|
font-size: 3.5rem;
|
||||||
|
}
|
||||||
|
body h1.title a {
|
||||||
|
font-family: Cursive;
|
||||||
|
text-decoration: none;
|
||||||
|
color: #3290e7;
|
||||||
|
text-shadow: 2px 2px 5px rgba(50, 144, 231, 0.5);
|
||||||
|
transition: 0.2s;
|
||||||
|
}
|
||||||
|
body h1.title a:hover {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
body select.changelanguage {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
body div.onemoe-more-disk {
|
||||||
|
margin: auto;
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
body div.onemoe-more-disk div.more-disk a {
|
||||||
|
text-decoration: none;
|
||||||
|
border: solid 2px #339999;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
padding: 5px;
|
||||||
|
margin: auto 0.5rem;
|
||||||
|
color: #339999;
|
||||||
|
}
|
||||||
|
body div.onemoe-more-disk div.more-disk a:hover {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #339999;
|
||||||
|
box-shadow: 0 0 5px #339999;
|
||||||
|
transition: 0.2s;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#head-div div.list-header-container {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#head-div div.list-header-container div.readme svg,
|
||||||
|
body div.list-wrapper#head-div div.list-header-container div.readme span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#head-div div.list-header-container div.readme p {
|
||||||
|
font-size: large;
|
||||||
|
padding: 0 2rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div {
|
||||||
|
border-radius: 5px;
|
||||||
|
border: solid 5px rgba(137, 43, 226, 0.2);
|
||||||
|
margin-top: 2rem;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-header-container {
|
||||||
|
border-radius: 2px;
|
||||||
|
border-bottom: dashed 1px rgba(59, 66, 107, 0.3);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #e0c3fc98;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-header-container a.back-link {
|
||||||
|
margin-left: 2rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-header-container a.back-link ion-icon {
|
||||||
|
color: #339999;
|
||||||
|
width: 2rem;
|
||||||
|
height: 2rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-header-container a.back-link ion-icon:hover {
|
||||||
|
color: #ff9900;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-header-container h3.table-header {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin: 1rem;
|
||||||
|
color: #339999;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-header-container h3.table-header a {
|
||||||
|
color: #339999;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-header-container h3.table-header a:hover {
|
||||||
|
color: #ff9900;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table {
|
||||||
|
margin: auto;
|
||||||
|
min-width: 100%;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr {
|
||||||
|
color: #333;
|
||||||
|
background-color: #fff;
|
||||||
|
margin: 1rem;
|
||||||
|
border: solid 1px #339999;
|
||||||
|
border-radius: 5px;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 6fr 2fr 1fr;
|
||||||
|
}
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr {
|
||||||
|
grid-template-columns: 6fr 2fr;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th:nth-last-of-type(2),
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td:nth-last-of-type(2) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (orientation: portrait) {
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th:last-of-type,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td:last-of-type {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr:first-of-type {
|
||||||
|
border: none;
|
||||||
|
background-color: #cccccc00;
|
||||||
|
margin: 0 1.5rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr:nth-of-type(2) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr:not(:first-of-type):hover {
|
||||||
|
background-color: rgba(137, 43, 226, 0.1);
|
||||||
|
box-shadow: 0 0 5px #339999;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td {
|
||||||
|
padding: 1rem;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th:first-of-type a,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td:first-of-type a {
|
||||||
|
color: #333;
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th:first-of-type a:hover,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td:first-of-type a:hover {
|
||||||
|
color: #339999;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th:first-of-type > ion-icon,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td:first-of-type > ion-icon {
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th:nth-of-type(2),
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td:nth-of-type(2) {
|
||||||
|
justify-content: flex-end;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th:last-of-type,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td:last-of-type {
|
||||||
|
justify-content: flex-end;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th li,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td li {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th a,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td a {
|
||||||
|
text-decoration: none;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th li.operate,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td li.operate {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th li.operate ul,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td li.operate ul {
|
||||||
|
top: -0.5rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th li.operate ul li,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td li.operate ul li {
|
||||||
|
padding: 0.5rem;
|
||||||
|
font-size: 1.3rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th li.operate ul li a,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td li.operate ul li a {
|
||||||
|
width: auto;
|
||||||
|
padding-right: 0.8rem;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr th li.operate ul li:hover a,
|
||||||
|
body div.list-wrapper#list-div div.list-body-container table.list-table tbody tr td li.operate ul li:hover a {
|
||||||
|
color: #339999;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container div#upload_div center {
|
||||||
|
margin-top: 1rem;
|
||||||
|
height: 4rem;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container div#upload_div center input {
|
||||||
|
vertical-align: middle;
|
||||||
|
padding: 0.5rem;
|
||||||
|
min-width: 5rem;
|
||||||
|
border: solid 2px dimgrey;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
background-color: gainsboro;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div div.list-body-container div#upload_div center input:hover {
|
||||||
|
color: #339999;
|
||||||
|
box-shadow: 0 0 10px cornflowerblue;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
body div.list-wrapper#list-div:hover {
|
||||||
|
box-shadow: 0 0 10px rgba(137, 43, 226, 0.25);
|
||||||
|
}
|
||||||
|
body div.onemoe-readme {
|
||||||
|
width: 100%;
|
||||||
|
margin: 50px auto 0;
|
||||||
|
border-radius: 3px;
|
||||||
|
border: solid 5px rgba(137, 43, 226, 0.2);
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
body div.onemoe-readme div.readme svg,
|
||||||
|
body div.onemoe-readme div.readme span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
body div.onemoe-readme div.readme div.markdown-body {
|
||||||
|
margin: 10px 25px;
|
||||||
|
}
|
||||||
|
body div.onemoe-readme:hover {
|
||||||
|
box-shadow: 0 0 10px rgba(137, 43, 226, 0.25);
|
||||||
|
}
|
||||||
|
body div[style="margin: 12px 4px 4px; text-align: center"] div a {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
color: #339999;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
body div[style="margin: 12px 4px 4px; text-align: center"] div a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: #ff9900;
|
||||||
|
}
|
||||||
|
body div[style="color: rgba(247,247,249,0);"] {
|
||||||
|
margin-top: 4rem;
|
||||||
|
flex: 1 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
@@ -0,0 +1,385 @@
|
|||||||
|
:root {
|
||||||
|
font-size: 10px;
|
||||||
|
font-family: Helvetica Neue, Helvetica, Arial, Microsoft Yahei,
|
||||||
|
Hiragino Sans GB, Heiti SC, WenQuanYi Micro Hei, sans-serif;
|
||||||
|
}
|
||||||
|
@color-bg: #f2f5fa;
|
||||||
|
@color-bt: #339999;
|
||||||
|
@color-btbd: yellowgreen;
|
||||||
|
@color-btbg: papayawhip;
|
||||||
|
@color-bthv: #fff;
|
||||||
|
@color-bs: blueviolet;
|
||||||
|
@color-dj: #ff9900;
|
||||||
|
@color-wjj: #fff;
|
||||||
|
@color-wjjhv: rgba(137, 43, 226, 0.1);
|
||||||
|
@color-wjj-bg: rgba(204, 204, 204, 0.3);
|
||||||
|
body {
|
||||||
|
// background-color: @color-bg;
|
||||||
|
background-color: #8ec5fc;
|
||||||
|
background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%);
|
||||||
|
min-height: 100vh;
|
||||||
|
margin: auto;
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
max-width: 960px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
// background-color: @color-bg;
|
||||||
|
// 管理
|
||||||
|
a.login,
|
||||||
|
li.operate {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
color: @color-bt;
|
||||||
|
position: relative;
|
||||||
|
list-style: none;
|
||||||
|
width: 5rem;
|
||||||
|
ion-icon {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
&:hover ul {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
ul {
|
||||||
|
width: 2rem;
|
||||||
|
list-style-type: none;
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
margin-top: 0;
|
||||||
|
top: 0;
|
||||||
|
li {
|
||||||
|
display: flex;
|
||||||
|
padding: 0.2rem;
|
||||||
|
z-index: 99;
|
||||||
|
border-radius: 2px;
|
||||||
|
background-color: @color-btbg;
|
||||||
|
border: dashed 1px @color-btbd;
|
||||||
|
&:hover {
|
||||||
|
background-color: @color-bthv;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
margin-left: 0.8rem;
|
||||||
|
width: 1.7rem;
|
||||||
|
color: @color-bt;
|
||||||
|
text-decoration: none;
|
||||||
|
&:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 登录
|
||||||
|
div[style="padding:1px"] {
|
||||||
|
height: 4rem;
|
||||||
|
}
|
||||||
|
div.operatediv {
|
||||||
|
position: fixed;
|
||||||
|
background-color: #ddd;
|
||||||
|
border: solid 2px @color-bs;
|
||||||
|
box-shadow: 0 0 10px @color-bt;
|
||||||
|
border-radius: 2px;
|
||||||
|
div {
|
||||||
|
color: @color-bt;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 1rem;
|
||||||
|
input[type="submit"],
|
||||||
|
a.operatediv_close {
|
||||||
|
align-self: flex-end;
|
||||||
|
width: auto;
|
||||||
|
padding: 1px 5px;
|
||||||
|
margin: 5px 0;
|
||||||
|
border: solid 2px @color-bt;
|
||||||
|
border-radius: 2px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
color: @color-bt;
|
||||||
|
&:hover {
|
||||||
|
background-color: @color-bt;
|
||||||
|
cursor: pointer;
|
||||||
|
color: @color-bthv;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
div.mask {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
// 升级提示
|
||||||
|
div[style="position:absolute;"] {
|
||||||
|
top: 2rem;
|
||||||
|
background-color: yellow;
|
||||||
|
border-radius: 2px;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
// 标题
|
||||||
|
h1.title {
|
||||||
|
margin: auto;
|
||||||
|
font-size: 3.5rem;
|
||||||
|
a {
|
||||||
|
font-family: Cursive;
|
||||||
|
text-decoration: none;
|
||||||
|
color: rgb(50, 144, 231);
|
||||||
|
text-shadow: 2px 2px 5px rgba(50, 144, 231, 0.5);
|
||||||
|
transition: 0.2s;
|
||||||
|
&:hover {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 语言
|
||||||
|
select.changelanguage {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
// 多盘
|
||||||
|
div.onemoe-more-disk {
|
||||||
|
margin: auto;
|
||||||
|
margin-top: 2rem;
|
||||||
|
div.more-disk {
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
border: solid 2px @color-bt;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
padding: 5px;
|
||||||
|
margin: auto 0.5rem;
|
||||||
|
color: @color-bt;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
color: #fff;
|
||||||
|
background-color: @color-bt;
|
||||||
|
box-shadow: 0 0 5px @color-bt;
|
||||||
|
transition: 0.2s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// head.md
|
||||||
|
div.list-wrapper#head-div {
|
||||||
|
div.list-header-container {
|
||||||
|
margin-top: 2rem;
|
||||||
|
div.readme {
|
||||||
|
svg,
|
||||||
|
span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
font-size: large;
|
||||||
|
padding: 0 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主体
|
||||||
|
div.list-wrapper#list-div {
|
||||||
|
border-radius: 5px;
|
||||||
|
border: solid 5px rgba(137, 43, 226, 0.2);
|
||||||
|
// background-color: @color-wjj-bg;
|
||||||
|
margin-top: 2rem;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
// 文件路径
|
||||||
|
div.list-header-container {
|
||||||
|
border-radius: 2px;
|
||||||
|
border-bottom: dashed 1px rgba(59, 66, 107, 0.3);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #e0c3fc98;
|
||||||
|
a.back-link {
|
||||||
|
margin-left: 2rem;
|
||||||
|
ion-icon {
|
||||||
|
color: @color-bt;
|
||||||
|
width: 2rem;
|
||||||
|
height: 2rem;
|
||||||
|
&:hover {
|
||||||
|
color: @color-dj;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
h3.table-header {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin: 1rem;
|
||||||
|
color: @color-bt;
|
||||||
|
font-style: italic;
|
||||||
|
a {
|
||||||
|
color: @color-bt;
|
||||||
|
text-decoration: none;
|
||||||
|
&:hover {
|
||||||
|
color: @color-dj;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 表格
|
||||||
|
div.list-body-container {
|
||||||
|
table.list-table {
|
||||||
|
margin: auto;
|
||||||
|
min-width: 100%;
|
||||||
|
tbody {
|
||||||
|
tr {
|
||||||
|
color: #333;
|
||||||
|
background-color: @color-wjj;
|
||||||
|
margin: 1rem;
|
||||||
|
border: solid 1px @color-bt;
|
||||||
|
border-radius: 5px;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 6fr 2fr 1fr;
|
||||||
|
@media screen and(max-width:768px) {
|
||||||
|
grid-template-columns: 6fr 2fr;
|
||||||
|
th:nth-last-of-type(2),
|
||||||
|
td:nth-last-of-type(2) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and(orientation:portrait) {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
th:last-of-type,
|
||||||
|
td:last-of-type {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 表头
|
||||||
|
&:first-of-type {
|
||||||
|
border: none;
|
||||||
|
background-color: #cccccc00;
|
||||||
|
margin: 0 1.5rem;
|
||||||
|
}
|
||||||
|
&:nth-of-type(2) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
&:not(:first-of-type):hover {
|
||||||
|
background-color: @color-wjjhv;
|
||||||
|
box-shadow: 0 0 5px @color-bt;
|
||||||
|
}
|
||||||
|
th,
|
||||||
|
td {
|
||||||
|
padding: 1rem;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
&:first-of-type {
|
||||||
|
a {
|
||||||
|
color: #333;
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
&:hover {
|
||||||
|
color: @color-bt;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
> ion-icon {
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:nth-of-type(2) {
|
||||||
|
justify-content: flex-end;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
&:last-of-type {
|
||||||
|
justify-content: flex-end;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
li {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
// 文件管理
|
||||||
|
li.operate {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
// margin-right: -2rem;
|
||||||
|
ul {
|
||||||
|
top: -0.5rem;
|
||||||
|
li {
|
||||||
|
padding: 0.5rem;
|
||||||
|
font-size: 1.3rem;
|
||||||
|
a {
|
||||||
|
width: auto;
|
||||||
|
padding-right: 0.8rem;
|
||||||
|
}
|
||||||
|
&:hover a {
|
||||||
|
color: @color-bt;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 上传
|
||||||
|
div#upload_div {
|
||||||
|
center {
|
||||||
|
margin-top: 1rem;
|
||||||
|
height: 4rem;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
align-items: center;
|
||||||
|
input {
|
||||||
|
vertical-align: middle;
|
||||||
|
padding: 0.5rem;
|
||||||
|
min-width: 5rem;
|
||||||
|
border: solid 2px dimgrey;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
background-color: gainsboro;
|
||||||
|
}
|
||||||
|
input:hover {
|
||||||
|
color: #339999;
|
||||||
|
box-shadow: 0 0 10px cornflowerblue;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 阴影
|
||||||
|
div.list-wrapper#list-div:hover {
|
||||||
|
box-shadow: 0 0 10px rgba(137, 43, 226, 0.25);
|
||||||
|
}
|
||||||
|
// 底部readme
|
||||||
|
div.onemoe-readme {
|
||||||
|
width: 100%;
|
||||||
|
margin: 50px auto 0;
|
||||||
|
border-radius: 3px;
|
||||||
|
border: solid 5px rgba(137, 43, 226, 0.2);
|
||||||
|
box-sizing: border-box;
|
||||||
|
div.readme {
|
||||||
|
svg,
|
||||||
|
span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
div.markdown-body {
|
||||||
|
margin: 10px 25px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
box-shadow: 0 0 10px rgba(137, 43, 226, 0.25);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
div[style="margin: 12px 4px 4px; text-align: center"] {
|
||||||
|
div {
|
||||||
|
a {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
color: @color-bt;
|
||||||
|
text-decoration: none;
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: @color-dj;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
div[style="color: rgba(247,247,249,0);"] {
|
||||||
|
margin-top: 4rem;
|
||||||
|
flex: 1 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
}
|
||||||
+1
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user