diff --git a/libresapi/src/webui-src/app/orange.scss b/libresapi/src/webui-src/app/orange.scss index 515fe80a8..e0cbebd3e 100644 --- a/libresapi/src/webui-src/app/orange.scss +++ b/libresapi/src/webui-src/app/orange.scss @@ -8,29 +8,32 @@ body { font-size: 1.1em; box-sizing: border-box; } -h2{text-transform: uppercase;} -#overlay{ +h2 { + text-transform: uppercase; +} + +#overlay { z-index: 10; position: fixed; - top:0; - left:0; + top: 0; + left: 0; width: 100%; height: 100%; - background-color: rgba(0,0,0,0.8); + background-color: rgba(0, 0, 0, 0.8); } -.paddingbox{ - padding:2mm; +.paddingbox { + padding: 2mm; } -.nav{ +.nav { list-style-type: none; padding: 0em; margin: 0em; } -.nav li{ +.nav li { display: inline; padding: 0.1em; margin-right: 1em; @@ -39,7 +42,8 @@ h2{text-transform: uppercase;} border-bottom-style: solid; cursor: pointer; } -td{ + +td { padding: 0.3em; border-style: none; border-width: 0.1em; @@ -50,13 +54,13 @@ li { list-style: none; } -.btn{ +.btn { cursor: pointer; padding: 0.1em; } -input[type="button"]{ - border:solid 1px rgba(0,0,0,0); +input[type="button"] { + border: solid 1px rgba(0, 0, 0, 0); border-radius: 10px; font-size: 6mm; cursor: pointer; @@ -68,28 +72,39 @@ input[type="button"]{ padding: 0.5rem; text-align: center; text-transform: capitalize; - box-shadow: 5px 5px 5px #333; + box-shadow: 5px 5px 9px #aaa; word-break: break-all; } -.btn2, .box { - border:solid 1px rgba(0,0,0,0); +.btn2, +.box, +.btnSmall { + border: solid 1px rgba(0, 0, 0, 0); border-radius: 10px; font-size: 6mm; cursor: pointer; color: #333; background-color: #f79e3a; - width: 26vw; display: inline-grid; margin: 0.2rem; padding: 0.5rem; text-align: center; text-transform: capitalize; - box-shadow: 5px 5px 5px #333; - word-break: break-all; + box-shadow: 5px 5px 9px #aaa; } -.menu{ - border: solid 1px rgba(0,0,0,0); + +.btn2, +.box +{ + width: 12rem; +} + +.btnSmall { + width: 7rem; +} + +.menu { + border: solid 1px rgba(0, 0, 0, 0); border-radius: 10px; font-size: 0.8em; cursor: pointer; @@ -99,64 +114,63 @@ input[type="button"]{ padding: 0.5rem; text-align: center; text-transform: capitalize; + width: 7rem; } -span.menu:nth-child(2){ - background-color: rgba(0,0,0,0); +span.menu:nth-child(2) { + background-color: rgba(0, 0, 0, 0); + width: 6.3rem; +} + +span.menu:nth-child(16) { + background-color: rgba(0, 0, 0, 0); +} + +li .menu { + background-color: rgba(0,0,0,0.3); } div.btn2:nth-child(9) { - border: rgba(0,0,0,0); - background-color: rgba(0,0,0,0); + border: rgba(0, 0, 0, 0); + background-color: rgba(0, 0, 0, 0); text-decoration: underline; box-shadow: unset; margin-top: 1em; text-align: left !important; font-size: 1em; } -div.btn2:nth-child(9):hover{ - color:#666; -} -.btn2:hover{ - background-color:orangered; - color:white; + +div.btn2:nth-child(9):hover { + color: #666; } -.btnSmall{ - border-style: solid; - /*border-color: orange;*/ - border-color: orange; - /*border-width: 1px;*/ - border-radius: 3mm; - padding: 1mm; - font-size: 100%; - - cursor: pointer; - margin-bottom: 0mm; +.btn2:hover { + background-color: orangered; + color: white; } -.hidden{ - display:none; +.hidden { + display: none; } -.noBorderTable{ - width: 100%; - border: none; - border-collapse: collapse; +.noBorderTable { + width: 100%; + border: none; + border-collapse: collapse; } -.noBorderTD{ - border: none; - border-collapse: collapse; - vertical-align: center; +.noBorderTD { + border: none; + border-collapse: collapse; + vertical-align: center; } -.filelink{ +.filelink { color: inherit; } - -input, textarea{ +input, +textarea { border-color: orange; font-size: 10mm; border-radius: 3mm; @@ -164,27 +178,28 @@ input, textarea{ padding: 2mm; margin-bottom: 1mm; margin-right: 1mm; - /* make the button the whole screen width */ width: 100%; /* make the text input fit small screens*/ box-sizing: border-box; } -input[type="button"]:hover{ - background-color:orangered; + +input[type="button"]:hover { + background-color: orangered; } -textarea#txtNewMsg{ - color: orange; - font-family: monospace; - font-size: 100%; + +/*chat*/ + +textarea#txtNewMsg { + font-size: 100%; border-radius: 3mm; border-width: 1mm; padding: 2mm; margin-bottom: 0mm; margin-right: 1mm; - height:110px; - resize: none; + height: 110px; + resize: none; /* make the button the whole screen width */ width: 100%; /*height: 100%;*/ @@ -192,9 +207,8 @@ textarea#txtNewMsg{ box-sizing: border-box; } - -input#txtMsgKeyword{ - /* color: orange; +input#txtMsgKeyword { + /* color: orange; font-family: monospace; background-color: black;*/ border-color: orange; @@ -204,7 +218,6 @@ input#txtMsgKeyword{ padding: 1mm; margin-bottom: 0mm; margin-right: 1mm; - /* make the button the whole screen width */ width: 100%; /* make the text input fit small screens*/ @@ -215,40 +228,67 @@ input#txtMsgKeyword{ width: auto; } -.flexbox{ - display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ - display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */ - display: -ms-flexbox; /* TWEENER - IE 10 */ - display: -webkit-flex; /* NEW - Chrome */ - display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */ +.flexbox { + display: -webkit-box; + /* OLD - iOS 6-, Safari 3.1-6 */ + display: -moz-box; + /* OLD - Firefox 19- (buggy but mostly works) */ + display: -ms-flexbox; + /* TWEENER - IE 10 */ + display: -webkit-flex; + /* NEW - Chrome */ + display: flex; + /* NEW, Spec - Opera 12.1, Firefox 20+ */ } -.flexwidemember{ - -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */ - -moz-box-flex: 1; /* OLD - Firefox 19- */ - width: 20%; /* For old syntax, otherwise collapses. */ - -webkit-flex: 1; /* Chrome */ - -ms-flex: 1; /* IE 10 */ - flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */ +.flexwidemember { + -webkit-box-flex: 1; + /* OLD - iOS 6-, Safari 3.1-6 */ + -moz-box-flex: 1; + /* OLD - Firefox 19- */ + width: 20%; + /* For old syntax, otherwise collapses. */ + -webkit-flex: 1; + /* Chrome */ + -ms-flex: 1; + /* IE 10 */ + flex: 1; + /* NEW, Spec - Opera 12.1, Firefox 20+ */ } -#logo_splash{ - -webkit-animation-fill-mode: forwards; /* Chrome, Safari, Opera */ +#logo_splash { + -webkit-animation-fill-mode: forwards; + /* Chrome, Safari, Opera */ animation-fill-mode: forwards; - -webkit-animation-name: logo_splash; /* Chrome, Safari, Opera */ - -webkit-animation-duration: 3s; /* Chrome, Safari, Opera */ + -webkit-animation-name: logo_splash; + /* Chrome, Safari, Opera */ + -webkit-animation-duration: 3s; + /* Chrome, Safari, Opera */ animation-name: logo_splash; animation-duration: 3s; text-align: center; } + + /* Chrome, Safari, Opera */ + @-webkit-keyframes logo_splash { - from {opacity: 0;} - to {opacity: 1;} + from { + opacity: 0; + } + to { + opacity: 1; + } } + /* Standard syntax */ + @keyframes logo_splash { - from {opacity: 0;} - to {opacity: 1;} -} + from { + opacity: 0; + } + to { + opacity: 1; + } +} \ No newline at end of file