2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2012-05-21 04:12:37 -07:00
|
|
|
* 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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
@namespace url(http://www.w3.org/2000/svg);
|
2012-10-03 14:32:35 -07:00
|
|
|
@namespace xml url(http://www.w3.org/XML/1998/namespace);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
style, script, symbol {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
switch {
|
|
|
|
-moz-binding: none !important;
|
2011-09-24 01:28:55 -07:00
|
|
|
}
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-07-08 17:55:34 -07:00
|
|
|
svg:not(:root), symbol, image, marker, pattern, foreignObject {
|
2007-03-22 10:30:00 -07:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2012-09-05 21:58:46 -07:00
|
|
|
@media all and (-moz-is-glyph) {
|
|
|
|
:root {
|
2013-09-14 04:40:49 -07:00
|
|
|
fill: context-fill;
|
|
|
|
fill-opacity: context-fill-opacity;
|
|
|
|
stroke: context-stroke;
|
|
|
|
stroke-opacity: context-stroke-opacity;
|
|
|
|
stroke-width: context-value;
|
|
|
|
stroke-dasharray: context-value;
|
|
|
|
stroke-dashoffset: context-value;
|
2012-09-05 21:58:46 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
foreignObject {
|
|
|
|
margin: 0 ! important;
|
|
|
|
padding: 0 ! important;
|
2007-05-04 23:22:36 -07:00
|
|
|
border-width: 0 ! important;
|
2013-01-26 02:28:15 -08:00
|
|
|
white-space: normal;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2011-09-24 01:28:55 -07:00
|
|
|
@media all and (-moz-is-resource-document) {
|
|
|
|
foreignObject *|* {
|
2011-09-26 09:29:06 -07:00
|
|
|
-moz-appearance: none !important;
|
2011-09-24 01:28:55 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
*|*::-moz-svg-foreign-content {
|
|
|
|
display: block !important;
|
2012-02-21 15:01:41 -08:00
|
|
|
/* We need to be an absolute and fixed container */
|
2013-03-20 11:59:11 -07:00
|
|
|
transform: translate(0) !important;
|
2008-09-15 15:41:42 -07:00
|
|
|
text-indent: 0;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
2012-05-16 21:05:09 -07:00
|
|
|
|
2013-11-10 18:23:56 -08:00
|
|
|
/* Set |transform-origin:0% 0%;| for all SVG elements except outer-<svg>,
|
2012-05-16 21:05:09 -07:00
|
|
|
noting that 'svg' as a child of 'foreignObject' counts as outer-<svg>.
|
|
|
|
*/
|
|
|
|
*:not(svg),
|
|
|
|
*:not(foreignObject) > svg {
|
2013-03-20 11:59:11 -07:00
|
|
|
transform-origin:0 0;
|
2012-05-16 21:05:09 -07:00
|
|
|
}
|
|
|
|
|
2012-08-10 00:09:55 -07:00
|
|
|
*|*::-moz-svg-text {
|
|
|
|
unicode-bidi: inherit;
|
2013-06-16 04:05:39 -07:00
|
|
|
vector-effect: inherit;
|
2012-08-10 00:09:55 -07:00
|
|
|
}
|
2012-10-03 14:32:35 -07:00
|
|
|
|
|
|
|
*[xml|space=preserve] {
|
|
|
|
white-space: -moz-pre-discard-newlines;
|
|
|
|
}
|
2013-09-15 22:06:29 -07:00
|
|
|
|
|
|
|
*|*::-moz-svg-marker-anon-child {
|
|
|
|
clip-path: inherit;
|
|
|
|
filter: inherit;
|
|
|
|
mask: inherit;
|
|
|
|
opacity: inherit;
|
|
|
|
}
|