Version 1
[yaffs-website] / web / core / themes / bartik / css / components / shortcut.css
diff --git a/web/core/themes/bartik/css/components/shortcut.css b/web/core/themes/bartik/css/components/shortcut.css
new file mode 100644 (file)
index 0000000..8142ba5
--- /dev/null
@@ -0,0 +1,29 @@
+/**
+ * @file
+ * Visual styles for the Shortcut action link in Bartik.
+ */
+
+.shortcut-wrapper {
+  margin: 2.2em 0 1.1em 0; /* Same as usual .page-title margin. */
+}
+.shortcut-wrapper .page-title {
+  float: left; /* LTR */
+  margin: 0;
+}
+[dir="rtl"] .shortcut-wrapper .page-title {
+  float: right;
+}
+.shortcut-action {
+  border-bottom: none;
+  margin-left: 0.5em; /* LTR */
+  padding-top: 0.35em;
+}
+[dir="rtl"] .shortcut-action {
+  margin-left: 0;
+  margin-right: 0.5em;
+}
+.shortcut-action:hover,
+.shortcut-action:active,
+.shortcut-action:focus {
+  border-bottom: none;
+}