Index: trunk/extensions/VisualEditor/demo/es.css |
— | — | @@ -0,0 +1,132 @@ |
| 2 | +body { |
| 3 | + font-family: "Arial"; |
| 4 | + font-size: 1em; |
| 5 | + width: 100%; |
| 6 | + margin: 1em 0; |
| 7 | + padding: 0; |
| 8 | + overflow-y: scroll; |
| 9 | + -webkit-user-select: none; |
| 10 | + background-color: white; |
| 11 | +} |
| 12 | +#es-base { |
| 13 | + margin: 2em; |
| 14 | + -webkit-box-shadow: 0 0.25em 1.5em 0 #dddddd; |
| 15 | + -moz-box-shadow: 0 0.25em 1.5em 0 #dddddd; |
| 16 | + box-shadow: 0 0.25em 1.5em 0 #dddddd; |
| 17 | + -webkit-border-radius: 0.5em; |
| 18 | + -moz-border-radius: 0.5em; |
| 19 | + -o-border-radius: 0.5em; |
| 20 | + border-radius: 0.5em; |
| 21 | +} |
| 22 | +#es-toolbar, |
| 23 | +#es-panes { |
| 24 | + border: solid 1px #dddddd; |
| 25 | +} |
| 26 | +#es-toolbar { |
| 27 | + border-bottom: none; |
| 28 | + -webkit-border-top-right-radius: 0.25em; |
| 29 | + -moz-border-top-right-radius: 0.25em; |
| 30 | + -o-border-top-right-radius: 0.25em; |
| 31 | + border-top-right-radius: 0.25em; |
| 32 | + -webkit-border-top-left-radius: 0.25em; |
| 33 | + -moz-border-top-left-radius: 0.25em; |
| 34 | + -o-border-top-left-radius: 0.25em; |
| 35 | + border-top-left-radius: 0.25em; |
| 36 | + background-image: url(images/fade-up.png); |
| 37 | + background-position: bottom left; |
| 38 | + background-repeat: repeat-x; |
| 39 | +} |
| 40 | +.es-showData #es-visual, |
| 41 | +.es-showData #es-previews { |
| 42 | + width: 50%; |
| 43 | + float: left; |
| 44 | + overflow: hidden; |
| 45 | +} |
| 46 | +.es-showData #es-editor { |
| 47 | + border-right: solid 1px #dddddd; |
| 48 | +} |
| 49 | +.es-toolbarGroup { |
| 50 | + float: left; |
| 51 | + padding: 0.25em; |
| 52 | +} |
| 53 | +.es-toolbarGroup-preview { |
| 54 | + float: right; |
| 55 | +} |
| 56 | +.es-toolbarDivider { |
| 57 | + float: left; |
| 58 | + width: 1px; |
| 59 | + height: 24px; |
| 60 | + margin: 0.5em 0 0.5em 0.5em; |
| 61 | + background-color: #dddddd; |
| 62 | +} |
| 63 | +.es-toolbarLabel { |
| 64 | + float: left; |
| 65 | + padding: 0.5em 0.75em; |
| 66 | + line-height: 22px; |
| 67 | + font-size: 0.8em; |
| 68 | + color: #555555; |
| 69 | +} |
| 70 | +.es-toolbarTool { |
| 71 | + float: left; |
| 72 | + padding: 0.25em; |
| 73 | + border: solid 1px transparent; |
| 74 | + border-radius: 0.125em; |
| 75 | + -webkit-border-radius: 0.125em; |
| 76 | + -moz-border-radius: 0.125em; |
| 77 | + -o-border-radius: 0.125em; |
| 78 | + cursor: pointer; |
| 79 | +} |
| 80 | +.es-toolbarTool:hover, |
| 81 | +.es-toolbarTool-down:hover { |
| 82 | + border-color: #eeeeee; |
| 83 | +} |
| 84 | +.es-toolbarTool:active, |
| 85 | +.es-toolbarTool-down { |
| 86 | + border-color: #dddddd; |
| 87 | + background-image: url(images/fade-down.png); |
| 88 | + background-position: top left; |
| 89 | + background-repeat: repeat-x; |
| 90 | +} |
| 91 | +.es-toolbarTool img { |
| 92 | + display: block; |
| 93 | + width: 22px; |
| 94 | + height: 22px; |
| 95 | +} |
| 96 | +#es-previews { |
| 97 | + display: none; |
| 98 | +} |
| 99 | +.es-showData #es-previews { |
| 100 | + display: block; |
| 101 | +} |
| 102 | +.es-preview { |
| 103 | + margin: 0; |
| 104 | + padding: 1em; |
| 105 | +} |
| 106 | +.es-code { |
| 107 | + white-space: pre-wrap; |
| 108 | + font-family: "Droid Sans Mono", "Courier New", monospace; |
| 109 | + font-size: 0.8em; |
| 110 | +} |
| 111 | +.es-render { |
| 112 | + line-height: 1.5em; |
| 113 | + padding-top: 0; |
| 114 | +} |
| 115 | + |
| 116 | +/* General MediaWiki Styles */ |
| 117 | + |
| 118 | +.es-render ul { |
| 119 | + line-height: 1.5em; |
| 120 | + list-style-type: square; |
| 121 | + margin: .3em 0 0 1.5em; |
| 122 | + padding: 0; |
| 123 | + list-style-image: url(images/bullet-icon.png); |
| 124 | +} |
| 125 | +.es-render ol { |
| 126 | + line-height: 1.5em; |
| 127 | + margin: .3em 0 0 3.2em; |
| 128 | + padding: 0; |
| 129 | + list-style-image: none; |
| 130 | +} |
| 131 | +.es-render li { |
| 132 | + margin-bottom: .1em; |
| 133 | +} |