VE styles
Positioned toolbar properly for all modes. Added icon to ve-edit, and new icon for edit source. Yadda. Toolbar does not work properly at low resolutions. This is a VE problem. Cactions do not work with editor open. This is a VE problem. bug: T161462 Change-Id: Ie5f4732f49f2dc365f5a3cc0c4b0e21444c21d1fisekai
parent
51ad44c60a
commit
adf906a297
@ -0,0 +1,25 @@
|
||||
@import "../variables.less";
|
||||
|
||||
@media screen {
|
||||
.client-js {
|
||||
.mw-editsection a {
|
||||
.background-image-svg('../images/brackets-grey.svg', '../images/brackets-grey.png');
|
||||
margin-right: 1.25em;
|
||||
}
|
||||
.mw-editsection a.mw-editsection-visualeditor {
|
||||
.background-image-svg('../images/pencil-grey.svg', '../images/pencil-grey.png');
|
||||
}
|
||||
.mw-editsection-divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: @mobile-width) {
|
||||
#ca-ve-edit a {
|
||||
.background-image-svg('../images/pencil-grey.svg', '../images/pencil-grey.png');
|
||||
}
|
||||
#ca-edit a {
|
||||
.background-image-svg('../images/brackets-grey.svg', '../images/brackets-grey.png');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
@import "../variables.less";
|
||||
|
||||
@media screen {
|
||||
.ve-ui-toolbar {
|
||||
margin: -.8em -2em 0;
|
||||
}
|
||||
|
||||
// Still need a way to make it show up right away (instead of initially disappearin under the page header)
|
||||
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
|
||||
top: @fixed-header-height + @color-height;
|
||||
}
|
||||
|
||||
// Apparently the margin is normally removed/negated elsewhere in other skins (T162493)
|
||||
.ve-ce-documentNode {
|
||||
padding: 0.94em 1.88em;
|
||||
margin: auto -1.88em;
|
||||
}
|
||||
|
||||
@media (min-width: @desktop-small-floor) and (max-width: @desktop-small-width) {
|
||||
.ve-ui-toolbar {
|
||||
margin-top: -.5em;
|
||||
}
|
||||
}
|
||||
@media (max-width: @mobile-width) {
|
||||
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 193 B |
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
id="svg4570"
|
||||
version="1.1"
|
||||
viewBox="0 0 5.2916665 5.2916665"
|
||||
height="5.2916665mm"
|
||||
width="5.2916665mm">
|
||||
<defs
|
||||
id="defs4564" />
|
||||
<metadata
|
||||
id="metadata4567">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
transform="translate(-108.66815,-132.58035)"
|
||||
id="layer1">
|
||||
<path
|
||||
id="path4530"
|
||||
d="m 109.19732,133.37411 h 0.79375 v 0.26458 h -0.26458 v 3.175 h 0.26458 v 0.26458 h -0.79375 z"
|
||||
style="fill:#aaaaaa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path4532"
|
||||
d="m 113.43065,133.37411 v 3.70416 h -0.79375 v -0.26458 h 0.26459 v -3.175 h -0.26459 v -0.26458 z"
|
||||
style="fill:#aaaaaa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path4530-7"
|
||||
d="m 110.25565,133.37411 h 0.79375 v 0.26458 h -0.26458 v 3.175 h 0.26458 v 0.26458 h -0.79375 z"
|
||||
style="fill:#aaaaaa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path4532-5"
|
||||
d="m 112.37232,133.37411 v 3.70416 h -0.79375 v -0.26458 h 0.26458 v -3.175 h -0.26458 v -0.26458 z"
|
||||
style="fill:#aaaaaa;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue