123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973 |
- /*
- Import the font stylesheet.
- If not supported you can add backup via:
- <link href='https://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'>
- inside your html file.
- */
- @import url("https://fonts.googleapis.com/css?family=Press+Start+2P");
- /**
- * Customized scrollbars
- */
- /* to get pixelated images (nearest-neighbor filter) on all browsers */
- .rpgui-pixelated {
- -ms-interpolation-mode: nearest-neighbor;
- image-rendering: -webkit-optimize-contrast;
- image-rendering: -webkit-crisp-edges;
- image-rendering: -moz-crisp-edges;
- image-rendering: -o-crisp-edges;
- image-rendering: pixelated; }
- /* unselectable text */
- .rpgui-noselect {
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none; }
- /* center things */
- .rpgui-center {
- text-align: center;
- align-content: center; }
- /* rotate object 90 degrees */
- .rpgui-rotate-90 {
- /* rotate 90 degrees */
- -webkit-transform: rotate(90deg);
- -moz-transform: rotate(90deg);
- -o-transform: rotate(90deg);
- -ms-transform: rotate(90deg);
- transform: rotate(90deg);
- /* rotate from center-left side */
- -ms-transform-origin: 0% 50%;
- /* IE 9 */
- -webkit-transform-origin: 0% 50%;
- /* Chrome, Safari, Opera */
- transform-origin: 0% 50%; }
- /**
- * Styling for buttons
- */
- /* button style */
- .rpgui-button {
- /* hide button default stuff */
- background-color: Transparent;
- background-repeat: no-repeat;
- border: none;
- overflow: hidden;
- outline: none;
- /* background */
- background: url("img/button.png") no-repeat no-repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center;
- background-size: 100% 100%;
- /* font size */
- font-size: 1.0em;
- /* default size and display */
- max-width: 100%;
- min-width: 140px;
- height: 60px;
- display: inline-block;
- /* padding */
- padding-left: 35px;
- padding-right: 35px; }
- /* button hover */
- .rpgui-button.hover,
- .rpgui-button:hover {
- background-image: url("img/button-hover.png"); }
- /* button clicked */
- .rpgui-button.down,
- .rpgui-button:active {
- background-image: url("img/button-down.png"); }
- /* golden button stuff */
- .rpgui-button.golden p {
- display: inline-block; }
- /* golden button style */
- .rpgui-button.golden {
- /* hide button default stuff */
- background-color: Transparent;
- background-repeat: no-repeat;
- border: none;
- overflow: hidden;
- outline: none;
- /* background */
- background: url("img/button-golden.png") no-repeat no-repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center;
- background-size: 100% 80%;
- /* default size and display */
- max-width: 100%;
- min-width: 140px;
- height: 60px;
- display: inline-block;
- /* padding */
- padding-top: 5px;
- padding-left: 35px;
- padding-right: 35px;
- overflow: visible; }
- /* button hover */
- .rpgui-button.golden.hover,
- .rpgui-button.golden:hover {
- background-image: url("img/button-golden-hover.png"); }
- /* button clicked */
- .rpgui-button.golden.down,
- .rpgui-button.golden:active {
- background-image: url("img/button-golden-down.png"); }
- .rpgui-button.golden:before {
- white-space: nowrap;
- display: inline-block;
- content: "";
- width: 34px;
- display: block;
- height: 110%;
- background: transparent url("img/button-golden-left.png") no-repeat right center;
- background-size: 100% 100%;
- margin: 0 0 0 0;
- left: 0px;
- float: left;
- margin-left: -46px;
- margin-top: -5%; }
- .rpgui-button.golden:after {
- white-space: nowrap;
- display: block;
- content: "";
- width: 34px;
- height: 110%;
- background: transparent url("img/button-golden-right.png") no-repeat left center;
- background-size: 100% 100%;
- margin: 0 0 0 0;
- right: 0px;
- float: right;
- margin-right: -46px;
- margin-top: -5%; }
- /*
- .rpgui-button.golden:hover:before {
- background-image: url('img/button-golden-left-hover.png');
- }
- .rpgui-button.golden:hover:after {
- background-image: url('img/button-golden-right-hover.png');
- }
- */
- /**
- * style for checkboxes
- */
- /* basic checkbox */
- .rpgui-content input[type=checkbox].rpgui-checkbox {
- display: none; }
- .rpgui-content input[type=checkbox].rpgui-checkbox + label {
- background: url("img/checkbox-off.png") no-repeat;
- line-height: 24px;
- display: inline-block;
- background-size: auto 100%;
- padding-left: 34px;
- height: 24px;
- margin-top: 10px;
- margin-bottom: 10px; }
- .rpgui-content input[type=checkbox].rpgui-checkbox:checked + label {
- background: url("img/checkbox-on.png") no-repeat;
- line-height: 24px;
- display: inline-block;
- background-size: auto 100%;
- padding-left: 34px;
- height: 24px; }
- /* golden checkbox */
- .rpgui-content input[type=checkbox].rpgui-checkbox.golden + label {
- background: url("img/checkbox-golden-off.png") no-repeat;
- background-size: auto 100%; }
- .rpgui-content input[type=checkbox].rpgui-checkbox.golden:checked + label {
- background: url("img/checkbox-golden-on.png") no-repeat;
- background-size: auto 100%; }
- /**
- * global content styling
- */
- /* game div with background image*/
- .rpgui-content {
- padding: 0 0 0 0;
- margin: 0 0 0 0;
- width: 100%;
- height: 100%;
- left: 0px;
- top: 0px;
- position: fixed;
- overflow: hidden;
- font-size: 0.8em; }
- /* general rules to apply on anything inside the content */
- .rpgui-content * {
- /* remove outline effect for input elements etc */
- outline: none;
- /* prevent dragging */
- user-drag: none;
- -webkit-user-drag: none;
- /* prevent text selecting */
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- -webkit-tap-highlight-color: transparent;
- /* pixelated enlargement filter (to keep the pixel-art style when enlarging pictures) */
- -ms-interpolation-mode: nearest-neighbor;
- image-rendering: -webkit-optimize-contrast;
- image-rendering: -webkit-crisp-edges;
- image-rendering: -moz-crisp-edges;
- image-rendering: -o-crisp-edges;
- image-rendering: pixelated;
- /* default font */
- font-family: 'Press Start 2P', cursive; }
- /**
- * customized divs (containers) and framed objects (background and frame image).
- */
- /* game div without background image*/
- .rpgui-container {
- /* position style and default z */
- position: fixed;
- z-index: 10;
- overflow: show; }
- /* game div with background image*/
- .rpgui-container.framed {
- /* border */
- border-style: solid;
- border-image-source: url("img/border-image.png");
- border-image-repeat: repeat;
- border-image-slice: 6 6 6 6;
- border-image-width: 18px;
- border-width: 15px;
- padding: 12px;
- /* internal border */
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- /* background */
- background: url("img/background-image.png") repeat repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center; }
- /* game div with golden background image*/
- .rpgui-container.framed-golden {
- /* border */
- border-style: solid;
- border-image-source: url("img/border-image-golden.png");
- border-image-repeat: repeat;
- border-image-slice: 4 4 4 4;
- border-image-width: 18px;
- border-width: 15px;
- padding: 12px;
- /* internal border */
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- /* background */
- background: url("img/background-image-golden.png") repeat repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center; }
- /* game div with golden2 background image*/
- .rpgui-container.framed-golden-2 {
- /* border */
- border-style: solid;
- border-image-source: url("img/border-image-golden2.png");
- border-image-repeat: repeat;
- border-image-slice: 8 8 8 8;
- border-image-width: 18px;
- border-width: 15px;
- padding: 12px;
- /* internal border */
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- /* background */
- background: url("img/background-image-golden2.png") repeat repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center; }
- /* game div with soft grey background image*/
- .rpgui-container.framed-grey {
- position: relative;
- /* border */
- border-style: solid;
- border-image-source: url("img/border-image-grey.png");
- border-image-repeat: repeat;
- border-image-slice: 3 3 3 3;
- border-image-width: 7px;
- border-width: 7px;
- padding: 12px;
- /* internal border */
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- /* background */
- background: url("img/background-image-grey.png") repeat repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center; }
- /**
- * different cursor graphics
- */
- /* default cursor important */
- /* this rule is for when you specifically request this cursor class */
- .rpgui-cursor-default {
- cursor: url("img/cursor/default.png"), auto !important; }
- /* default cursor, not important, for all elements without any other rule. */
- .rpgui-content,
- label {
- cursor: url("img/cursor/default.png"), auto; }
- /* pointer / hand cursor important */
- /* this rule is for when you specifically request this cursor class */
- .rpgui-cursor-point,
- .rpgui-cursor-point * {
- cursor: url("img/cursor/point.png") 10 0, auto !important; }
- /* pointer / hand cursor, not important, for all elements that have pointer by-default */
- .rpgui-content a,
- .rpgui-content button,
- .rpgui-button,
- .rpgui-slider-container,
- .rpgui-content input[type=radio].rpgui-radio + label,
- .rpgui-list-imp,
- .rpgui-dropdown-imp,
- .rpgui-content input[type=checkbox].rpgui-checkbox + label {
- cursor: url("img/cursor/point.png") 10 0, auto; }
- /* for input / text selection important */
- /* this rule is for when you specifically request this cursor class */
- .rpgui-cursor-select,
- .rpgui-cursor-select * {
- cursor: url("img/cursor/select.png") 10 0, auto !important; }
- /* for input / text selection, not important, for all elements that have pointer by-default */
- .rpgui-cursor-select,
- .rpgui-content input,
- .rpgui-content textarea {
- cursor: url("img/cursor/select.png") 10 0, auto; }
- /* for grabbing stuff */
- /* this rule is for when you specifically request this cursor class */
- .rpgui-cursor-grab-open,
- .rpgui-cursor-grab-open * {
- cursor: url("img/cursor/grab-open.png") 10 0, auto !important; }
- /* for grabbing stuff */
- /* this rule is for when you specifically request this cursor class */
- .rpgui-cursor-grab-close,
- .rpgui-cursor-grab-close * {
- cursor: url("img/cursor/grab-close.png") 10 0, auto !important; }
- /**
- * Customized dropdown with rpgui design.
- */
- /* dropdown box implemented with list (see rpgui-dropdown.js for details) */
- /* note! this class rule affect both the dropdown header and the list elements! */
- .rpgui-dropdown-imp,
- .rpgui-dropdown {
- /* font */
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- color: white;
- /* default size */
- min-height: 40px;
- margin-top: 0px;
- /* border */
- border-style: solid;
- border-width: 7px 7px 7px 7px;
- -moz-border-image: url("img/select-border-image.png") 10% repeat repeat;
- -webkit-border-image: url("img/select-border-image.png") 10% repeat repeat;
- -o-border-image: url("img/select-border-image.png") 10% repeat repeat;
- border-image: url("img/select-border-image.png") 10% repeat repeat;
- /* background */
- background: url("img/select-background-image.png") repeat repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center; }
- /* dropdown options list */
- ul.rpgui-dropdown-imp {
- padding: 0 0 0 0 !important;
- z-index: 100; }
- /* note! this affect only the dropdown header */
- /* shows the currently selected value from select element */
- .rpgui-content .rpgui-dropdown-imp-header {
- color: white !important;
- min-height: 22px !important;
- padding: 5px 10px 0 10px !important;
- margin: 0 0 0 0 !important;
- position: relative !important; }
- /* dropdown options */
- .rpgui-dropdown-imp li {
- /* font */
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- color: white;
- height: 16px;
- /* remove the dot */
- list-style-type: none;
- /* padding */
- padding-top: 6px;
- padding-bottom: 6px;
- padding-left: 6px;
- /* background */
- background: url("img/select-background-image.png") repeat repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center; }
- /* dropdown options hover */
- .rpgui-dropdown-imp li:hover {
- color: yellow; }
- /* dropdown hover */
- .rpgui-dropdown-imp:hover {
- color: yellow; }
- /**
- * hr styling
- */
- /* rpgui hr */
- .rpgui-content hr {
- display: block;
- border: 0px;
- height: 10px;
- background: url("img/hr.png") repeat-x top left; }
- /* rpgui golden hr */
- .rpgui-content hr.golden {
- display: block;
- border: 0px;
- height: 10px;
- background: url("img/hr-golden.png") no-repeat top left;
- background-size: 100% 100%; }
- /**
- * Icon styles.
- */
- .rpgui-icon {
- display: inline-block;
- background-size: 100% 100%;
- background-repeat: no-repeat;
- width: 64px;
- height: 64px; }
- .rpgui-icon.sword {
- background-image: url("img/icons/sword.png"); }
- .rpgui-icon.shield {
- background-image: url("img/icons/shield.png"); }
- .rpgui-icon.exclamation {
- background-image: url("img/icons/exclamation.png"); }
- .rpgui-icon.potion-red {
- background-image: url("img/icons/potion-red.png"); }
- .rpgui-icon.potion-green {
- background-image: url("img/icons/potion-green.png"); }
- .rpgui-icon.potion-blue {
- background-image: url("img/icons/potion-blue.png"); }
- .rpgui-icon.weapon-slot {
- background-image: url("img/icons/weapon-slot.png"); }
- .rpgui-icon.shield-slot {
- background-image: url("img/icons/shield-slot.png"); }
- .rpgui-icon.armor-slot {
- background-image: url("img/icons/armor-slot.png"); }
- .rpgui-icon.helmet-slot {
- background-image: url("img/icons/helmet-slot.png"); }
- .rpgui-icon.ring-slot {
- background-image: url("img/icons/ring-slot.png"); }
- .rpgui-icon.potion-slot {
- background-image: url("img/icons/potion-slot.png"); }
- .rpgui-icon.magic-slot {
- background-image: url("img/icons/magic-slot.png"); }
- .rpgui-icon.shoes-slot {
- background-image: url("img/icons/shoes-slot.png"); }
- .rpgui-icon.empty-slot {
- background-image: url("img/icons/empty-slot.png"); }
- /**
- * input styling
- */
- /* input/textarea input */
- .rpgui-content input,
- .rpgui-content textarea {
- /* set size and colors */
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- color: white;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 0.9em;
- line-height: 32px;
- background: #4e4a4e;
- max-width: 100%;
- width: 100%;
- padding-left: 10px;
- /* for ie */
- min-height: 30px;
- /* enable text selecting */
- -webkit-touch-callout: text;
- -webkit-user-select: text;
- -khtml-user-select: text;
- -moz-user-select: text;
- -ms-user-select: text;
- user-select: text;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0.5); }
- /* textarea extra rules */
- .rpgui-content textarea {
- line-height: 22px;
- padding-top: 7px;
- height: 80px;
- resize: none; }
- /* selection highlight */
- .rpgui-content input::selection,
- .rpgui-content textarea::selection {
- background: rgba(0, 0, 0, 0.5); }
- .rpgui-content input::-moz-selection,
- .rpgui-content textarea::-moz-selection {
- background: rgba(0, 0, 0, 0.5); }
- /* dropdown box implemented with list (see rpgui-dropdown.js for details) */
- /* note! this class rule affect both the dropdown header and the list elements! */
- .rpgui-list-imp {
- /* font */
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- color: white;
- /* default size */
- min-height: 40px;
- margin-top: 0px;
- /* scrollers */
- overflow-x: hidden;
- overflow-y: scroll;
- /* border */
- border-style: solid;
- border-width: 7px 7px 7px 7px;
- -moz-border-image: url("img/select-border-image.png") 10% repeat repeat;
- -webkit-border-image: url("img/select-border-image.png") 10% repeat repeat;
- -o-border-image: url("img/select-border-image.png") 10% repeat repeat;
- border-image: url("img/select-border-image.png") 10% repeat repeat;
- /* background */
- background: url("img/select-background-image.png") repeat repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center; }
- /* dropdown options list */
- ul.rpgui-list-imp {
- padding: 0 0 0 0 !important;
- z-index: 100; }
- /* dropdown options */
- .rpgui-list-imp li {
- /* font */
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- color: white;
- height: 16px;
- margin-left: 5px !important;
- /* remove the dot */
- list-style-type: none;
- /* padding */
- padding-top: 6px;
- padding-bottom: 6px;
- padding-left: 6px;
- /* background */
- background: url("img/select-background-image.png") repeat repeat;
- background-clip: padding-box;
- background-origin: padding-box;
- background-position: center; }
- /* list options hover */
- .rpgui-list-imp li:hover {
- color: yellow; }
- /* list hover */
- .rpgui-list-imp:hover {
- color: yellow; }
- .rpgui-list-imp .rpgui-selected {
- background: rgba(0, 0, 0, 0.3); }
- /**
- * Paragraphs and headers while inside an rpgui container.
- */
- /* default gui header */
- .rpgui-content h1 {
- /* color and border */
- color: white;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 1.14em;
- /* center text */
- text-align: center;
- /* padding */
- padding: 0 0 0 0;
- margin: 7px 7px 17px 7px; }
- /* default gui header2 */
- .rpgui-content h2 {
- /* color and border */
- color: white;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 1.25em;
- /* center text */
- text-align: center;
- /* padding */
- padding: 0 0 0 0;
- margin: 7px 7px 17px 7px; }
- /* default gui header3 */
- .rpgui-content h3 {
- /* color and border */
- color: white;
- font-weight: 1;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 1.15em;
- text-decoration: underline;
- /* center text */
- text-align: center;
- /* padding */
- padding: 0 0 0 0;
- margin: 7px 7px 17px 7px; }
- /* default gui header4 */
- .rpgui-content h4 {
- /* color and border */
- color: white;
- font-weight: 1;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 1.0em;
- text-decoration: underline;
- /* center text */
- text-align: center;
- /* padding */
- padding: 0 0 0 0;
- margin: 7px 7px 17px 7px; }
- /* default p */
- .rpgui-content p {
- /* color and border */
- color: white;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 1.0em;
- line-height: 22px; }
- /* default span */
- .rpgui-content span {
- /* color and border */
- color: white;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 1.0em;
- line-height: 22px; }
- /* default gui link */
- .rpgui-content a {
- /* color and border */
- color: yellow;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 1.0em;
- line-height: 22px;
- text-decoration: none; }
- /* default gui link */
- .rpgui-content a:hover {
- text-decoration: underline; }
- /* default gui label */
- .rpgui-content label {
- /* color and border */
- color: white;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 1.0em;
- line-height: 20px;
- display: inline; }
- /* default gui label */
- .rpgui-content li {
- /* color and border */
- margin-left: 20px;
- color: white;
- text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
- font-size: 1.0em;
- line-height: 22px; }
- /*
- * progress bar styling
- */
- /* progress bar container */
- .rpgui-progress {
- height: 42px;
- width: 100%;
- margin-top: 5px;
- margin-bottom: 5px;
- position: relative; }
- /* progress bar left edge */
- .rpgui-progress-left-edge {
- position: absolute;
- height: 42px;
- width: 40px;
- left: 0px;
- background-image: url("img/progress-bar-left.png");
- background-size: 100% 100%; }
- /* progress bar right edge */
- .rpgui-progress-right-edge {
- position: absolute;
- height: 42px;
- width: 40px;
- right: 0px;
- background-image: url("img/progress-bar-right.png");
- background-size: 100% 100%; }
- /* progress bar background track */
- .rpgui-progress-track {
- position: absolute;
- height: 42px;
- left: 40px;
- right: 40px;
- background-image: url("img/progress-bar-track.png");
- background-repeat: repeat-x;
- background-size: 36px 100%; }
- /* progress bar - the fill itself */
- .rpgui-progress-fill {
- position: absolute;
- top: 9px;
- bottom: 8px;
- left: 0;
- width: 100%;
- background-image: url("img/progress.png");
- background-repeat: repeat-x;
- background-size: 36px 100%; }
- /* progress bar - blue color */
- .rpgui-progress-fill.blue {
- background-image: url("img/progress-blue.png"); }
- /* progress bar - green color */
- .rpgui-progress-fill.green {
- background-image: url("img/progress-green.png"); }
- /* progress bar - red color */
- .rpgui-progress-fill.red {
- background-image: url("img/progress-red.png"); }
- /**
- * style for radioes
- */
- /* radio box */
- .rpgui-content input[type=radio].rpgui-radio {
- display: none; }
- .rpgui-content input[type=radio].rpgui-radio + label {
- background: url("img/radio-off.png") no-repeat;
- line-height: 24px;
- display: inline-block;
- background-size: auto 100%;
- padding-left: 34px;
- height: 24px;
- margin-top: 8px;
- margin-bottom: 8px; }
- .rpgui-content input[type=radio].rpgui-radio:checked + label {
- background: url("img/radio-on.png") no-repeat;
- line-height: 24px;
- display: inline-block;
- background-size: auto 100%;
- padding-left: 34px;
- height: 24px; }
- /* golden radio */
- .rpgui-content .rpgui-radio.golden + label {
- background: url("img/radio-golden-off.png") no-repeat !important;
- background-size: auto 100% !important; }
- .rpgui-content .rpgui-radio.golden:checked + label {
- background: url("img/radio-golden-on.png") no-repeat !important;
- background-size: auto 100% !important; }
- /**
- * Rules for misc and general things.
- */
- /* set scrollbars for webkit browsers (like chrome) */
- .rpgui-content ::-webkit-scrollbar,
- .rpgui-content::-webkit-scrollbar {
- width: 18px; }
- /* Track */
- .rpgui-content ::-webkit-scrollbar-track,
- .rpgui-content::-webkit-scrollbar-track {
- background-image: url("img/scrollbar-track.png");
- background-size: 18px 60px;
- background-repeat: repeat-y; }
- /* Handle */
- .rpgui-content ::-webkit-scrollbar-thumb,
- .rpgui-content::-webkit-scrollbar-thumb {
- background-image: url("img/scrollbar-thumb.png");
- background-size: 100% 100%;
- background-repeat: no-repeat; }
- /* buttons */
- .rpgui-content ::-webkit-scrollbar-button,
- .rpgui-content::-webkit-scrollbar-button {
- background-image: url("img/scrollbar-button.png");
- background-size: 100% 100%;
- background-repeat: no-repeat; }
- /**
- * for disabled elements
- */
- /* disabled object */
- .rpgui-disabled,
- .rpgui-content :disabled,
- .rpgui-content input[type=radio]:disabled + label,
- .rpgui-content input[type=checkbox]:disabled + label,
- .rpgui-content input[type=range]:disabled + .rpgui-slider-container,
- .rpgui-content :disabled + .rpgui-dropdown-imp,
- .rpgui-content :disabled + .rpgui-dropdown-imp + .rpgui-dropdown-imp,
- .rpgui-content :disabled + .rpgui-list-imp {
- cursor: url("img/cursor/default.png"), auto;
- -webkit-filter: grayscale(1);
- -webkit-filter: grayscale(100%);
- filter: grayscale(100%);
- filter: url(#greyscale);
- filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
- filter: gray;
- color: #999; }
- /**
- * Rules for the slider.
- */
- /* regular slider stuff */
- /* slider container */
- .rpgui-slider-container {
- height: 20px;
- width: 100%;
- margin-top: 15px;
- margin-bottom: 15px;
- position: relative; }
- /* slider left edge */
- .rpgui-slider-left-edge {
- position: absolute;
- height: 20px;
- width: 20px;
- left: 0px;
- background-image: url("img/slider-left.png");
- background-size: 100% 100%; }
- /* slider right edge */
- .rpgui-slider-right-edge {
- position: absolute;
- height: 20px;
- width: 20px;
- right: 0px;
- background-image: url("img/slider-right.png");
- background-size: 100% 100%; }
- /* slider background track */
- .rpgui-slider-track {
- position: absolute;
- height: 20px;
- left: 0;
- right: 0;
- background-image: url("img/slider-track.png");
- background-repeat: repeat-x;
- background-size: 24px 100%; }
- /* the part of the slider that moves and indicates the value */
- .rpgui-slider-thumb {
- position: absolute;
- height: 30px;
- width: 15px;
- margin-top: -5px;
- left: 40px;
- background-image: url("img/slider-thumb.png");
- background-size: 100% 100%; }
- /* golden slider stuff */
- /* golden slider container */
- .rpgui-slider-container.golden {
- height: 30px;
- width: 100%;
- margin-top: 15px;
- margin-bottom: 15px;
- position: relative; }
- /* golden slider left edge */
- .rpgui-slider-left-edge.golden {
- position: absolute;
- height: 30px;
- width: 30px;
- left: 0px;
- background-image: url("img/slider-left-golden.png");
- background-size: 100% 100%; }
- /* golden slider right edge */
- .rpgui-slider-right-edge.golden {
- position: absolute;
- height: 30px;
- width: 30px;
- right: 0px;
- background-image: url("img/slider-right-golden.png");
- background-size: 100% 100%; }
- /* golden slider background track */
- .rpgui-slider-track.golden {
- position: absolute;
- height: 30px;
- left: 0;
- right: 0;
- background-image: url("img/slider-track-golden.png");
- background-repeat: repeat-x;
- background-size: 40px 100%; }
- /* golden the part of the slider that moves and indicates the value */
- .rpgui-slider-thumb.golden {
- position: absolute;
- height: 36px;
- width: 18px;
- margin-top: -4px;
- left: 40px;
- background-image: url("img/slider-thumb-golden.png");
- background-size: 100% 100%; }
|