From 4c220a4a1528e8d208657f17d98cac2456efbcbc Mon Sep 17 00:00:00 2001 From: zhl Date: Tue, 4 Jun 2019 20:27:37 +0800 Subject: [PATCH] =?UTF-8?q?fc=E5=A2=9E=E5=8A=A0=E9=80=89=E6=8B=A9=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E7=9A=84=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fc/css/gbajs.css | 121 ++++++++++++++++++++++++++++----- fc/index.html | 29 +++++++- fc/js/js.cookie.js | 163 +++++++++++++++++++++++++++++++++++++++++++++ fc/js/options.js | 37 ++++++++++ 4 files changed, 334 insertions(+), 16 deletions(-) create mode 100644 fc/js/js.cookie.js create mode 100644 fc/js/options.js diff --git a/fc/css/gbajs.css b/fc/css/gbajs.css index 0af2bac..b2eb099 100644 --- a/fc/css/gbajs.css +++ b/fc/css/gbajs.css @@ -546,20 +546,6 @@ canvas { .container::-webkit-scrollbar { display: none; //Safari and Chrome } -/*.direct-wrap {*/ -/* width:300px;*/ -/* height:300px;*/ -/* top: 20px;*/ -/* left: 20px;*/ -/* position: absolute;*/ -/* background-image:url(../resources/rocker.png);*/ -/* display: none;*/ -/* grid-template-columns: 100px 100px 100px;*/ -/* grid-template-rows: 100px 100px 100px;*/ -/*}*/ -/*.real .dire-wrap {*/ -/* display: none!important;*/ -/*}*/ .real .dire-ctrl { background-image:url(../resources/rocker.png); } @@ -592,4 +578,109 @@ canvas { .real .kay-ST { right:60px!important;; } - +.hidden { + display: none!important; +} +.menu-back { + background-color: #000; + opacity: 0.5; + position: absolute; + left: 0; + top: 0; + bottom: 0; + right:0; + display: none; +} +.menu-container { + background-color: white; + width: 100vw; + height: 60vw; + position: absolute; + left: 50%; + top: 50%; + margin-left: -50vw; + margin-top: -30vw; + transform: rotate(90deg); + display: flex; + flex-direction: column; + border-radius: 10px; +} +.menu-container .menu-title { + height: 80px; + padding: 10px 30px; + display: flex; + align-items: center; + color: #777; +} +.menu-container .menu-body { + flex: 1; + padding: 10px; +} +.menu-body .row { + margin-left: 5px; + margin-right: 5px; + padding: 15px; + margin-bottom: 5px; + display: flex; +} +.menu-body .row .row-title { + width: 30%; + color: #777; +} +.menu-body .row .row-body { + flex: 1; + display: flex; +} +.row-body .row-part{ + width: 50%; +} +.row-part input[type='radio']{ + width: 30px; + height: 30px; + margin-right: 10px; +} +.menu-container .menu-footer { + height: 80px; + display: flex; +} +.menu-container .menu-footer .left-part { + flex:1; +} +.menu-container .menu-footer .right-part { + display: flex; + padding: 5px 20px; +} +.menu-container .menu-footer .menu-btn { + width: 100px; + height: 50px; + text-align: center; + border: 1px solid #ddd; + margin-right: 10px; + padding: 4px 10px; + border-radius: 4px; +} +.menu-btn.btn-success{ + color: #fff; + background-color: #449d44; + border-color: #398439; +} +#menu_btn{ + top: 120px; + right: 60px; + width: 120px; + height: 80px; + font-size: 30px; + line-height: 80px; + text-align: center; + transform: rotate(90deg); + font-weight: 700; + color: rgba(255,255,255,.5); + opacity: .5; + position: absolute; + background-size: 100% 100%; + background-image: url(../resources/8.png); + z-index: 10; +} +#menu_btn.real{ + background-image: url(../resources/flat-button.png); +} diff --git a/fc/index.html b/fc/index.html index 6732329..69d0a8a 100644 --- a/fc/index.html +++ b/fc/index.html @@ -22,6 +22,8 @@ + +