Difference between revisions of "MediaWiki:Common.css"
From NoSQLZoo
m |
m (position) |
||
(100 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | .mw-cookiewarning-container { | |
− | + | position: static !important; | |
} | } | ||
− | + | ||
− | + | /* CodeMirror */ | |
− | + | /*---------------------------------------------------------------*/ | |
− | + | /* BASICS */ | |
+ | .CodeMirror { | ||
+ | /* Set height, width, borders, and global font properties here */ | ||
+ | font-family: monospace; | ||
+ | height: auto!important; | ||
+ | color: black; | ||
+ | direction: ltr; | ||
+ | border-width: 1px 1px 1px 0px; | ||
+ | border-color: grey; | ||
+ | border-style: solid; | ||
+ | } | ||
+ | |||
+ | .CodeMirror, .CodeMirror-scroll, .CodeMirror-gutters { | ||
+ | min-height: 150px !important; | ||
+ | } | ||
+ | |||
+ | /* PADDING */ | ||
+ | .CodeMirror-lines { | ||
+ | padding: 4px 0; | ||
+ | /* Vertical padding around content */ | ||
+ | } | ||
+ | .CodeMirror pre { | ||
+ | padding: 0 4px; | ||
+ | /* Horizontal padding of content */ | ||
+ | } | ||
+ | .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { | ||
+ | background-color: white; | ||
+ | /* The little square between H and V scrollbars */ | ||
+ | } | ||
+ | /* GUTTER */ | ||
+ | .CodeMirror-gutters { | ||
+ | border-right: 1px solid #ddd; | ||
+ | background-color: #f7f7f7; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | .CodeMirror-linenumbers { | ||
+ | } | ||
+ | .CodeMirror-linenumber { | ||
+ | padding: 0 3px 0 5px; | ||
+ | min-width: 20px; | ||
+ | text-align: right; | ||
+ | color: #999; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | .CodeMirror-guttermarker { | ||
+ | color: black; | ||
+ | } | ||
+ | .CodeMirror-guttermarker-subtle { | ||
+ | color: #999; | ||
+ | } | ||
+ | /** CodeMirror **/ | ||
+ | /* CURSOR */ | ||
+ | .CodeMirror-cursor { | ||
+ | border-left: 1px solid black; | ||
+ | border-right: none; | ||
+ | width: 0; | ||
+ | } | ||
+ | /* Shown when moving in bi-directional text */ | ||
+ | .CodeMirror div.CodeMirror-secondarycursor { | ||
+ | border-left: 1px solid silver; | ||
+ | } | ||
+ | |||
+ | .cm-fat-cursor .CodeMirror-cursor { | ||
+ | width: auto; | ||
+ | border: 0 !important; | ||
+ | background: #7e7; | ||
+ | } | ||
+ | .cm-fat-cursor div.CodeMirror-cursors { | ||
+ | z-index: 1; | ||
+ | } | ||
+ | .cm-fat-cursor-mark { | ||
+ | background-color: rgba(20, 255, 20, 0.5); | ||
+ | -webkit-animation: blink 1.06s steps(1) infinite; | ||
+ | -moz-animation: blink 1.06s steps(1) infinite; | ||
+ | animation: blink 1.06s steps(1) infinite; | ||
+ | } | ||
+ | .cm-animate-fat-cursor { | ||
+ | width: auto; | ||
+ | border: 0; | ||
+ | -webkit-animation: blink 1.06s steps(1) infinite; | ||
+ | -moz-animation: blink 1.06s steps(1) infinite; | ||
+ | animation: blink 1.06s steps(1) infinite; | ||
+ | background-color: #7e7; | ||
+ | } | ||
+ | @-moz-keyframes blink { | ||
+ | 0% { | ||
+ | } | ||
+ | 50% { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | 100% { | ||
+ | } | ||
+ | } | ||
+ | @-webkit-keyframes blink { | ||
+ | 0% { | ||
+ | } | ||
+ | 50% { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | 100% { | ||
+ | } | ||
+ | } | ||
+ | @keyframes blink { | ||
+ | 0% { | ||
+ | } | ||
+ | 50% { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | 100% { | ||
+ | } | ||
+ | } | ||
+ | /* Can style cursor different in overwrite (non-insert) mode */ | ||
+ | .CodeMirror-overwrite .CodeMirror-cursor { | ||
+ | } | ||
+ | .cm-tab { | ||
+ | display: inline-block; | ||
+ | text-decoration: inherit; | ||
+ | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=); | ||
+ | background-position: right; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | .cm-trailingspace { | ||
+ | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAADBnpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZZRjiMpDIbfOcUcAdsYm+NQBUh7gz3+/FAk6aR7WppWXlbaQikoxxjzfy6S0P/9Z4RfuChpDEnNc8k54kolFa4YeLyuq6eY1v260u7p2R4i7y8YJkEv12Pu27/Cro8JtgPR8WwPdu44vgPdVt4BZa48F9t+vgMJX3baz6HseTV92M7+iF353pxfn5NBjKYwCgfuQhJx57mKIANxqeht3RNPC69xxl2n31fahfvwRbyb3q/axbo95FmKEPN2yC8abTvp19othT5mRLchP39R5A76k3ZjNB+jX7urKUOpHPam4g6xRnA8IKWsaRnN8FGMbbWC5tjiCdEbaB5oZ6BCDLUHJWpUaVBf/UknUkzc2dAznyzL5mJc+FxQ0mw02KRIC2DEcoKawMz3XGitW9Z6JzlWbgRPJgSbFD+18JXxJ+0eaIxZukRTTL+0Ql48qwZpTHLzDi8goLE11aXvauGO9XFNsJOZLpkdG6zxuEIcSo/aksVZ4KcxhQ2ZrO0AkAhrK5IhAYGYSZQyRWM2Iujo4FOROaPsDxAgVW4UBtiIZMBxnmtjjtHyZeXLjKMFIBSviAFNkQpYKSnqx5KjhqqKpqCqWU1di9YsOWXNOVueZ1Q1sWRq2czcilUXT66e3dy9eC1cBEeYllwsFC+l1IpFK0JXzK7wqPXgQ4506JEPO/woRz1RPmc69cynnX6WszZu0vD6t9wsNG+l1U4dpdRT1567de+l14FaGzLS0JGHDR9l1Du1TfWZGr2Q+54abWqTWFp+9qAGs9ktBM3jRCczEONEIG6TAAqaJ7PolBJPcpNZLIyXQhnUSCecRpMYCKZOrIPu7B7kvuUWNP0VN/4TuTDRvYNcmOg2uc/cvqDW6vpFkQVovoVT0ygDBxscK3vlo8dz4CfB51P82z78dOL/gf5TgYb7NRwHivOIq3Qcgfbg1ktvPyqr8KaEYnhTQhzelFANb0rIw5sSurb2hoTW1j4siPMG/07Db7o4rMFM+1KDAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gcECwY00aHnvAAAACFJREFUCNdj/P8ss56BgaGBAQKYmBgYGBoYpaYzQgX/AQB32QYEphperwAAAABJRU5ErkJggg==); | ||
+ | background-position: bottom left; | ||
+ | background-repeat: repeat-x; | ||
+ | } | ||
+ | .CodeMirror-rulers { | ||
+ | position: absolute; | ||
+ | left: 0; | ||
+ | right: 0; | ||
+ | top: -50px; | ||
+ | bottom: -20px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .CodeMirror-ruler { | ||
+ | border-left: 1px solid #ccc; | ||
+ | top: 0; | ||
+ | bottom: 0; | ||
+ | position: absolute; | ||
+ | } | ||
+ | /** CodeMirror **/ | ||
+ | /* DEFAULT THEME */ | ||
+ | .cm-s-default .cm-header { | ||
+ | color: blue; | ||
+ | } | ||
+ | .cm-s-default .cm-quote { | ||
+ | color: #090; | ||
+ | } | ||
+ | .cm-negative { | ||
+ | color: #d44; | ||
+ | } | ||
+ | .cm-positive { | ||
+ | color: #292; | ||
+ | } | ||
+ | .cm-header, .cm-strong { | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | .cm-em { | ||
+ | font-style: italic; | ||
+ | } | ||
+ | .cm-link { | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | .cm-strikethrough { | ||
+ | text-decoration: line-through; | ||
+ | } | ||
+ | .cm-s-default .cm-keyword { | ||
+ | color: #708; | ||
+ | } | ||
+ | .cm-s-default .cm-atom { | ||
+ | color: #219; | ||
+ | } | ||
+ | .cm-s-default .cm-number { | ||
+ | color: #164; | ||
+ | } | ||
+ | .cm-s-default .cm-def { | ||
+ | color: #00f; | ||
+ | } | ||
+ | .cm-s-default .cm-variable, .cm-s-default .cm-punctuation, .cm-s-default .cm-property, .cm-s-default .cm-operator { | ||
+ | } | ||
+ | .cm-s-default .cm-variable-2 { | ||
+ | color: #05a; | ||
+ | } | ||
+ | .cm-s-default .cm-variable-3, .cm-s-default .cm-type { | ||
+ | color: #085; | ||
+ | } | ||
+ | .cm-s-default .cm-comment { | ||
+ | color: #a50; | ||
+ | } | ||
+ | .cm-s-default .cm-string { | ||
+ | color: #a11; | ||
+ | } | ||
+ | .cm-s-default .cm-string-2 { | ||
+ | color: #f50; | ||
+ | } | ||
+ | .cm-s-default .cm-meta { | ||
+ | color: #555; | ||
+ | } | ||
+ | .cm-s-default .cm-qualifier { | ||
+ | color: #555; | ||
+ | } | ||
+ | .cm-s-default .cm-builtin { | ||
+ | color: #30a; | ||
+ | } | ||
+ | .cm-s-default .cm-bracket { | ||
+ | color: #997; | ||
+ | } | ||
+ | .cm-s-default .cm-tag { | ||
+ | color: #170; | ||
+ | } | ||
+ | .cm-s-default .cm-attribute { | ||
+ | color: #00c; | ||
+ | } | ||
+ | .cm-s-default .cm-hr { | ||
+ | color: #999; | ||
+ | } | ||
+ | .cm-s-default .cm-link { | ||
+ | color: #00c; | ||
+ | } | ||
+ | .cm-s-default .cm-error { | ||
+ | color: #f00; | ||
+ | } | ||
+ | .cm-invalidchar { | ||
+ | color: #f00; | ||
+ | } | ||
+ | .CodeMirror-composing { | ||
+ | border-bottom: 2px solid; | ||
+ | } | ||
+ | /* Default styles for common addons */ | ||
+ | div.CodeMirror span.CodeMirror-matchingbracket { | ||
+ | color: #0b0; | ||
+ | } | ||
+ | div.CodeMirror span.CodeMirror-nonmatchingbracket { | ||
+ | color: #a22; | ||
+ | } | ||
+ | .CodeMirror-matchingtag { | ||
+ | background: rgba(255, 150, 0, .3); | ||
+ | } | ||
+ | .CodeMirror-activeline-background { | ||
+ | background: #e8f2ff; | ||
+ | } | ||
+ | /* STOP */ | ||
+ | /* The rest of this file contains styles related to the mechanics of the editor. You probably shouldn't touch them. */ | ||
+ | .CodeMirror { | ||
+ | position: relative; | ||
+ | overflow: hidden; | ||
+ | background: white; | ||
+ | } | ||
+ | .CodeMirror-scroll { | ||
+ | overflow: hidden !important; | ||
+ | /* Things will break if this is overridden */ | ||
+ | /* 30px is the magic margin used to hide the element's real scrollbars */ | ||
+ | /* See overflow: hidden in .CodeMirror */ | ||
+ | margin-bottom: -30px; | ||
+ | margin-right: -30px; | ||
+ | padding-bottom: 30px; | ||
+ | height: 100%; | ||
+ | outline: none; | ||
+ | /* Prevent dragging from highlighting the element */ | ||
+ | position: relative; | ||
+ | } | ||
+ | .CodeMirror-sizer { | ||
+ | position: relative; | ||
+ | border-right: 30px solid transparent; | ||
+ | } | ||
+ | /* The fake, visible scrollbars. Used to force redraw during scrolling before actual scrolling happens, thus preventing shaking and flickering artifacts. */ | ||
+ | .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { | ||
+ | position: absolute; | ||
+ | z-index: 6; | ||
+ | display: none; | ||
+ | } | ||
+ | .CodeMirror-vscrollbar { | ||
+ | right: 0; | ||
+ | top: 0; | ||
+ | overflow-x: hidden; | ||
+ | overflow-y: scroll; | ||
+ | } | ||
+ | .CodeMirror-hscrollbar { | ||
+ | bottom: 0; | ||
+ | left: 0; | ||
+ | overflow-y: hidden; | ||
+ | overflow-x: scroll; | ||
+ | } | ||
+ | .CodeMirror-scrollbar-filler { | ||
+ | right: 0; | ||
+ | bottom: 0; | ||
+ | } | ||
+ | .CodeMirror-gutter-filler { | ||
+ | left: 0; | ||
+ | bottom: 0; | ||
+ | } | ||
+ | .CodeMirror-gutters { | ||
+ | position: absolute; | ||
+ | left: 0; | ||
+ | top: 0; | ||
+ | min-height: 100%; | ||
+ | z-index: 3; | ||
+ | } | ||
+ | .CodeMirror-gutter { | ||
+ | white-space: normal; | ||
+ | height: 100%; | ||
+ | display: inline-block; | ||
+ | vertical-align: top; | ||
+ | margin-bottom: -30px; | ||
+ | } | ||
+ | .CodeMirror-gutter-wrapper { | ||
+ | position: absolute; | ||
+ | z-index: 4; | ||
+ | background: none !important; | ||
+ | border: none !important; | ||
+ | } | ||
+ | .CodeMirror-gutter-background { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | bottom: 0; | ||
+ | z-index: 4; | ||
+ | } | ||
+ | .CodeMirror-gutter-elt { | ||
+ | position: absolute; | ||
+ | cursor: default; | ||
+ | z-index: 4; | ||
+ | } | ||
+ | .CodeMirror-gutter-wrapper ::selection { | ||
+ | background-color: transparent | ||
+ | } | ||
+ | .CodeMirror-gutter-wrapper ::-moz-selection { | ||
+ | background-color: transparent | ||
+ | } | ||
+ | .CodeMirror-lines { | ||
+ | cursor: text; | ||
+ | min-height: 1px; | ||
+ | /* prevents collapsing before first draw */ | ||
+ | } | ||
+ | .CodeMirror pre { | ||
+ | /* Reset some styles that the rest of the page might have set */ | ||
+ | -moz-border-radius: 0; | ||
+ | -webkit-border-radius: 0; | ||
+ | border-radius: 0; | ||
+ | border-width: 0; | ||
+ | background: transparent; | ||
+ | font-family: inherit; | ||
+ | font-size: inherit; | ||
+ | margin: 0; | ||
+ | white-space: pre; | ||
+ | word-wrap: normal; | ||
+ | line-height: inherit; | ||
+ | color: inherit; | ||
+ | z-index: 2; | ||
+ | position: relative; | ||
+ | overflow: visible; | ||
+ | -webkit-tap-highlight-color: transparent; | ||
+ | -webkit-font-variant-ligatures: contextual; | ||
+ | font-variant-ligatures: contextual; | ||
+ | } | ||
+ | .CodeMirror-wrap pre { | ||
+ | word-wrap: break-word; | ||
+ | white-space: pre-wrap; | ||
+ | word-break: normal; | ||
+ | } | ||
+ | .CodeMirror-linebackground { | ||
+ | position: absolute; | ||
+ | left: 0; | ||
+ | right: 0; | ||
+ | top: 0; | ||
+ | bottom: 0; | ||
+ | z-index: 0; | ||
+ | } | ||
+ | .CodeMirror-linewidget { | ||
+ | position: relative; | ||
+ | z-index: 2; | ||
+ | padding: 0.1px; | ||
+ | /* Force widget margins to stay inside of the container */ | ||
+ | } | ||
+ | .CodeMirror-widget { | ||
+ | } | ||
+ | .CodeMirror-rtl pre { | ||
+ | direction: rtl; | ||
+ | } | ||
+ | .CodeMirror-code { | ||
+ | font-family: "Lucida Console", "Lucida Sans Typewriter", monospace !important; | ||
+ | font-size: 16px; | ||
+ | outline: none; | ||
+ | } | ||
+ | /* Force content-box sizing for the elements where we expect it */ | ||
+ | .CodeMirror-scroll, .CodeMirror-sizer, .CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber { | ||
+ | -moz-box-sizing: content-box; | ||
+ | box-sizing: content-box; | ||
+ | } | ||
+ | .CodeMirror-measure { | ||
+ | position: absolute; | ||
+ | width: 100%; | ||
+ | height: 0; | ||
+ | overflow: hidden; | ||
+ | visibility: hidden; | ||
+ | } | ||
+ | .CodeMirror-cursor { | ||
+ | position: absolute; | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | .CodeMirror-measure pre { | ||
+ | position: static; | ||
+ | } | ||
+ | div.CodeMirror-cursors { | ||
+ | visibility: hidden; | ||
+ | position: relative; | ||
+ | z-index: 3; | ||
+ | } | ||
+ | div.CodeMirror-dragcursors { | ||
+ | visibility: visible; | ||
+ | } | ||
+ | .CodeMirror-focused div.CodeMirror-cursors { | ||
+ | visibility: visible; | ||
+ | } | ||
+ | .CodeMirror-selected { | ||
+ | background: #d9d9d9; | ||
+ | } | ||
+ | .CodeMirror-focused .CodeMirror-selected { | ||
+ | background: #d7d4f0; | ||
+ | } | ||
+ | .CodeMirror-crosshair { | ||
+ | cursor: crosshair; | ||
+ | } | ||
+ | .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { | ||
+ | background: #d7d4f0; | ||
+ | } | ||
+ | .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { | ||
+ | background: #d7d4f0; | ||
+ | } | ||
+ | .cm-searching { | ||
+ | background-color: #ffa; | ||
+ | background-color: rgba(255, 255, 0, .4); | ||
+ | } | ||
+ | /* Used to force a border model for a node */ | ||
+ | .cm-force-border { | ||
+ | padding-right: .1px; | ||
+ | } | ||
+ | @media print { | ||
+ | /* Hide the cursor when printing */ | ||
+ | .CodeMirror div.CodeMirror-cursors { | ||
+ | visibility: hidden; | ||
+ | } | ||
+ | } | ||
+ | /* See issue #2901 */ | ||
+ | .cm-tab-wrap-hack:after { | ||
+ | content: ''; | ||
+ | } | ||
+ | /* Help users use markselection to safely style text background */ | ||
+ | span.CodeMirror-selectedtext { | ||
+ | background: none; | ||
} | } | ||
− | + | /* foldgutter */ | |
− | + | .CodeMirror-foldmarker { | |
+ | color: blue; | ||
+ | text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px; | ||
+ | font-family: arial; | ||
+ | line-height: .3; | ||
+ | cursor: pointer; | ||
} | } | ||
− | + | .CodeMirror-foldgutter { | |
− | + | width: .7em; | |
} | } | ||
− | + | .CodeMirror-foldgutter-open, .CodeMirror-foldgutter-folded { | |
− | + | cursor: pointer; | |
} | } | ||
− | + | .CodeMirror-foldgutter-open:after { | |
− | + | content: "\25BE"; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .CodeMirror-foldgutter-folded:after { | |
− | + | content: "\25B8"; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | /* The lint marker gutter */ | |
− | + | .CodeMirror-lint-markers { | |
− | + | width: 16px; | |
− | |||
− | |||
} | } | ||
− | pre | + | .CodeMirror-lint-tooltip { |
− | + | background-color: #ffd; | |
− | + | border: 1px solid black; | |
− | + | border-radius: 4px 4px 4px 4px; | |
− | + | color: black; | |
− | + | font-family: monospace; | |
+ | font-size: 10pt; | ||
+ | overflow: hidden; | ||
+ | padding: 2px 5px; | ||
+ | position: fixed; | ||
+ | white-space: pre; | ||
+ | white-space: pre-wrap; | ||
+ | z-index: 100; | ||
+ | max-width: 600px; | ||
+ | opacity: 0; | ||
+ | transition: opacity .4s; | ||
+ | -moz-transition: opacity .4s; | ||
+ | -webkit-transition: opacity .4s; | ||
+ | -o-transition: opacity .4s; | ||
+ | -ms-transition: opacity .4s; | ||
+ | } | ||
+ | .CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning { | ||
+ | background-position: left bottom; | ||
+ | background-repeat: repeat-x; | ||
+ | } | ||
+ | .CodeMirror-lint-mark-error { | ||
+ | background-image: url("data:image/png; | ||
+ | base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg=="); | ||
+ | } | ||
+ | .CodeMirror-lint-mark-warning { | ||
+ | background-image: url("data:image/png; | ||
+ | base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII="); | ||
+ | } | ||
+ | .CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning { | ||
+ | background-position: center center; | ||
+ | background-repeat: no-repeat; | ||
+ | cursor: pointer; | ||
+ | display: inline-block; | ||
+ | height: 16px; | ||
+ | width: 16px; | ||
+ | vertical-align: middle; | ||
+ | position: relative; | ||
+ | } | ||
+ | .CodeMirror-lint-message-error, .CodeMirror-lint-message-warning { | ||
+ | padding-left: 18px; | ||
+ | background-position: top left; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | .CodeMirror-lint-marker-error, .CodeMirror-lint-message-error { | ||
+ | background-image: url("data:image/png; | ||
+ | base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII="); | ||
+ | } | ||
+ | .CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning { | ||
+ | background-image: url("data:image/png; | ||
+ | base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII="); | ||
+ | } | ||
+ | .CodeMirror-lint-marker-multiple { | ||
+ | background-image: url("data:image/png; | ||
+ | base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: right bottom; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | } | ||
+ | /* MDN-LIKE Theme - Mozilla Ported to CodeMirror by Peter Kroon <plakroon@gmail.com> Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues GitHub: @peterkroon The mdn-like theme is inspired on the displayed code examples at: https://developer.mozilla.org/en-US/docs/Web/CSS/animation */ | ||
+ | .cm-s-mdn-like.CodeMirror { | ||
+ | color: #999; | ||
+ | background-color: #fff; | ||
+ | } | ||
+ | .cm-s-mdn-like div.CodeMirror-selected { | ||
+ | background: #cfc; | ||
+ | } | ||
+ | .cm-s-mdn-like .CodeMirror-line::selection, .cm-s-mdn-like .CodeMirror-line > span::selection, .cm-s-mdn-like .CodeMirror-line > span > span::selection { | ||
+ | background: #cfc; | ||
+ | } | ||
+ | .cm-s-mdn-like .CodeMirror-line::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span > span::-moz-selection { | ||
+ | background: #cfc; | ||
+ | } | ||
+ | .cm-s-mdn-like .CodeMirror-gutters, .cm-s-neo .CodeMirror-gutters { | ||
+ | background: #f8f8f8; | ||
+ | border-left: 6px solid rgba(0,83,159,0.65); | ||
+ | color: #333; | ||
+ | } | ||
+ | .cm-s-mdn-like .CodeMirror-linenumber, .cm-s-neo .CodeMirror-linenumber { | ||
+ | color: #aaa; | ||
+ | padding-left: 8px; | ||
+ | } | ||
+ | .cm-s-mdn-like .CodeMirror-cursor { | ||
+ | border-left: 2px solid #222; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-keyword { | ||
+ | color: #6262FF; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-atom { | ||
+ | color: #F90; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-number { | ||
+ | color: #ca7841; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-def { | ||
+ | color: #8DA6CE; | ||
+ | } | ||
+ | .cm-s-mdn-like span.cm-variable-2, .cm-s-mdn-like span.cm-tag { | ||
+ | color: #690; | ||
+ | } | ||
+ | .cm-s-mdn-like span.cm-variable-3, .cm-s-mdn-like span.cm-def, .cm-s-mdn-like span.cm-type { | ||
+ | color: #07a; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-variable { | ||
+ | color: #07a; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-property { | ||
+ | color: #905; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-qualifier { | ||
+ | color: #690; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-operator { | ||
+ | color: #cda869; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-comment { | ||
+ | color:#777; | ||
+ | font-weight:normal; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-string { | ||
+ | color:#07a; | ||
+ | font-style:italic; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-string-2 { | ||
+ | color:#bd6b18; | ||
+ | } | ||
+ | /*?*/ | ||
+ | .cm-s-mdn-like .cm-meta { | ||
+ | color: #000; | ||
+ | } | ||
+ | /*?*/ | ||
+ | .cm-s-mdn-like .cm-builtin { | ||
+ | color: #9B7536; | ||
+ | } | ||
+ | /*?*/ | ||
+ | .cm-s-mdn-like .cm-tag { | ||
+ | color: #997643; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-attribute { | ||
+ | color: #d6bb6d; | ||
+ | } | ||
+ | /*?*/ | ||
+ | .cm-s-mdn-like .cm-header { | ||
+ | color: #FF6400; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-hr { | ||
+ | color: #AEAEAE; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-link { | ||
+ | color:#ad9361; | ||
+ | font-style:italic; | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | .cm-s-mdn-like .cm-error { | ||
+ | border-bottom: 1px solid red; | ||
+ | } | ||
+ | div.cm-s-mdn-like .CodeMirror-activeline-background { | ||
+ | background: #efefff; | ||
+ | } | ||
+ | div.cm-s-mdn-like span.CodeMirror-matchingbracket { | ||
+ | outline:1px solid grey; | ||
+ | color: inherit; | ||
+ | } | ||
+ | .cm-s-mdn-like.CodeMirror, .cm-s-neo.CodeMirror { | ||
+ | background-image: url("data:image/png; | ||
+ | base64,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"); | ||
+ | } | ||
+ | /* Fullscreen */ | ||
+ | .CodeMirror-fullscreen { | ||
+ | position: fixed; | ||
+ | top: 0; | ||
+ | left: 13em; | ||
+ | right: 0; | ||
+ | bottom: 0; | ||
+ | height: auto; | ||
+ | z-index: 9; | ||
+ | } | ||
+ | |||
+ | /* Hints */ | ||
+ | .CodeMirror-hints { | ||
+ | position: absolute; | ||
+ | z-index: 10; | ||
+ | overflow: hidden; | ||
+ | list-style: none; | ||
+ | margin: 0; | ||
+ | padding: 2px; | ||
+ | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); | ||
+ | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); | ||
+ | box-shadow: 2px 3px 5px rgba(0,0,0,.2); | ||
+ | border-radius: 3px; | ||
+ | border: 1px solid silver; | ||
+ | background: white; | ||
+ | font-size: 90%; | ||
+ | font-family: monospace; | ||
+ | max-height: 20em; | ||
+ | overflow-y: auto; | ||
+ | } | ||
+ | .CodeMirror-hint { | ||
+ | margin: 0; | ||
+ | padding: 0 4px; | ||
+ | border-radius: 2px; | ||
+ | white-space: pre; | ||
+ | color: black; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | li.CodeMirror-hint-active { | ||
+ | background: #08f; | ||
+ | color: white; | ||
} | } | ||
− | span.id{font-size:300%;padding-right:1ex} | + | /* Dialog */ |
− | textarea{ | + | .CodeMirror-dialog { |
− | + | position: absolute; | |
− | + | left: 0; right: 0; | |
− | + | background: inherit; | |
+ | z-index: 15; | ||
+ | padding: .1em .8em; | ||
+ | overflow: hidden; | ||
+ | color: inherit; | ||
+ | } | ||
+ | |||
+ | .CodeMirror-dialog-top { | ||
+ | border-bottom: 1px solid #eee; | ||
+ | top: 0; | ||
+ | } | ||
+ | |||
+ | .CodeMirror-dialog-bottom { | ||
+ | border-top: 1px solid #eee; | ||
+ | bottom: 0; | ||
+ | } | ||
+ | |||
+ | .CodeMirror-dialog input { | ||
+ | border: none; | ||
+ | outline: none; | ||
+ | background: transparent; | ||
+ | width: 20em; | ||
+ | color: inherit; | ||
+ | font-family: monospace; | ||
+ | } | ||
+ | |||
+ | .CodeMirror-dialog button { | ||
+ | font-size: 70%; | ||
+ | } | ||
+ | |||
+ | /* Tern */ | ||
+ | .CodeMirror-Tern-completion { | ||
+ | padding-left: 22px; | ||
+ | position: relative; | ||
+ | line-height: 1.5; | ||
+ | } | ||
+ | .CodeMirror-Tern-completion:before { | ||
+ | position: absolute; | ||
+ | left: 2px; | ||
+ | bottom: 2px; | ||
+ | border-radius: 50%; | ||
+ | font-size: 12px; | ||
+ | font-weight: bold; | ||
+ | height: 15px; | ||
+ | width: 15px; | ||
+ | line-height: 16px; | ||
+ | text-align: center; | ||
+ | color: white; | ||
+ | -moz-box-sizing: border-box; | ||
+ | box-sizing: border-box; | ||
+ | } | ||
+ | .CodeMirror-Tern-completion-unknown:before { | ||
+ | content: "?"; | ||
+ | background: #4bb; | ||
+ | } | ||
+ | .CodeMirror-Tern-completion-object:before { | ||
+ | content: "O"; | ||
+ | background: #77c; | ||
+ | } | ||
+ | .CodeMirror-Tern-completion-fn:before { | ||
+ | content: "F"; | ||
+ | background: #7c7; | ||
+ | } | ||
+ | .CodeMirror-Tern-completion-array:before { | ||
+ | content: "A"; | ||
+ | background: #c66; | ||
+ | } | ||
+ | .CodeMirror-Tern-completion-number:before { | ||
+ | content: "1"; | ||
+ | background: #999; | ||
+ | } | ||
+ | .CodeMirror-Tern-completion-string:before { | ||
+ | content: "S"; | ||
+ | background: #999; | ||
+ | } | ||
+ | .CodeMirror-Tern-completion-bool:before { | ||
+ | content: "B"; | ||
+ | background: #999; | ||
+ | } | ||
+ | |||
+ | .CodeMirror-Tern-completion-guess { | ||
+ | color: #999; | ||
+ | } | ||
+ | |||
+ | .CodeMirror-Tern-tooltip { | ||
+ | border: 1px solid silver; | ||
+ | border-radius: 3px; | ||
+ | color: #444; | ||
+ | padding: 2px 5px; | ||
+ | font-size: 90%; | ||
+ | font-family: monospace; | ||
+ | background-color: white; | ||
+ | white-space: pre-wrap; | ||
+ | |||
+ | max-width: 40em; | ||
+ | position: absolute; | ||
+ | z-index: 10; | ||
+ | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); | ||
+ | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); | ||
+ | box-shadow: 2px 3px 5px rgba(0,0,0,.2); | ||
+ | |||
+ | transition: opacity 1s; | ||
+ | -moz-transition: opacity 1s; | ||
+ | -webkit-transition: opacity 1s; | ||
+ | -o-transition: opacity 1s; | ||
+ | -ms-transition: opacity 1s; | ||
+ | } | ||
+ | |||
+ | .CodeMirror-Tern-hint-doc { | ||
+ | max-width: 25em; | ||
+ | margin-top: -3px; | ||
+ | } | ||
+ | |||
+ | .CodeMirror-Tern-fname { color: black; } | ||
+ | .CodeMirror-Tern-farg { color: #70a; } | ||
+ | .CodeMirror-Tern-farg-current { text-decoration: underline; } | ||
+ | .CodeMirror-Tern-type { color: #07c; } | ||
+ | .CodeMirror-Tern-fhint-guess { opacity: .7; } | ||
+ | |||
+ | /* neo theme for codemirror */ | ||
+ | |||
+ | /* Color scheme */ | ||
+ | |||
+ | .cm-s-neo.CodeMirror { | ||
+ | background-color:#ffffff; | ||
+ | color:#2e383c; | ||
+ | line-height:1.4375; | ||
+ | } | ||
+ | .cm-s-neo .cm-comment { color:#75787b; } | ||
+ | .cm-s-neo .cm-keyword, .cm-s-neo .cm-property { color:#1d75b3; } | ||
+ | .cm-s-neo .cm-atom,.cm-s-neo .cm-number { color:#75438a; } | ||
+ | .cm-s-neo .cm-node,.cm-s-neo .cm-tag { color:#9c3328; } | ||
+ | .cm-s-neo .cm-string { color:#b35e14; } | ||
+ | .cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier { color:#047d65; } | ||
+ | |||
+ | |||
+ | /* Editor styling */ | ||
+ | |||
+ | .cm-s-neo pre { | ||
+ | padding:0; | ||
+ | } | ||
+ | |||
+ | .cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; } | ||
+ | .cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; } | ||
+ | |||
+ | /*---------------------------------------------------------------*/ | ||
+ | /* Universal */ | ||
+ | button{ | ||
+ | float: left; | ||
+ | line-height: 1.3; | ||
+ | padding: 5px 8px; | ||
+ | } | ||
+ | button.run { | ||
+ | background-image: linear-gradient(to bottom, #337AB7 0px, #265A88 100%); | ||
+ | background-color: #306AA0; | ||
+ | border-radius: 6px; | ||
+ | border-color: #245580; | ||
+ | border-width: 1px; | ||
+ | color: #FFF; | ||
+ | cursor: pointer; | ||
+ | font-size: 18px; | ||
+ | } | ||
+ | button.other { | ||
+ | border-radius: 0.5ex; | ||
+ | cursor: pointer; | ||
+ | display: inline; | ||
+ | border: 1px solid; | ||
+ | float: right; | ||
+ | font-size: 14px; | ||
+ | margin-left: 0.25em; | ||
+ | } | ||
+ | code { | ||
+ | background-color: #e6e6e6; | ||
+ | } | ||
+ | div.guidelist{ | ||
+ | float: right; | ||
+ | width: 32ex; | ||
+ | border-left: 1px solid; | ||
+ | border-right: 1px solid; | ||
+ | background-color: #F0F0FF; | ||
+ | border-collapse: collapse; | ||
+ | border-bottom: 1px solid; | ||
+ | margin-bottom: 2%; | ||
+ | padding-left: 0px; | ||
+ | } | ||
+ | div.guidelist div.fc { | ||
+ | padding: 1em; | ||
+ | background-color: #000; | ||
+ | color: #FFF; | ||
+ | } | ||
+ | div.guidelist div { | ||
+ | padding: 0ex 1em; | ||
+ | border-bottom: 1px solid; | ||
+ | } | ||
+ | div.res.waiting { | ||
+ | background-image: url(/mw/design/spinner.gif) !important; | ||
+ | background-repeat: no-repeat !important;; | ||
+ | background-position: center center !important;; | ||
+ | height: 180px; | ||
+ | } | ||
+ | h1#firstHeading{ | ||
+ | overflow-x: hidden; | ||
+ | } | ||
+ | pre{ | ||
+ | border-color: #949494; | ||
+ | white-space: pre-wrap; | ||
+ | /* CSS 3 */ | ||
+ | white-space: -moz-pre-wrap; | ||
+ | /* Mozilla, since 1999 */ | ||
+ | white-space: -pre-wrap; | ||
+ | /* Opera 4-6 */ | ||
+ | white-space: -o-pre-wrap; | ||
+ | /* Opera 7 */ | ||
+ | word-wrap: break-word; | ||
+ | /* Internet Explorer 5.5+ */ | ||
+ | } | ||
+ | span.id{ | ||
+ | font-size:300%; | ||
+ | padding-right:1ex | ||
+ | } | ||
+ | textarea{ | ||
+ | background: #F9F9F9; | ||
+ | font-family: "Lucida Console", "Lucida Sans Typewriter", monospace; | ||
+ | font-size: 16px; | ||
+ | margin: 1em 0; | ||
+ | min-height: 150px; | ||
+ | resize: vertical; | ||
+ | } | ||
+ | .strong{ | ||
+ | font-weight:bold; | ||
} | } | ||
− | + | .tease { | |
− | + | color: #1D365D; | |
− | + | font-style: italic; | |
− | + | cursor: pointer; | |
− | + | padding: 0.2ex; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .q{ | |
− | + | border-top: thin solid #ee8301; | |
− | + | margin-bottom: 9em; | |
− | + | width: 100%; | |
} | } | ||
− | + | .q .ans, .q .def, .q .res{ | |
− | + | font-weight: normal; | |
− | + | display: none; | |
} | } | ||
− | . | + | .q .res{ |
− | + | background: rgba(246, 246, 246, 1); | |
+ | border: solid thin black; | ||
+ | border-radius: 0.5ex; | ||
+ | border-style: inset; | ||
+ | border-width: 1px; | ||
+ | box-shadow: 1px 1px 3px #3b434e; | ||
+ | color: #3b434e; | ||
+ | clear:both; | ||
+ | height: auto; | ||
+ | margin-top: 1ex; | ||
+ | max-width: 100%; | ||
+ | overflow: auto; | ||
+ | padding: 1em; | ||
+ | resize: both; | ||
} | } | ||
− | . | + | .setup{ |
− | + | display: none; | |
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .tease{ |
− | + | color:#1d365d; | |
− | + | font-style:italic; | |
− | + | cursor:pointer; | |
+ | padding: 0.2ex; | ||
} | } | ||
− | . | + | @media all and (max-width: 768px){ |
− | + | div.vectorTabs{ | |
− | + | padding: 0; | |
+ | } | ||
+ | .guidelist{ | ||
+ | display: none; | ||
+ | } | ||
+ | .mw-body{ | ||
+ | border-left: 0; | ||
+ | margin-left: 0; | ||
+ | } | ||
+ | div#footer{ | ||
+ | margin-left: 0; | ||
+ | } | ||
+ | #mw-panel{ | ||
+ | display:none; | ||
+ | } | ||
} | } | ||
− | . | + | .qcorrect{ |
− | + | background-image: url(//sqlzoo.net/design/done9.png); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | .qincorrect { |
− | + | background-image:url(//sqlzoo.net/design/undone9.png); | |
} | } | ||
− | + | .qcorrect, .qincorrect { | |
− | + | width: 3em; | |
− | + | height: 3em; | |
− | + | position: absolute; | |
− | + | margin: 0em 0 0 5em; | |
− | + | background-size: 3em; | |
− | + | background-repeat: no-repeat; | |
− | + | background-position: center; | |
} | } |
Latest revision as of 15:27, 16 October 2018
.mw-cookiewarning-container {
position: static !important;
}
/* CodeMirror */
/*---------------------------------------------------------------*/
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: auto!important;
color: black;
direction: ltr;
border-width: 1px 1px 1px 0px;
border-color: grey;
border-style: solid;
}
.CodeMirror, .CodeMirror-scroll, .CodeMirror-gutters {
min-height: 150px !important;
}
/* PADDING */
.CodeMirror-lines {
padding: 4px 0;
/* Vertical padding around content */
}
.CodeMirror pre {
padding: 0 4px;
/* Horizontal padding of content */
}
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
background-color: white;
/* The little square between H and V scrollbars */
}
/* GUTTER */
.CodeMirror-gutters {
border-right: 1px solid #ddd;
background-color: #f7f7f7;
white-space: nowrap;
}
.CodeMirror-linenumbers {
}
.CodeMirror-linenumber {
padding: 0 3px 0 5px;
min-width: 20px;
text-align: right;
color: #999;
white-space: nowrap;
}
.CodeMirror-guttermarker {
color: black;
}
.CodeMirror-guttermarker-subtle {
color: #999;
}
/** CodeMirror **/
/* CURSOR */
.CodeMirror-cursor {
border-left: 1px solid black;
border-right: none;
width: 0;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
border-left: 1px solid silver;
}
.cm-fat-cursor .CodeMirror-cursor {
width: auto;
border: 0 !important;
background: #7e7;
}
.cm-fat-cursor div.CodeMirror-cursors {
z-index: 1;
}
.cm-fat-cursor-mark {
background-color: rgba(20, 255, 20, 0.5);
-webkit-animation: blink 1.06s steps(1) infinite;
-moz-animation: blink 1.06s steps(1) infinite;
animation: blink 1.06s steps(1) infinite;
}
.cm-animate-fat-cursor {
width: auto;
border: 0;
-webkit-animation: blink 1.06s steps(1) infinite;
-moz-animation: blink 1.06s steps(1) infinite;
animation: blink 1.06s steps(1) infinite;
background-color: #7e7;
}
@-moz-keyframes blink {
0% {
}
50% {
background-color: transparent;
}
100% {
}
}
@-webkit-keyframes blink {
0% {
}
50% {
background-color: transparent;
}
100% {
}
}
@keyframes blink {
0% {
}
50% {
background-color: transparent;
}
100% {
}
}
/* Can style cursor different in overwrite (non-insert) mode */
.CodeMirror-overwrite .CodeMirror-cursor {
}
.cm-tab {
display: inline-block;
text-decoration: inherit;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);
background-position: right;
background-repeat: no-repeat;
}
.cm-trailingspace {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAADBnpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZZRjiMpDIbfOcUcAdsYm+NQBUh7gz3+/FAk6aR7WppWXlbaQikoxxjzfy6S0P/9Z4RfuChpDEnNc8k54kolFa4YeLyuq6eY1v260u7p2R4i7y8YJkEv12Pu27/Cro8JtgPR8WwPdu44vgPdVt4BZa48F9t+vgMJX3baz6HseTV92M7+iF353pxfn5NBjKYwCgfuQhJx57mKIANxqeht3RNPC69xxl2n31fahfvwRbyb3q/axbo95FmKEPN2yC8abTvp19othT5mRLchP39R5A76k3ZjNB+jX7urKUOpHPam4g6xRnA8IKWsaRnN8FGMbbWC5tjiCdEbaB5oZ6BCDLUHJWpUaVBf/UknUkzc2dAznyzL5mJc+FxQ0mw02KRIC2DEcoKawMz3XGitW9Z6JzlWbgRPJgSbFD+18JXxJ+0eaIxZukRTTL+0Ql48qwZpTHLzDi8goLE11aXvauGO9XFNsJOZLpkdG6zxuEIcSo/aksVZ4KcxhQ2ZrO0AkAhrK5IhAYGYSZQyRWM2Iujo4FOROaPsDxAgVW4UBtiIZMBxnmtjjtHyZeXLjKMFIBSviAFNkQpYKSnqx5KjhqqKpqCqWU1di9YsOWXNOVueZ1Q1sWRq2czcilUXT66e3dy9eC1cBEeYllwsFC+l1IpFK0JXzK7wqPXgQ4506JEPO/woRz1RPmc69cynnX6WszZu0vD6t9wsNG+l1U4dpdRT1567de+l14FaGzLS0JGHDR9l1Du1TfWZGr2Q+54abWqTWFp+9qAGs9ktBM3jRCczEONEIG6TAAqaJ7PolBJPcpNZLIyXQhnUSCecRpMYCKZOrIPu7B7kvuUWNP0VN/4TuTDRvYNcmOg2uc/cvqDW6vpFkQVovoVT0ygDBxscK3vlo8dz4CfB51P82z78dOL/gf5TgYb7NRwHivOIq3Qcgfbg1ktvPyqr8KaEYnhTQhzelFANb0rIw5sSurb2hoTW1j4siPMG/07Db7o4rMFM+1KDAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gcECwY00aHnvAAAACFJREFUCNdj/P8ss56BgaGBAQKYmBgYGBoYpaYzQgX/AQB32QYEphperwAAAABJRU5ErkJggg==);
background-position: bottom left;
background-repeat: repeat-x;
}
.CodeMirror-rulers {
position: absolute;
left: 0;
right: 0;
top: -50px;
bottom: -20px;
overflow: hidden;
}
.CodeMirror-ruler {
border-left: 1px solid #ccc;
top: 0;
bottom: 0;
position: absolute;
}
/** CodeMirror **/
/* DEFAULT THEME */
.cm-s-default .cm-header {
color: blue;
}
.cm-s-default .cm-quote {
color: #090;
}
.cm-negative {
color: #d44;
}
.cm-positive {
color: #292;
}
.cm-header, .cm-strong {
font-weight: bold;
}
.cm-em {
font-style: italic;
}
.cm-link {
text-decoration: underline;
}
.cm-strikethrough {
text-decoration: line-through;
}
.cm-s-default .cm-keyword {
color: #708;
}
.cm-s-default .cm-atom {
color: #219;
}
.cm-s-default .cm-number {
color: #164;
}
.cm-s-default .cm-def {
color: #00f;
}
.cm-s-default .cm-variable, .cm-s-default .cm-punctuation, .cm-s-default .cm-property, .cm-s-default .cm-operator {
}
.cm-s-default .cm-variable-2 {
color: #05a;
}
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {
color: #085;
}
.cm-s-default .cm-comment {
color: #a50;
}
.cm-s-default .cm-string {
color: #a11;
}
.cm-s-default .cm-string-2 {
color: #f50;
}
.cm-s-default .cm-meta {
color: #555;
}
.cm-s-default .cm-qualifier {
color: #555;
}
.cm-s-default .cm-builtin {
color: #30a;
}
.cm-s-default .cm-bracket {
color: #997;
}
.cm-s-default .cm-tag {
color: #170;
}
.cm-s-default .cm-attribute {
color: #00c;
}
.cm-s-default .cm-hr {
color: #999;
}
.cm-s-default .cm-link {
color: #00c;
}
.cm-s-default .cm-error {
color: #f00;
}
.cm-invalidchar {
color: #f00;
}
.CodeMirror-composing {
border-bottom: 2px solid;
}
/* Default styles for common addons */
div.CodeMirror span.CodeMirror-matchingbracket {
color: #0b0;
}
div.CodeMirror span.CodeMirror-nonmatchingbracket {
color: #a22;
}
.CodeMirror-matchingtag {
background: rgba(255, 150, 0, .3);
}
.CodeMirror-activeline-background {
background: #e8f2ff;
}
/* STOP */
/* The rest of this file contains styles related to the mechanics of the editor. You probably shouldn't touch them. */
.CodeMirror {
position: relative;
overflow: hidden;
background: white;
}
.CodeMirror-scroll {
overflow: hidden !important;
/* Things will break if this is overridden */
/* 30px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
margin-bottom: -30px;
margin-right: -30px;
padding-bottom: 30px;
height: 100%;
outline: none;
/* Prevent dragging from highlighting the element */
position: relative;
}
.CodeMirror-sizer {
position: relative;
border-right: 30px solid transparent;
}
/* The fake, visible scrollbars. Used to force redraw during scrolling before actual scrolling happens, thus preventing shaking and flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
position: absolute;
z-index: 6;
display: none;
}
.CodeMirror-vscrollbar {
right: 0;
top: 0;
overflow-x: hidden;
overflow-y: scroll;
}
.CodeMirror-hscrollbar {
bottom: 0;
left: 0;
overflow-y: hidden;
overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
right: 0;
bottom: 0;
}
.CodeMirror-gutter-filler {
left: 0;
bottom: 0;
}
.CodeMirror-gutters {
position: absolute;
left: 0;
top: 0;
min-height: 100%;
z-index: 3;
}
.CodeMirror-gutter {
white-space: normal;
height: 100%;
display: inline-block;
vertical-align: top;
margin-bottom: -30px;
}
.CodeMirror-gutter-wrapper {
position: absolute;
z-index: 4;
background: none !important;
border: none !important;
}
.CodeMirror-gutter-background {
position: absolute;
top: 0;
bottom: 0;
z-index: 4;
}
.CodeMirror-gutter-elt {
position: absolute;
cursor: default;
z-index: 4;
}
.CodeMirror-gutter-wrapper ::selection {
background-color: transparent
}
.CodeMirror-gutter-wrapper ::-moz-selection {
background-color: transparent
}
.CodeMirror-lines {
cursor: text;
min-height: 1px;
/* prevents collapsing before first draw */
}
.CodeMirror pre {
/* Reset some styles that the rest of the page might have set */
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
border-width: 0;
background: transparent;
font-family: inherit;
font-size: inherit;
margin: 0;
white-space: pre;
word-wrap: normal;
line-height: inherit;
color: inherit;
z-index: 2;
position: relative;
overflow: visible;
-webkit-tap-highlight-color: transparent;
-webkit-font-variant-ligatures: contextual;
font-variant-ligatures: contextual;
}
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
}
.CodeMirror-linebackground {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 0;
}
.CodeMirror-linewidget {
position: relative;
z-index: 2;
padding: 0.1px;
/* Force widget margins to stay inside of the container */
}
.CodeMirror-widget {
}
.CodeMirror-rtl pre {
direction: rtl;
}
.CodeMirror-code {
font-family: "Lucida Console", "Lucida Sans Typewriter", monospace !important;
font-size: 16px;
outline: none;
}
/* Force content-box sizing for the elements where we expect it */
.CodeMirror-scroll, .CodeMirror-sizer, .CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber {
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.CodeMirror-measure {
position: absolute;
width: 100%;
height: 0;
overflow: hidden;
visibility: hidden;
}
.CodeMirror-cursor {
position: absolute;
pointer-events: none;
}
.CodeMirror-measure pre {
position: static;
}
div.CodeMirror-cursors {
visibility: hidden;
position: relative;
z-index: 3;
}
div.CodeMirror-dragcursors {
visibility: visible;
}
.CodeMirror-focused div.CodeMirror-cursors {
visibility: visible;
}
.CodeMirror-selected {
background: #d9d9d9;
}
.CodeMirror-focused .CodeMirror-selected {
background: #d7d4f0;
}
.CodeMirror-crosshair {
cursor: crosshair;
}
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
background: #d7d4f0;
}
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
background: #d7d4f0;
}
.cm-searching {
background-color: #ffa;
background-color: rgba(255, 255, 0, .4);
}
/* Used to force a border model for a node */
.cm-force-border {
padding-right: .1px;
}
@media print {
/* Hide the cursor when printing */
.CodeMirror div.CodeMirror-cursors {
visibility: hidden;
}
}
/* See issue #2901 */
.cm-tab-wrap-hack:after {
content: '';
}
/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext {
background: none;
}
/* foldgutter */
.CodeMirror-foldmarker {
color: blue;
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
font-family: arial;
line-height: .3;
cursor: pointer;
}
.CodeMirror-foldgutter {
width: .7em;
}
.CodeMirror-foldgutter-open, .CodeMirror-foldgutter-folded {
cursor: pointer;
}
.CodeMirror-foldgutter-open:after {
content: "\25BE";
}
.CodeMirror-foldgutter-folded:after {
content: "\25B8";
}
/* The lint marker gutter */
.CodeMirror-lint-markers {
width: 16px;
}
.CodeMirror-lint-tooltip {
background-color: #ffd;
border: 1px solid black;
border-radius: 4px 4px 4px 4px;
color: black;
font-family: monospace;
font-size: 10pt;
overflow: hidden;
padding: 2px 5px;
position: fixed;
white-space: pre;
white-space: pre-wrap;
z-index: 100;
max-width: 600px;
opacity: 0;
transition: opacity .4s;
-moz-transition: opacity .4s;
-webkit-transition: opacity .4s;
-o-transition: opacity .4s;
-ms-transition: opacity .4s;
}
.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
background-position: left bottom;
background-repeat: repeat-x;
}
.CodeMirror-lint-mark-error {
background-image: url("data:image/png;
base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==");
}
.CodeMirror-lint-mark-warning {
background-image: url("data:image/png;
base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
}
.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
background-position: center center;
background-repeat: no-repeat;
cursor: pointer;
display: inline-block;
height: 16px;
width: 16px;
vertical-align: middle;
position: relative;
}
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
padding-left: 18px;
background-position: top left;
background-repeat: no-repeat;
}
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
background-image: url("data:image/png;
base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
}
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
background-image: url("data:image/png;
base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
}
.CodeMirror-lint-marker-multiple {
background-image: url("data:image/png;
base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
background-repeat: no-repeat;
background-position: right bottom;
width: 100%;
height: 100%;
}
/* MDN-LIKE Theme - Mozilla Ported to CodeMirror by Peter Kroon <plakroon@gmail.com> Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues GitHub: @peterkroon The mdn-like theme is inspired on the displayed code examples at: https://developer.mozilla.org/en-US/docs/Web/CSS/animation */
.cm-s-mdn-like.CodeMirror {
color: #999;
background-color: #fff;
}
.cm-s-mdn-like div.CodeMirror-selected {
background: #cfc;
}
.cm-s-mdn-like .CodeMirror-line::selection, .cm-s-mdn-like .CodeMirror-line > span::selection, .cm-s-mdn-like .CodeMirror-line > span > span::selection {
background: #cfc;
}
.cm-s-mdn-like .CodeMirror-line::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span::-moz-selection, .cm-s-mdn-like .CodeMirror-line > span > span::-moz-selection {
background: #cfc;
}
.cm-s-mdn-like .CodeMirror-gutters, .cm-s-neo .CodeMirror-gutters {
background: #f8f8f8;
border-left: 6px solid rgba(0,83,159,0.65);
color: #333;
}
.cm-s-mdn-like .CodeMirror-linenumber, .cm-s-neo .CodeMirror-linenumber {
color: #aaa;
padding-left: 8px;
}
.cm-s-mdn-like .CodeMirror-cursor {
border-left: 2px solid #222;
}
.cm-s-mdn-like .cm-keyword {
color: #6262FF;
}
.cm-s-mdn-like .cm-atom {
color: #F90;
}
.cm-s-mdn-like .cm-number {
color: #ca7841;
}
.cm-s-mdn-like .cm-def {
color: #8DA6CE;
}
.cm-s-mdn-like span.cm-variable-2, .cm-s-mdn-like span.cm-tag {
color: #690;
}
.cm-s-mdn-like span.cm-variable-3, .cm-s-mdn-like span.cm-def, .cm-s-mdn-like span.cm-type {
color: #07a;
}
.cm-s-mdn-like .cm-variable {
color: #07a;
}
.cm-s-mdn-like .cm-property {
color: #905;
}
.cm-s-mdn-like .cm-qualifier {
color: #690;
}
.cm-s-mdn-like .cm-operator {
color: #cda869;
}
.cm-s-mdn-like .cm-comment {
color:#777;
font-weight:normal;
}
.cm-s-mdn-like .cm-string {
color:#07a;
font-style:italic;
}
.cm-s-mdn-like .cm-string-2 {
color:#bd6b18;
}
/*?*/
.cm-s-mdn-like .cm-meta {
color: #000;
}
/*?*/
.cm-s-mdn-like .cm-builtin {
color: #9B7536;
}
/*?*/
.cm-s-mdn-like .cm-tag {
color: #997643;
}
.cm-s-mdn-like .cm-attribute {
color: #d6bb6d;
}
/*?*/
.cm-s-mdn-like .cm-header {
color: #FF6400;
}
.cm-s-mdn-like .cm-hr {
color: #AEAEAE;
}
.cm-s-mdn-like .cm-link {
color:#ad9361;
font-style:italic;
text-decoration:none;
}
.cm-s-mdn-like .cm-error {
border-bottom: 1px solid red;
}
div.cm-s-mdn-like .CodeMirror-activeline-background {
background: #efefff;
}
div.cm-s-mdn-like span.CodeMirror-matchingbracket {
outline:1px solid grey;
color: inherit;
}
.cm-s-mdn-like.CodeMirror, .cm-s-neo.CodeMirror {
background-image: url("data:image/png;
base64,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");
}
/* Fullscreen */
.CodeMirror-fullscreen {
position: fixed;
top: 0;
left: 13em;
right: 0;
bottom: 0;
height: auto;
z-index: 9;
}
/* Hints */
.CodeMirror-hints {
position: absolute;
z-index: 10;
overflow: hidden;
list-style: none;
margin: 0;
padding: 2px;
-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
box-shadow: 2px 3px 5px rgba(0,0,0,.2);
border-radius: 3px;
border: 1px solid silver;
background: white;
font-size: 90%;
font-family: monospace;
max-height: 20em;
overflow-y: auto;
}
.CodeMirror-hint {
margin: 0;
padding: 0 4px;
border-radius: 2px;
white-space: pre;
color: black;
cursor: pointer;
}
li.CodeMirror-hint-active {
background: #08f;
color: white;
}
/* Dialog */
.CodeMirror-dialog {
position: absolute;
left: 0; right: 0;
background: inherit;
z-index: 15;
padding: .1em .8em;
overflow: hidden;
color: inherit;
}
.CodeMirror-dialog-top {
border-bottom: 1px solid #eee;
top: 0;
}
.CodeMirror-dialog-bottom {
border-top: 1px solid #eee;
bottom: 0;
}
.CodeMirror-dialog input {
border: none;
outline: none;
background: transparent;
width: 20em;
color: inherit;
font-family: monospace;
}
.CodeMirror-dialog button {
font-size: 70%;
}
/* Tern */
.CodeMirror-Tern-completion {
padding-left: 22px;
position: relative;
line-height: 1.5;
}
.CodeMirror-Tern-completion:before {
position: absolute;
left: 2px;
bottom: 2px;
border-radius: 50%;
font-size: 12px;
font-weight: bold;
height: 15px;
width: 15px;
line-height: 16px;
text-align: center;
color: white;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.CodeMirror-Tern-completion-unknown:before {
content: "?";
background: #4bb;
}
.CodeMirror-Tern-completion-object:before {
content: "O";
background: #77c;
}
.CodeMirror-Tern-completion-fn:before {
content: "F";
background: #7c7;
}
.CodeMirror-Tern-completion-array:before {
content: "A";
background: #c66;
}
.CodeMirror-Tern-completion-number:before {
content: "1";
background: #999;
}
.CodeMirror-Tern-completion-string:before {
content: "S";
background: #999;
}
.CodeMirror-Tern-completion-bool:before {
content: "B";
background: #999;
}
.CodeMirror-Tern-completion-guess {
color: #999;
}
.CodeMirror-Tern-tooltip {
border: 1px solid silver;
border-radius: 3px;
color: #444;
padding: 2px 5px;
font-size: 90%;
font-family: monospace;
background-color: white;
white-space: pre-wrap;
max-width: 40em;
position: absolute;
z-index: 10;
-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
box-shadow: 2px 3px 5px rgba(0,0,0,.2);
transition: opacity 1s;
-moz-transition: opacity 1s;
-webkit-transition: opacity 1s;
-o-transition: opacity 1s;
-ms-transition: opacity 1s;
}
.CodeMirror-Tern-hint-doc {
max-width: 25em;
margin-top: -3px;
}
.CodeMirror-Tern-fname { color: black; }
.CodeMirror-Tern-farg { color: #70a; }
.CodeMirror-Tern-farg-current { text-decoration: underline; }
.CodeMirror-Tern-type { color: #07c; }
.CodeMirror-Tern-fhint-guess { opacity: .7; }
/* neo theme for codemirror */
/* Color scheme */
.cm-s-neo.CodeMirror {
background-color:#ffffff;
color:#2e383c;
line-height:1.4375;
}
.cm-s-neo .cm-comment { color:#75787b; }
.cm-s-neo .cm-keyword, .cm-s-neo .cm-property { color:#1d75b3; }
.cm-s-neo .cm-atom,.cm-s-neo .cm-number { color:#75438a; }
.cm-s-neo .cm-node,.cm-s-neo .cm-tag { color:#9c3328; }
.cm-s-neo .cm-string { color:#b35e14; }
.cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier { color:#047d65; }
/* Editor styling */
.cm-s-neo pre {
padding:0;
}
.cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; }
.cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; }
/*---------------------------------------------------------------*/
/* Universal */
button{
float: left;
line-height: 1.3;
padding: 5px 8px;
}
button.run {
background-image: linear-gradient(to bottom, #337AB7 0px, #265A88 100%);
background-color: #306AA0;
border-radius: 6px;
border-color: #245580;
border-width: 1px;
color: #FFF;
cursor: pointer;
font-size: 18px;
}
button.other {
border-radius: 0.5ex;
cursor: pointer;
display: inline;
border: 1px solid;
float: right;
font-size: 14px;
margin-left: 0.25em;
}
code {
background-color: #e6e6e6;
}
div.guidelist{
float: right;
width: 32ex;
border-left: 1px solid;
border-right: 1px solid;
background-color: #F0F0FF;
border-collapse: collapse;
border-bottom: 1px solid;
margin-bottom: 2%;
padding-left: 0px;
}
div.guidelist div.fc {
padding: 1em;
background-color: #000;
color: #FFF;
}
div.guidelist div {
padding: 0ex 1em;
border-bottom: 1px solid;
}
div.res.waiting {
background-image: url(/mw/design/spinner.gif) !important;
background-repeat: no-repeat !important;;
background-position: center center !important;;
height: 180px;
}
h1#firstHeading{
overflow-x: hidden;
}
pre{
border-color: #949494;
white-space: pre-wrap;
/* CSS 3 */
white-space: -moz-pre-wrap;
/* Mozilla, since 1999 */
white-space: -pre-wrap;
/* Opera 4-6 */
white-space: -o-pre-wrap;
/* Opera 7 */
word-wrap: break-word;
/* Internet Explorer 5.5+ */
}
span.id{
font-size:300%;
padding-right:1ex
}
textarea{
background: #F9F9F9;
font-family: "Lucida Console", "Lucida Sans Typewriter", monospace;
font-size: 16px;
margin: 1em 0;
min-height: 150px;
resize: vertical;
}
.strong{
font-weight:bold;
}
.tease {
color: #1D365D;
font-style: italic;
cursor: pointer;
padding: 0.2ex;
}
.q{
border-top: thin solid #ee8301;
margin-bottom: 9em;
width: 100%;
}
.q .ans, .q .def, .q .res{
font-weight: normal;
display: none;
}
.q .res{
background: rgba(246, 246, 246, 1);
border: solid thin black;
border-radius: 0.5ex;
border-style: inset;
border-width: 1px;
box-shadow: 1px 1px 3px #3b434e;
color: #3b434e;
clear:both;
height: auto;
margin-top: 1ex;
max-width: 100%;
overflow: auto;
padding: 1em;
resize: both;
}
.setup{
display: none;
}
.tease{
color:#1d365d;
font-style:italic;
cursor:pointer;
padding: 0.2ex;
}
@media all and (max-width: 768px){
div.vectorTabs{
padding: 0;
}
.guidelist{
display: none;
}
.mw-body{
border-left: 0;
margin-left: 0;
}
div#footer{
margin-left: 0;
}
#mw-panel{
display:none;
}
}
.qcorrect{
background-image: url(//sqlzoo.net/design/done9.png);
}
.qincorrect {
background-image:url(//sqlzoo.net/design/undone9.png);
}
.qcorrect, .qincorrect {
width: 3em;
height: 3em;
position: absolute;
margin: 0em 0 0 5em;
background-size: 3em;
background-repeat: no-repeat;
background-position: center;
}