git-svn-id: svn://euphorik.ch/pompage@45 02bbb61a-6d21-0410-aba0-cb053bdfd66a
[pompage.git] / doc / webdeveloper / stylesheets / display_ruler.css
diff --git a/doc/webdeveloper/stylesheets/display_ruler.css b/doc/webdeveloper/stylesheets/display_ruler.css
new file mode 100644 (file)
index 0000000..3dac16d
--- /dev/null
@@ -0,0 +1,71 @@
+*
+{
+    cursor: crosshair !important;
+}
+
+#webdeveloper-ruler
+{
+    -moz-opacity: 0.5 !important;
+    -moz-outline: 1px solid #ff0000 !important;
+    background-color: #cccccc !important;
+    background-image: url(chrome://webdeveloper/content/images/features/ruler.png) !important;
+    height: 0;
+    left: 0;
+    opacity: 0.5 !important;
+    outline: 1px solid #ff0000 !important;
+    position: absolute !important;
+    top: 0;
+    width: 0;
+    z-index: 999 !important;
+}
+
+#webdeveloper-ruler > div > div
+{
+    background-color: #666666 !important;
+    border-color: #ff0000 !important;
+    border-style: solid !important;
+    height: 15px !important;
+    position: absolute !important;
+    width: 15px !important;
+}
+
+#webdeveloper-ruler-container
+{
+    cursor: move !important;
+    height: 100% !important;
+    overflow: hidden !important;
+    position: relative !important;
+    width: 100% !important;
+}
+
+#webdeveloper-ruler-north-east
+{
+    border-width: 0 0 1px 1px !important;
+    cursor: ne-resize !important;
+    right: 0 !important;
+    top: 0 !important;
+}
+
+#webdeveloper-ruler-north-west
+{
+    border-width: 0 1px 1px 0 !important;
+    cursor: nw-resize !important;
+    left: 0 !important;
+    top: 0 !important;
+}
+
+#webdeveloper-ruler-south-east
+{
+    border-width: 1px 0 0 1px !important;
+    bottom: 0 !important;
+    cursor: se-resize !important;
+    right: 0 !important;
+}
+
+#webdeveloper-ruler-south-west
+{
+    border-width: 1px 1px 0 0 !important;
+    bottom: 0 !important;
+    cursor: sw-resize !important;
+    left: 0 !important;
+}
\ No newline at end of file