UNPKG

cu-styles

Version:

Camelot Unchained Client Library - Styles

1,466 lines (1,323 loc) 211 kB
/** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ /** * 1. Set default font family to sans-serif. * 2. Prevent iOS and IE text size adjust after device orientation change, * without disabling user zoom. */ html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /** * Remove default margin. */ body { margin: 0; } /* HTML5 display definitions ========================================================================== */ /** * Correct `block` display not defined for any HTML5 element in IE 8/9. * Correct `block` display not defined for `details` or `summary` in IE 10/11 * and Firefox. * Correct `block` display not defined for `main` in IE 11. */ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } /** * 1. Correct `inline-block` display not defined in IE 8/9. * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */ audio, canvas, progress, video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } /** * Prevent modern browsers from displaying `audio` without controls. * Remove excess height in iOS 5 devices. */ audio:not([controls]) { display: none; height: 0; } /** * Address `[hidden]` styling not present in IE 8/9/10. * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. */ [hidden], template { display: none; } /* Links ========================================================================== */ /** * Remove the gray background color from active links in IE 10. */ a { background-color: transparent; } /** * Improve readability of focused elements when they are also in an * active/hover state. */ a:active, a:hover { outline: 0; } /* Text-level semantics ========================================================================== */ /** * Address styling not present in IE 8/9/10/11, Safari, and Chrome. */ abbr[title] { border-bottom: 1px dotted; } /** * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */ b, strong { font-weight: bold; } /** * Address styling not present in Safari and Chrome. */ dfn { font-style: italic; } /** * Address variable `h1` font-size and margin within `section` and `article` * contexts in Firefox 4+, Safari, and Chrome. */ h1 { font-size: 2em; margin: 0.67em 0; } /** * Address styling not present in IE 8/9. */ mark { background: #ff0; color: #000; } /** * Address inconsistent and variable font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` affecting `line-height` in all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } /* Embedded content ========================================================================== */ /** * Remove border when inside `a` element in IE 8/9/10. */ img { border: 0; } /** * Correct overflow not hidden in IE 9/10/11. */ svg:not(:root) { overflow: hidden; } /* Grouping content ========================================================================== */ /** * Address margin not present in IE 8/9 and Safari. */ figure { margin: 1em 40px; } /** * Address differences between Firefox and other browsers. */ hr { box-sizing: content-box; height: 0; } /** * Contain overflow in all browsers. */ pre { overflow: auto; } /** * Address odd `em`-unit font size rendering in all browsers. */ code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } /* Forms ========================================================================== */ /** * Known limitation: by default, Chrome and Safari on OS X allow very limited * styling of `select`, unless a `border` property is set. */ /** * 1. Correct color not being inherited. * Known issue: affects color of disabled elements. * 2. Correct font properties not being inherited. * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */ button, input, optgroup, select, textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ } /** * Address `overflow` set to `hidden` in IE 8/9/10/11. */ button { overflow: visible; } /** * Address inconsistent `text-transform` inheritance for `button` and `select`. * All other form control elements do not inherit `text-transform` values. * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. * Correct `select` style inheritance in Firefox. */ button, select { text-transform: none; } /** * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` * and `video` controls. * 2. Correct inability to style clickable `input` types in iOS. * 3. Improve usability and consistency of cursor style between image-type * `input` and others. */ button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } /** * Re-set default cursor for disabled elements. */ button[disabled], html input[disabled] { cursor: default; } /** * Remove inner padding and border in Firefox 4+. */ button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } /** * Address Firefox 4+ setting `line-height` on `input` using `!important` in * the UA stylesheet. */ input { line-height: normal; } /** * It's recommended that you don't attempt to style these elements. * Firefox's implementation doesn't respect box-sizing, padding, or width. * * 1. Address box sizing set to `content-box` in IE 8/9/10. * 2. Remove excess padding in IE 8/9/10. */ input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Fix the cursor style for Chrome's increment/decrement buttons. For certain * `font-size` values of the `input`, it causes the cursor style of the * decrement button to change from `default` to `text`. */ input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Address `appearance` set to `searchfield` in Safari and Chrome. * 2. Address `box-sizing` set to `border-box` in Safari and Chrome. */ input[type="search"] { -webkit-appearance: textfield; /* 1 */ box-sizing: content-box; /* 2 */ } /** * Remove inner padding and search cancel button in Safari and Chrome on OS X. * Safari (but not Chrome) clips the cancel button when the search input has * padding (and `textfield` appearance). */ input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * Define consistent border, margin, and padding. */ fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } /** * 1. Correct `color` not being inherited in IE 8/9/10/11. * 2. Remove padding so people aren't caught out if they zero out fieldsets. */ legend { border: 0; /* 1 */ padding: 0; /* 2 */ } /** * Remove default vertical scrollbar in IE 8/9/10/11. */ textarea { overflow: auto; } /** * Don't inherit the `font-weight` (applied by a rule above). * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */ optgroup { font-weight: bold; } /* Tables ========================================================================== */ /** * Remove most spacing between table cells. */ table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } @-moz-viewport { width: device-width; } @-ms-viewport { width: device-width; } @-o-viewport { width: device-width; } @-webkit-viewport { width: device-width; } @viewport { width: device-width; } html { font-size: 12px; -webkit-tap-highlight-color: transparent; } body { font-family: "Merriweather Sans", sans-serif; font-size: 1rem; line-height: 1.5; color: #111111; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; } p { margin-top: 0; margin-bottom: 1rem; } ol, ul, dl { margin-top: 0; margin-bottom: 1rem; } dt { font-weight: bold; } dd { margin-bottom: .5rem; margin-left: 0; } blockquote { margin: 0 0 1rem; } a { text-decoration: none; } a:hover, a:focus, a:active { text-decoration: none; } pre { margin-top: 0; margin-bottom: 1rem; } img { vertical-align: middle; } th { text-align: left; } label { display: inline-block; margin-bottom: .5rem; } input, button, select, textarea { margin: 0; line-height: inherit; } textarea { resize: vertical; } fieldset { min-width: 0; padding: 0; margin: 0; border: 0; } legend { display: block; width: 100%; padding: 0; margin-bottom: .5rem; font-size: 1.5rem; line-height: inherit; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .cu-selectable { cursor: auto; -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; } .cu-selectable > * { cursor: auto; -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; } .cu-not-selectable { cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .cu-not-selectable > * { cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .cu-cursor-default { cursor: default; } .cu-cursor-auto { cursor: auto; } .cu-cursor-pointer { cursor: pointer; } button, a, input[type="button"], input[type="submit"] { cursor: pointer !important; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400; src: url("typography/fonts/Cinzel-normal-400.woff") format("woff"); } @font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700; src: url("typography/fonts/Cinzel-normal-700.woff") format("woff"); } @font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 900; src: url("typography/fonts/Cinzel-normal-900.woff") format("woff"); } .cu-font-cinzel { font-family: 'Cinzel', serif; } @font-face { font-family: 'Merriweather Sans'; font-style: normal; font-weight: 300; src: url("typography/fonts/Merriweather_Sans-normal-300.woff") format("woff"); } @font-face { font-family: 'Merriweather Sans'; font-style: normal; font-weight: 400; src: url("typography/fonts/Merriweather_Sans-normal-400.woff") format("woff"); } @font-face { font-family: 'Merriweather Sans'; font-style: normal; font-weight: 700; src: url("typography/fonts/Merriweather_Sans-normal-700.woff") format("woff"); } @font-face { font-family: 'Merriweather Sans'; font-style: normal; font-weight: 800; src: url("typography/fonts/Merriweather_Sans-normal-800.woff") format("woff"); } @font-face { font-family: 'Merriweather Sans'; font-style: italic; font-weight: 300; src: url("typography/fonts/Merriweather_Sans-italic-300.woff") format("woff"); } @font-face { font-family: 'Merriweather Sans'; font-style: italic; font-weight: 400; src: url("typography/fonts/Merriweather_Sans-italic-400.woff") format("woff"); } @font-face { font-family: 'Merriweather Sans'; font-style: italic; font-weight: 700; src: url("typography/fonts/Merriweather_Sans-italic-700.woff") format("woff"); } @font-face { font-family: 'Merriweather Sans'; font-style: italic; font-weight: 800; src: url("typography/fonts/Merriweather_Sans-italic-800.woff") format("woff"); } .cu-font-merriweather-sans { font-family: 'Merriweather Sans', sans-serif; } @font-face { font-family: 'Trade Winds'; font-style: normal; font-weight: 400; src: url("typography/fonts/Trade_Winds-normal-400.woff") format("woff"); } .cu-font-trade-winds { font-family: 'Trade Winds', cursive; } @font-face { font-family: 'Roboto Mono'; font-style: normal; font-weight: 400; src: url("typography/fonts/Roboto_Mono-normal-400.woff") format("woff"); } @font-face { font-family: 'Roboto Mono'; font-style: normal; font-weight: 500; src: url("typography/fonts/Roboto_Mono-normal-500.woff") format("woff"); } .cu-font-roboto-mono { font-family: 'Roboto Mono', monospace; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .cu-text-left { text-align: left; } .cu-text-center { text-align: center; } .cu-text-right { text-align: right; } .cu-text-normal { font-style: normal; } .cu-text-italic { font-style: italic; } .cu-text-oblique { font-style: oblique; } .cu-text-uppercase { text-transform: uppercase; } .cu-text-lowercase { text-transform: lowercase; } .cu-text-capitalize { text-transform: capitalize; } .cu-text-smallcaps { font-variant: small-caps; } .cu-text-shadow { text-shadow: 0 0 1px #010101; } .cu-text-underline { text-decoration: underline; } .cu-text-overline { text-decoration: overline; } .cu-text-strikethrough { text-decoration: line-through; } .cu-text-bold { font-weight: bold; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .cu-list-inline { padding: 0; display: inline-block; } .cu-list-inline li { display: inline-block; } .cu-list-unsyled { list-style: none; } .cu-list-unsyled li { list-style: none; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .cu-table { width: 100%; } .cu-table th { font-weight: bold; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .cu-color-yellow { color: #AA9739; } .cu-color-yellow-dark { color: #978633; } .cu-color-yellow-light { color: #bda83f; } .cu-color-red { color: #6c0c00; } .cu-color-red-dark { color: #390600; } .cu-color-red-light { color: #860f00; } .cu-color-blue { color: #002d4c; } .cu-color-blue-dark { color: #001e33; } .cu-color-blue-light { color: #003c66; } .cu-color-green { color: #1a4c00; } .cu-color-green-dark { color: #113300; } .cu-color-green-light { color: #2b7f00; } .cu-color-brown { color: #35200b; } .cu-color-brown-dark { color: #201307; } .cu-color-brown-light { color: #5f3914; } .cu-color-dark { color: #111111; } .cu-color-gray { color: #777777; } .cu-color-light { color: #efefef; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .cu-bg-color-yellow { background-color: #AA9739; } .cu-bg-color-yellow-dark { background-color: #978633; } .cu-bg-color-yellow-light { background-color: #bda83f; } .cu-bg-color-red { background-color: #6c0c00; } .cu-bg-color-red-dark { background-color: #390600; } .cu-bg-color-red-light { background-color: #860f00; } .cu-bg-color-blue { background-color: #002d4c; } .cu-bg-color-blue-dark { background-color: #001e33; } .cu-bg-color-blue-light { background-color: #003c66; } .cu-bg-color-green { background-color: #1a4c00; } .cu-bg-color-green-dark { background-color: #113300; } .cu-bg-color-green-light { background-color: #2b7f00; } .cu-bg-color-brown { background-color: #35200b; } .cu-bg-color-brown-dark { background-color: #201307; } .cu-bg-color-brown-light { background-color: #5f3914; } .cu-bg-color-dark { background-color: #111111; } .cu-bg-color-gray { background-color: #777777; } .cu-bg-color-light { background-color: #efefef; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .cu-window { width: 100%; height: 100%; display: flex; flex-direction: column; color: #efefef; } .cu-window.cu-window-auto-size { height: auto; display: block; } .cu-window .cu-window-header { position: relative; width: 100%; min-height: 37px; } .cu-window .cu-window-header:before, .cu-window .cu-window-header:after { content: ' '; display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; } .cu-window .cu-window-content { position: relative; width: 100%; height: 100%; } .cu-window .cu-window-content:before, .cu-window .cu-window-content:after { content: ' '; display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; } .cu-window .cu-window-footer { position: relative; width: 100%; min-height: 45px; } .cu-window .cu-window-footer:before, .cu-window .cu-window-footer:after { content: ' '; display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; } .cu-window.cu-window-transparent .cu-window-header:before { opacity: 0.9; } .cu-window.cu-window-transparent .cu-window-header:after { opacity: 0.9; } .cu-window.cu-window-transparent .cu-window-content:before { opacity: 0.5; } .cu-window.cu-window-transparent .cu-window-content:after { opacity: 0.9; } .cu-window.cu-window-transparent .cu-window-footer:before { opacity: 0.9; } .cu-window.cu-window-transparent .cu-window-footer:after { opacity: 0.9; } .cu-window .cu-window-header { cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; display: -webkit-box; display: -moz-box; display: box; display: -webkit-flex; display: -moz-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -moz-box-orient: horizontal; box-orient: horizontal; -webkit-box-direction: normal; -moz-box-direction: normal; box-direction: normal; -webkit-flex-direction: row; -moz-flex-direction: row; flex-direction: row; -ms-flex-direction: row; -webkit-box-align: center; -moz-box-align: center; box-align: center; -webkit-align-items: center; -moz-align-items: center; -ms-align-items: center; -o-align-items: center; align-items: center; -ms-flex-align: center; padding: 6px 15px; } .cu-window .cu-window-header > * { cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .cu-window .cu-window-header:after { bottom: -7px; background: url("window/default/images/top-left-header.png") no-repeat top left, url("window/default/images/top-right-header.png") no-repeat top right, url("window/default/images/top-background.png") no-repeat top center/100% 44px; background: url("window/default/images/top-left-header.png") no-repeat top left, url("window/default/images/top-right-header.png") no-repeat top right, url("window/default/images/top-background.png") no-repeat top center/100% 44px; } .cu-window .cu-window-header:before { margin-top: 2px; margin-bottom: 6px; } .cu-window .cu-window-content { text-shadow: 0 0 1px #000000; cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding: 0 10px; } .cu-window .cu-window-content > * { cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .cu-window .cu-window-content .cu-window-actions { top: 6px; } .cu-window :first-child:nth-last-child(2) ~ .cu-window-content:after { background: url("window/default/images/bottom-left.png") no-repeat bottom left, url("window/default/images/bottom-right.png") no-repeat bottom right; background: url("window/default/images/bottom-left.png") no-repeat bottom left, url("window/default/images/bottom-right.png") no-repeat bottom right; } .cu-window :first-child:nth-last-child(2).cu-window-content:after { background: url("window/default/images/top-left.png") no-repeat top left, url("window/default/images/top-right.png") no-repeat top right; background: url("window/default/images/top-left.png") no-repeat top left, url("window/default/images/top-right.png") no-repeat top right; } .cu-window :first-child:nth-last-child(1).cu-window-content { padding-top: 6px; padding-bottom: 6px; } .cu-window :first-child:nth-last-child(1).cu-window-content:after { background: url("window/default/images/bottom-left.png") no-repeat bottom left, url("window/default/images/bottom-right.png") no-repeat bottom right, url("window/default/images/top-left.png") no-repeat top left, url("window/default/images/top-right.png") no-repeat top right; background: url("window/default/images/bottom-left.png") no-repeat bottom left, url("window/default/images/bottom-right.png") no-repeat bottom right, url("window/default/images/top-left.png") no-repeat top left, url("window/default/images/top-right.png") no-repeat top right; } .cu-window .cu-window-footer { cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding-top: 12px; padding-bottom: 8px; } .cu-window .cu-window-footer > * { cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .cu-window .cu-window-footer:after { top: -4px; background: url("window/default/images/bottom-left-footer.png") no-repeat bottom left, url("window/default/images/bottom-right-footer.png") no-repeat bottom right, url("window/default/images/bottom-background.png") no-repeat bottom center/100% 49px; background: url("window/default/images/bottom-left-footer.png") no-repeat bottom left, url("window/default/images/bottom-right-footer.png") no-repeat bottom right, url("window/default/images/bottom-background.png") no-repeat bottom center/100% 49px; } .cu-window .cu-window-footer:before { margin-top: 4px; margin-bottom: 4px; } .cu-window .cu-window-header:before { background: -webkit-linear-gradient( top , #0e0e0e 0%, #373737 50%, #373737 50%, #272727 50%, #272727 50%, #0c0c0c 100%); background: linear-gradient(to bottom, #0e0e0e 0%, #373737 50%, #373737 50%, #272727 50%, #272727 50%, #0c0c0c 100%); } .cu-window .cu-window-footer:before { background: #111111; background: #111111; } .cu-window .cu-window-content:before { background: -webkit-linear-gradient(#111111, #111111) no-repeat center center/calc(100% - 18px) 100%; background: linear-gradient(#111111, #111111) no-repeat center center/calc(100% - 18px) 100%; } .cu-window :first-child:nth-last-child(2) ~ .cu-window-content:before { background: -webkit-linear-gradient(#111111, #111111) no-repeat center top/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#111111, #111111) no-repeat center top/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(2).cu-window-content:before { background: -webkit-linear-gradient(#111111, #111111) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#111111, #111111) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(1).cu-window-content:before { background: -webkit-linear-gradient(#111111, #111111) no-repeat center center/calc(100% - 18px) calc(100% - 10px); background: linear-gradient(#111111, #111111) no-repeat center center/calc(100% - 18px) calc(100% - 10px); } .cu-window .cu-window-bg-red.cu-window-header:before { background: -webkit-linear-gradient( top , #b91500 0%, #860f00 50%, #6c0c00 50%, #390600 100%); background: linear-gradient(to bottom, #b91500 0%, #860f00 50%, #6c0c00 50%, #390600 100%); } .cu-window .cu-window-bg-red.cu-window-footer:before { background: #6c0c00; background: #6c0c00; } .cu-window .cu-window-content.cu-window-bg-red:before { background: -webkit-linear-gradient(#6c0c00, #6c0c00) no-repeat center center/calc(100% - 18px) 100%; background: linear-gradient(#6c0c00, #6c0c00) no-repeat center center/calc(100% - 18px) 100%; } .cu-window :first-child:nth-last-child(2) ~ .cu-window-content.cu-window-bg-red:before { background: -webkit-linear-gradient(#6c0c00, #6c0c00) no-repeat center top/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#6c0c00, #6c0c00) no-repeat center top/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(2).cu-window-content.cu-window-bg-red:before { background: -webkit-linear-gradient(#6c0c00, #6c0c00) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#6c0c00, #6c0c00) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(1).cu-window-content.cu-window-bg-red:before { background: -webkit-linear-gradient(#6c0c00, #6c0c00) no-repeat center center/calc(100% - 18px) calc(100% - 10px); background: linear-gradient(#6c0c00, #6c0c00) no-repeat center center/calc(100% - 18px) calc(100% - 10px); } .cu-window .cu-window-bg-green.cu-window-header:before { background: -webkit-linear-gradient( top , #2b7f00 0%, #1a4c00 50%, #113300 50%, #091900 100%); background: linear-gradient(to bottom, #2b7f00 0%, #1a4c00 50%, #113300 50%, #091900 100%); } .cu-window .cu-window-bg-green.cu-window-footer:before { background: #113300; background: #113300; } .cu-window .cu-window-content.cu-window-bg-green:before { background: -webkit-linear-gradient(#1a4c00, #1a4c00) no-repeat center center/calc(100% - 18px) 100%; background: linear-gradient(#1a4c00, #1a4c00) no-repeat center center/calc(100% - 18px) 100%; } .cu-window :first-child:nth-last-child(2) ~ .cu-window-content.cu-window-bg-green:before { background: -webkit-linear-gradient(#1a4c00, #1a4c00) no-repeat center top/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#1a4c00, #1a4c00) no-repeat center top/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(2).cu-window-content.cu-window-bg-green:before { background: -webkit-linear-gradient(#1a4c00, #1a4c00) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#1a4c00, #1a4c00) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(1).cu-window-content.cu-window-bg-green:before { background: -webkit-linear-gradient(#1a4c00, #1a4c00) no-repeat center center/calc(100% - 18px) calc(100% - 10px); background: linear-gradient(#1a4c00, #1a4c00) no-repeat center center/calc(100% - 18px) calc(100% - 10px); } .cu-window .cu-window-bg-blue.cu-window-header:before { background: -webkit-linear-gradient( top , #005a99 0%, #003c66 50%, #002d4c 50%, #001e33 100%); background: linear-gradient(to bottom, #005a99 0%, #003c66 50%, #002d4c 50%, #001e33 100%); } .cu-window .cu-window-bg-blue.cu-window-footer:before { background: #001e33; background: #001e33; } .cu-window .cu-window-content.cu-window-bg-blue:before { background: -webkit-linear-gradient(#002d4c, #002d4c) no-repeat center center/calc(100% - 18px) 100%; background: linear-gradient(#002d4c, #002d4c) no-repeat center center/calc(100% - 18px) 100%; } .cu-window :first-child:nth-last-child(2) ~ .cu-window-content.cu-window-bg-blue:before { background: -webkit-linear-gradient(#002d4c, #002d4c) no-repeat center top/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#002d4c, #002d4c) no-repeat center top/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(2).cu-window-content.cu-window-bg-blue:before { background: -webkit-linear-gradient(#002d4c, #002d4c) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#002d4c, #002d4c) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(1).cu-window-content.cu-window-bg-blue:before { background: -webkit-linear-gradient(#002d4c, #002d4c) no-repeat center center/calc(100% - 18px) calc(100% - 10px); background: linear-gradient(#002d4c, #002d4c) no-repeat center center/calc(100% - 18px) calc(100% - 10px); } .cu-window .cu-window-bg-yellow.cu-window-header:before { background: -webkit-linear-gradient( top , #AA9739 0%, #84752c 50%, #716426 50%, #4b4219 100%); background: linear-gradient(to bottom, #AA9739 0%, #84752c 50%, #716426 50%, #4b4219 100%); } .cu-window .cu-window-bg-yellow.cu-window-footer:before { background: #978633; background: #978633; } .cu-window .cu-window-content.cu-window-bg-yellow:before { background: -webkit-linear-gradient(#AA9739, #AA9739) no-repeat center center/calc(100% - 18px) 100%; background: linear-gradient(#AA9739, #AA9739) no-repeat center center/calc(100% - 18px) 100%; } .cu-window :first-child:nth-last-child(2) ~ .cu-window-content.cu-window-bg-yellow:before { background: -webkit-linear-gradient(#AA9739, #AA9739) no-repeat center top/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#AA9739, #AA9739) no-repeat center top/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(2).cu-window-content.cu-window-bg-yellow:before { background: -webkit-linear-gradient(#AA9739, #AA9739) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#AA9739, #AA9739) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(1).cu-window-content.cu-window-bg-yellow:before { background: -webkit-linear-gradient(#AA9739, #AA9739) no-repeat center center/calc(100% - 18px) calc(100% - 10px); background: linear-gradient(#AA9739, #AA9739) no-repeat center center/calc(100% - 18px) calc(100% - 10px); } .cu-window .cu-window-bg-brown.cu-window-header:before { background: -webkit-linear-gradient( top , #5f3914 0%, #35200b 50%, #201307 50%, #0b0602 100%); background: linear-gradient(to bottom, #5f3914 0%, #35200b 50%, #201307 50%, #0b0602 100%); } .cu-window .cu-window-bg-brown.cu-window-footer:before { background: #201307; background: #201307; } .cu-window .cu-window-content.cu-window-bg-brown:before { background: -webkit-linear-gradient(#35200b, #35200b) no-repeat center center/calc(100% - 18px) 100%; background: linear-gradient(#35200b, #35200b) no-repeat center center/calc(100% - 18px) 100%; } .cu-window :first-child:nth-last-child(2) ~ .cu-window-content.cu-window-bg-brown:before { background: -webkit-linear-gradient(#35200b, #35200b) no-repeat center top/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#35200b, #35200b) no-repeat center top/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(2).cu-window-content.cu-window-bg-brown:before { background: -webkit-linear-gradient(#35200b, #35200b) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); background: linear-gradient(#35200b, #35200b) no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(1).cu-window-content.cu-window-bg-brown:before { background: -webkit-linear-gradient(#35200b, #35200b) no-repeat center center/calc(100% - 18px) calc(100% - 10px); background: linear-gradient(#35200b, #35200b) no-repeat center center/calc(100% - 18px) calc(100% - 10px); } .cu-window .cu-window-content.cu-window-bg-canvas:before { background: url("window/images/canvas-effect.png") no-repeat center center/calc(100% - 18px) 100%; background: url("window/images/canvas-effect.png") no-repeat center center/calc(100% - 18px) 100%; } .cu-window :first-child:nth-last-child(2) ~ .cu-window-content.cu-window-bg-canvas:before { background: url("window/images/canvas-effect.png") no-repeat center top/calc(100% - 18px) calc(100% - 5px); background: url("window/images/canvas-effect.png") no-repeat center top/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(2).cu-window-content.cu-window-bg-canvas:before { background: url("window/images/canvas-effect.png") no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); background: url("window/images/canvas-effect.png") no-repeat center bottom/calc(100% - 18px) calc(100% - 5px); } .cu-window :first-child:nth-last-child(1).cu-window-content.cu-window-bg-canvas:before { background: url("window/images/canvas-effect.png") no-repeat center center/calc(100% - 18px) calc(100% - 10px); background: url("window/images/canvas-effect.png") no-repeat center center/calc(100% - 18px) calc(100% - 10px); } .cu-window .cu-window-title { font-family: 'Cinzel', serif; text-shadow: 0 0 10px #000000; width: 100%; text-align: center; font-weight: 600; padding-bottom: 3px; } .cu-window .cu-window-actions { position: absolute; right: 14px; top: 9px; } .cu-window .cu-window-footer .cu-window-actions { right: 5px; top: 13px; } .cu-window .cu-window-action, .cu-window .cu-window-close, .cu-window .cu-window-minimize, .cu-window .cu-window-maximize, .cu-window .cu-window-down-arrow, .cu-window .cu-window-up-arrow { font-size: 1.5rem; text-shadow: 0 0 5px #000000; color: #c4c4c4; width: 12px; height: 17px; text-align: center; line-height: 17px; cursor: pointer; display: inline-block; position: relative; top: -1px; } .cu-window .cu-window-action:before, .cu-window .cu-window-close:before, .cu-window .cu-window-minimize:before, .cu-window .cu-window-maximize:before, .cu-window .cu-window-down-arrow:before, .cu-window .cu-window-up-arrow:before { position: absolute; left: 0; } .cu-window .cu-window-action:hover, .cu-window .cu-window-close:hover, .cu-window .cu-window-minimize:hover, .cu-window .cu-window-maximize:hover, .cu-window .cu-window-down-arrow:hover, .cu-window .cu-window-up-arrow:hover { color: #dddddd; } .cu-window .cu-window-close:before { content: "\00D7"; } .cu-window .cu-window-close:hover { text-shadow: 0 0 5px #6c0c00; } .cu-window .cu-window-minimize:before { content: "\2212"; } .cu-window .cu-window-minimize:hover { text-shadow: 0 0 5px #002d4c; } .cu-window .cu-window-maximize:before { content: "\002B"; } .cu-window .cu-window-maximize:hover { text-shadow: 0 0 5px #002d4c; } .cu-window .cu-window-down-arrow:before { content: "\25BC"; font-size: 0.75rem; } .cu-window .cu-window-down-arrow:hover { text-shadow: 0 0 5px #002d4c; } .cu-window .cu-window-up-arrow:before { content: "\25B2"; font-size: 0.75rem; } .cu-window .cu-window-up-arrow:hover { text-shadow: 0 0 5px #002d4c; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ .cu-window-basic-frame { width: 100%; height: 100%; display: flex; flex-direction: column; cursor: default; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; position: relative; } .cu-window-basic-frame.cu-window-auto-size { height: auto; display: block; } .cu-window-basic-frame .cu-window-header { position: relative; width: 100%; min-height: auto; } .cu-window-basic-frame .cu-window-header:before, .cu-window-basic-frame .cu-window-header:after { content: ' '; display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; } .cu-window-basic-frame .cu-window-content { position: relative; width: 100%; height: 100%; } .cu-window-basic-frame .cu-window-content:before, .cu-window-basic-frame .cu-window-content:after { content: ' '; display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; } .cu-window-basic-frame .cu-window-footer { position: relative; width: 100%; min-height: auto; } .cu-window-basic-frame .cu-window-footer:before, .cu-window-basic-frame .cu-window-footer:after { content: ' '; display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; } .cu-window-basic-frame.cu-window-transparent .cu-window-header:before { opacity: 0.9; } .cu-window-basic-frame.cu-window-transparent .cu-window-header:after { opacity: 0.9; } .cu-window-basic-frame.cu-window-transparent .cu-window-content:before { opacity: 0.5; } .cu-window-basic-frame.cu-window-transparent .cu-window-content:after { opacity: 0.9; } .cu-window-basic-frame.cu-window-transparen