2 Star 34 Fork 8

asdfqw / FoolPlay

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
style.css 12.33 KB
一键复制 编辑 原始数据 按行查看 历史
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
.yin {
line-height: 1em;
height: 1em;
}
/* Some style was taken from 7.css, */
/* H */
.error {
-webkit-user-select: text;
-webkit-user-select: all;
-moz-user-select: text;
-moz-user-select: all;
-ms-user-select: text;
-ms-user-select: all;
-o-user-select: text;
user-select: text;
user-select: all;
border: dashed;
color: red;
padding: 3px;
clear: both;
}
/* 去除 Chrome 箭头 */
input:not(.spin:hover)::-webkit-outer-spin-button, input:not(.spin:hover)::-webkit-inner-spin-button {
-webkit-appearance: none;
}
/* 火狐有些麻烦。 */
input[type="number"] {
-moz-appearance: textfield;
}
html {
margin: 0;
padding: 0;
font-size: 1em;
overflow: auto;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
background: #DDD;
}
html,body {
overflow-x: hidden;
touch-action: pan-y;
}
body {
margin: auto;
width: 21cm;
max-width: 100%;
padding: 2.3cm;
padding-top: 3em;
padding-bottom: 3em;
box-sizing: border-box;
box-shadow: 0 0 5px #aaa;
overflow: visible;
background: #fff;
color: #000;
}
body::after {
display: none;
content: "loaded";
}
input::-webkit-search-cancel-button {
display: none;
}
input::-ms-clear {
display: none;
}
@media screen and (max-width: 21cm) {
body:not(.print) {
padding-left: 5px;
padding-right: 5px;
box-shadow: none;
}
.print {
max-width: 999999px;
}
html {
background: none;
}
}
.menu ,.menu * {
box-sizing: border-box;
color: inherit;
text-decoration: none;
vertical-align: middle;
cursor: default;
touch-action: none;
}
.menu,.status {
z-index: 2;
background: #f0f0f0;
position: absolute;
padding: 2px 0;
text-align: justify;
border: 1px solid rgba(0,0,0,.4);
box-shadow: 4px 4px 3px -2px rgba(0,0,0,.5)
}
.menu.line,.status {
left: 0;
width: 100%;
background: #eef;
}
.status {
position: fixed;
}
.menu.line {
top: 0;
background: linear-gradient(#fff 20%,#f1f4fa 25%,#f1f4fa 43%,#d4dbee 48%,#e6eaf6);
box-shadow: none;
border-right: none;
}
.menu.line {
top: 0;
background: linear-gradient(#fff 20%,#f1f4fa 25%,#f1f4fa 43%,#d4dbee 48%,#e6eaf6);
box-shadow: none;
border-right: none;
}
.status {
bottom: 0;
border-style: solid;
overflow: hidden;
}
.status > * {
float: left;
}
.floatToRight {
float: right;
}
.menu>:not(hr) {
display: block;
padding: 3px 10px;
margin-left: 1.2em;
border-left: 1px dotted #ddd;
white-space: nowrap;
position: relative;
}
.menu.line > :first-child{
border-left: none;
}
.menu label>[type=checkbox], .menu label>[type=radio] {
position: absolute;
left: -1.2em;
}
.menu>*:hover {
background: linear-gradient(hsla(0,0%,100%,.5), rgba(184,214,251,.5) 60%, rgba(184,214,251,.5) 90%, hsla(0,0%,100%,.8));
}
.menu.line>* {
float: left;
min-width: 3em;
text-align: center;
margin-left: 3px;
}
.menu:not(.line)>.item::after {
box-sizing: content-box;
content: "";
margin-top: 0.35em;
margin-right: -7px;
margin-left: 1em;
width: 0;
height: 0;
right: 10px;
position: absolute;
border: solid;
border-width: 0.3em;
border-color: transparent transparent transparent black;
}
.item>.menu {
display: none;
margin-left: 0;
left: 100%;
top: 0;
}
.menu.line>.item>.menu {
left: 0;
top: 100%;
}
.item:hover>.menu {
display: block;
}
.header * {
vertical-align: middle;
}
.header tr, .header td {
line-height: 0;
}
.hl {
background: red;
background: rgba(255,0,0,0.3);
outline: 1px solid red;
/*overflow: hidden;*/
}
* {
box-sizing: border-box;
/* FUCK MORDEN IEs */
overscroll-behavior: none;
-ms-scroll-chaining: none;
}
:invalid {
border: solid red;
}
.container,.measure {
text-align: justify;
display: flex;
/*justify-content: space-between;*/
margin-bottom: 5px;
}
.measure {
max-width: 101%;
margin-top: 1em;
}
.measure:last-child {
flex-wrap: wrap;
}
.sectionLine {
height: 30px;
height: calc(1em + 7px); /* o:2px*2, minusline:3px */
padding-right: 1px;
border-right: 1px solid;
margin-right: 1px;
position: relative;
}
.sectionLine:first-child {
visibility: hidden;
}
.sectionLine:after {
display: block;
top: 0;
height: 100%;
line-height: calc(1em + 7px);;
padding-left: 1px;
}
.measure:last-child > .sectionLine {
border-right: 2px solid;
}
.measure:last-child > .sectionLine:after {
content: " ";
text-align: right;
border-right: 1px solid;
}
.container {
flex-wrap: wrap;
position: relative;
cursor: text;
}
.note,.measure,.space,.sectionLine:last-child {
/*float: left;
display:inline-block;*/
text-align: center;
vertical-align: top;
flex: 1 0 auto;
page-break-inside: avoid;
}
.note {
position: relative;
}
.note > * {
display: block;
}
.minusline {
margin: 1px 0;
border: 1px;
height: 3px;
}
.upo,.downo {
margin: 0 auto;
padding: 1px 0;
}
.hasupo .upo, .hasdo .downo {
/* border: 1px solid; */
border-radius: 50% 50%;
width: 2px;
height: 2px;
margin: auto;
padding: 0;
box-sizing: border-box;
background: currentColor;
}
body:not(.fensanalign) .container::after {
display: block;
content: ' ';
flex: 100;
}
.fensanalign .measure {
flex-basis: 23%;
margin-top: 1.5em;
}
.space {
padding-left: 3px;
}
.yin {
position: relative;
padding: 0 3px;
}
.yin sup {
position: absolute;
top: -3px;
left: 0px;
line-height: 1;
transform: translateX(-50%);
}
.acnote{
padding-bottom: 3px;
}
.note .minusline {
border-style: none
}
.note.f8 {
margin-left: -0.05em;
margin-right: -0.05em;
}
.note.f8 .minusline {
border-top-style: solid
}
.note.f16 {
margin-left: -0.1em;
margin-right: -0.1em;
}
.note.f16 .minusline {
border-style: solid none;
}
.title {
text-align: center;
width: 80%;
font-size: 1.5em;
}
.tempo1,.tempo0 {
text-align: center;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 1.5em;
}
input:not([type]), input[type=text], input[type=number], textarea, select {
outline: dotted grey 1px;
border: none;
}
select:not(:hover):not(:focus) {
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
}
select::-ms-expand {
display: none;
}
input:not([type]):hover, input[type=text]:hover, input[type=number]:hover, textarea:hover, select:hover, input:not([type]):focus, input[type=text]:focus, input[type=number]:focus, textarea:focus, select:focus {
outline: solid blue 2px;
}
label {
display: inline-block;
padding-right: 10px;
}
.block,.block>* {
display: block;
}
.selected,.selected + .space,.selected + .sectionLine {
background: Highlight;
color: HighlightText;
}
.coverOn {
position: absolute;
-webkit-pointer-events: none;
-moz-pointer-events: none;
-ms-pointer-events: none;
pointer-events: none;
z-index: 1;
}
@keyframes caretflash {
from {
opacity: 1;
}
50% {
opacity: 0;
}
to {
opacity: 1;
}
}
@-webkit-keyframes caretflash /* Safari & Chrome */
{
from {
opacity: 1;
}
50% {
opacity: 0;
}
to {
opacity: 1;
}
}
.caret,#caret {
position: absolute;
border-left: 1px solid;
animation: caretflash cubic-bezier(1,0,0,1) 1s;
-webkit-animation: caretflash cubic-bezier(1,0,0,1) 1s;
animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
height: 60px;
}
.editbox {
box-sizing: border-box;
position: absolute;
opacity: 0;
width: 0;
height: 0;
-webkit-pointer-events: none;
-moz-pointer-events: none;
-ms-pointer-events: none;
resize: none;
pointer-events: none;
outline: 0!important;
}
#imetip {
background: white;
font-family: monospace;
position: absolute;
font-weight: bold;
transform: translateY(-1.2em);
white-space:nowrap;
}
.cline {
height: 10px;
border-radius: 50px 50px 0 0;
border-top: solid 1px;
text-align: center;
line-height: 0.2;
position: absolute;
margin-top: -3px;
}
.fensanalign .cline {
margin-top: -5px;
}
.house {
font-size: 12px;
height: 1em;
border-top: solid 1px;
margin-top: -0.5em;
position: absolute;
border-left: solid 1px;
}
.fensanalign .house {
margin-top: -1em;
}
/*As you know------Basic's DO LOOP*/
.loop.measure .sectionLine:last-child {
border-right: 2px solid;
}
.loop.measure .sectionLine:last-child:after {
content: ":";
text-align: right;
border-right: 1px solid;
}
.do .sectionLine:first-child {
visibility: visible;
position: relative;
left: 0;
border-right: none;
border-left: 2px solid;
padding-left: 2px;
margin-left: -3px;
}
.do .sectionLine:first-child:after {
content: ":";
text-align: left;
border-left: 1px solid;
border-right: none;
}
/*D.S. D.C. Coda Segno Easy? Easy!*/
.ds :last-child.sectionLine::before {
content: "D.S.";
position: absolute;
bottom: -.5em;
right: -2px;
font-size: 90%;
}
.dc :last-child.sectionLine::before {
content: "D.C.";
position: absolute;
bottom: -.5em;
right: -2px;
font-size: 90%;
}
:first-child.coda .sectionLine,:first-child.segno .sectionLine {
visibility: visible;
}
.coda .sectionLine:first-child::before {
content: " ";
width: 18px;
height: 18px;
background: url(img/coda.svg) center/contain no-repeat;
visibility: visible;
position: absolute;
top: -10px;
left: -9px;
}
.segno .sectionLine:first-child::before {
content: " ";
width: 18px;
height: 18px;
background: url(img/segno.svg) center/contain no-repeat;
visibility: visible;
position: absolute;
top: -10px;
left: -9px;
}
@media print {
input:not([type]),input[type=text],input[type=number],textarea,select {
border: none;
font-size: 1em;
outline: none!important;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
vertical-align: middle;
resize: none;
}
.menu,.status,#caret,hr {
display: none;
visibility: hidden;
}
.selected,.space,.sectionLine {
background: none!important;
}
html,body {
background: transparent!important
}
body {
padding: 0;
box-shadow: 0px 0px 0px;
}
.container,.coverOn {
width: calc(21cm - 2.3cm - 2.3cm);
margin: auto;
}
.coverOn {
position: relative;
transform: translateY(-100%);
}
html>div {
display: none!important;
/*eruda Hack*/
}
}
input[type=number] {
max-width: 4em;
}
.window {
display: none;
position: fixed;
background: #CCCCFF;
padding: 3px;
font-family: Simsun ,serif;
cursor: default;
z-index: 2;
border-radius: 5px 5px 2px 2px;
opacity: 0.6;
}
.window.on:before {
content: '';
position: fixed;
top: -100%;
left: -100%;
width: 300%;
height: 300%;
background: rgba(0,0,0,0.3);
z-index: -2;
}
.window.loading:before {
display: none;
}
.window.on:after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(transparent 20%,hsla(0,0%,100%,.7) 40%,transparent 41%),linear-gradient(90deg,hsla(0,0%,100%,.4),rgba(0,0,0,.1),hsla(0,0%,100%,.2)),linear-gradient(55deg,transparent,rgba(0,0,0,.1) 20%,rgba(0,0,0,.1) 50%,transparent 53%),#4580c4;
z-index: -2;
box-shadow: 0px 0px 50px -10px black, 0px 0px 3px white inset;
border-radius: 5px 5px 2px 2px;
}
.window.on {
background: rgb(215,215,255);
z-index: 2;
opacity: 1;
}
.windowtitle {
text-align: left;
padding: 4px;
color: #000;
height: 18px;
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
box-sizing: content-box;
text-shadow: -1px 0 10px white,1px 0 10px white,0 -1px 10px white,0 1px 10px white,0 0 10px white;
}
.window > .windowtitle > button {
float: right;
width: 18px;
height: 18px;
padding: 0;
color: white;
transform: scale(1.2);
background: red;
background: radial-gradient(ellipse at center, rgba(204,134,134,1) 30%,rgba(204,0,0,1) 100%);
border: solid 1px white;
}
.window button {
border-style: solid;
border-width: 1px 2px 2px 1px;
border-color: #eee rgb(134,138,142) rgb(134,138,142) #eee;
box-shadow: 0 0 1px gray;
border-radius: 3px;
line-height: 1.2;
vertical-align: middle;
}
.window button:active {
border-color: rgb(134,138,142) #FFF #FFF rgb(134,138,142);
}
.window .content {
background: #fff;
border: 1px solid rgba(0,0,0,.6);
background: #f0f0f0;
box-shadow: 0 0 1px .5px #fff;
padding: 3px;
}
.window .content .msg {
padding: 1em;
}
.geci {
height: 1.1em;
line-height: 1.1;
text-align: center;
white-space: nowrap;
}
.append-yes:after {
content: '✔️';
}
select{
background: #fff;
}
@media screen and (prefers-color-scheme: dark){
html{
background: #111;
}
body{
color: #fff;
background: #000;
}
.menu.line,.menu,.status{
background: #222;
}
.window,.window.on, .window .content{
background: #223;
}
.window.on::after{
background: #224;
}
input,textarea,select{
background: #000;
}
}
HTML
1
https://gitee.com/asdfqw/FoolPlay.git
git@gitee.com:asdfqw/FoolPlay.git
asdfqw
FoolPlay
FoolPlay
master

搜索帮助