Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/_mixins.scss')
-rw-r--r--app/assets/stylesheets/_mixins.scss20
1 files changed, 19 insertions, 1 deletions
diff --git a/app/assets/stylesheets/_mixins.scss b/app/assets/stylesheets/_mixins.scss
index 17523f226..1f3dfb1b6 100644
--- a/app/assets/stylesheets/_mixins.scss
+++ b/app/assets/stylesheets/_mixins.scss
@@ -1,7 +1,7 @@
/* Mixin file for sass. Here is where we define our variables and
browser compatability functions used in all scss/sass files */
-/* Transision defaults */
+// Transition defaults
$speed: 0.1s;
$easing: linear;
@@ -138,3 +138,21 @@ $default-border-radius: 3px;
.glyphicon-ok { display: none;}
}
}
+
+@mixin aspect-dropdown-link($anchor-size) {
+ $link-text-color: #333;
+
+ a {
+ cursor: pointer;
+ padding-left: 10px;
+
+ .text {
+ color: $link-text-color;
+ font-size: $anchor-size;
+ }
+
+ &:hover {
+ background: $background-grey;
+ }
+ }
+}