r104782 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104781‎ | r104782 | r104783 >
Date:23:21, 30 November 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Moved toolbar view styles
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/styles/es.ToolbarView.css (added) (history)
  • /trunk/extensions/VisualEditor/modules/sandbox/sandbox.css (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/styles/es.ToolbarView.css
@@ -0,0 +1,74 @@
 2+.es-toolbarGroups:after,
 3+.es-toolbarGroup:after {
 4+ content: ".";
 5+ display: block;
 6+ height: 0;
 7+ clear: both;
 8+ visibility: hidden;
 9+}
 10+.es-toolbarGroup {
 11+ float: left;
 12+ padding: 0.25em;
 13+}
 14+.es-toolbarGroup-preview {
 15+ float: right;
 16+}
 17+.es-toolbarDivider {
 18+ float: left;
 19+ width: 1px;
 20+ height: 24px;
 21+ margin: 0.5em 0 0.5em 0.5em;
 22+ background-color: #dddddd;
 23+}
 24+.es-toolbarLabel {
 25+ float: left;
 26+ padding: 0.5em 0.75em;
 27+ line-height: 22px;
 28+ font-size: 0.8em;
 29+ color: #555555;
 30+}
 31+.es-toolbarButtonTool,
 32+.es-toolbarDropdownTool {
 33+ float: left;
 34+ padding: 0.25em;
 35+ border: solid 1px transparent;
 36+ border-radius: 0.125em;
 37+ -webkit-border-radius: 0.125em;
 38+ -moz-border-radius: 0.125em;
 39+ -o-border-radius: 0.125em;
 40+ cursor: pointer;
 41+}
 42+.es-toolbarButtonTool {
 43+ width: 22px;
 44+ height: 22px;
 45+}
 46+.es-toolbarButtonTool:before {
 47+ content: " ";
 48+ display: block;
 49+ height: 22px;
 50+ width: 22px;
 51+}
 52+.es-toolbarButtonTool:hover,
 53+.es-toolbarDropdownTool:hover {
 54+ border-color: #eeeeee;
 55+}
 56+.es-toolbarButtonTool:active,
 57+.es-toolbarButtonTool-down {
 58+ border-color: #dddddd;
 59+ background-image: url(images/fade-down.png);
 60+ background-position: top left;
 61+ background-repeat: repeat-x;
 62+}
 63+.es-toolbarButtonTool-bold:before {
 64+ background-image: url(../es/images/bold.png);
 65+}
 66+.es-toolbarButtonTool-italic:before {
 67+ background-image: url(../es/images/italic.png);
 68+}
 69+.es-toolbarButtonTool-clear:before {
 70+ background-image: url(../es/images/clear.png);
 71+}
 72+.es-toolbarDropdownTool {
 73+}
 74+.es-toolbarDropdownTool-formatting {
 75+}
\ No newline at end of file
Index: trunk/extensions/VisualEditor/modules/sandbox/sandbox.css
@@ -46,80 +46,7 @@
4747 .es-showData #es-editor {
4848 border-right: solid 1px #cccccc;
4949 }
50 -.es-toolbarGroups:after,
51 -.es-toolbarGroup:after {
52 - content: ".";
53 - display: block;
54 - height: 0;
55 - clear: both;
56 - visibility: hidden;
57 -}
58 -.es-toolbarGroup {
59 - float: left;
60 - padding: 0.25em;
61 -}
62 -.es-toolbarGroup-preview {
63 - float: right;
64 -}
65 -.es-toolbarDivider {
66 - float: left;
67 - width: 1px;
68 - height: 24px;
69 - margin: 0.5em 0 0.5em 0.5em;
70 - background-color: #dddddd;
71 -}
72 -.es-toolbarLabel {
73 - float: left;
74 - padding: 0.5em 0.75em;
75 - line-height: 22px;
76 - font-size: 0.8em;
77 - color: #555555;
78 -}
79 -.es-toolbarButtonTool,
80 -.es-toolbarDropdownTool {
81 - float: left;
82 - padding: 0.25em;
83 - border: solid 1px transparent;
84 - border-radius: 0.125em;
85 - -webkit-border-radius: 0.125em;
86 - -moz-border-radius: 0.125em;
87 - -o-border-radius: 0.125em;
88 - cursor: pointer;
89 -}
90 -.es-toolbarButtonTool {
91 - width: 22px;
92 - height: 22px;
93 -}
94 -.es-toolbarButtonTool:before {
95 - content: " ";
96 - display: block;
97 - height: 22px;
98 - width: 22px;
99 -}
100 -.es-toolbarButtonTool:hover,
101 -.es-toolbarDropdownTool:hover {
102 - border-color: #eeeeee;
103 -}
104 -.es-toolbarButtonTool:active,
105 -.es-toolbarButtonTool-down {
106 - border-color: #dddddd;
107 - background-image: url(images/fade-down.png);
108 - background-position: top left;
109 - background-repeat: repeat-x;
110 -}
111 -.es-toolbarButtonTool-bold:before {
112 - background-image: url(../es/images/bold.png);
113 -}
114 -.es-toolbarButtonTool-italic:before {
115 - background-image: url(../es/images/italic.png);
116 -}
117 -.es-toolbarButtonTool-clear:before {
118 - background-image: url(../es/images/clear.png);
119 -}
120 -.es-toolbarDropdownTool {
121 -}
122 -.es-toolbarDropdownTool-formatting {
123 -}
 50+
12451 #es-previews {
12552 display: none;
12653 }

Status & tagging log