summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/behaviors.scss
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-06-26 09:49:14 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-07-17 22:47:16 +0200
commit714f7201d3362793d11f33793e5ef6dc83bdd2f0 (patch)
tree54e6a4cc5ef89e132a123231b439b83de0e54d54 /app/assets/stylesheets/behaviors.scss
parentb634d2801e6abdd039447f53ec5d9cf709f66b06 (diff)
downloadgitlab-ce-714f7201d3362793d11f33793e5ef6dc83bdd2f0.tar.gz
Add project stars.
Diffstat (limited to 'app/assets/stylesheets/behaviors.scss')
-rw-r--r--app/assets/stylesheets/behaviors.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/behaviors.scss b/app/assets/stylesheets/behaviors.scss
index 23f206ce3dc..034692a67e1 100644
--- a/app/assets/stylesheets/behaviors.scss
+++ b/app/assets/stylesheets/behaviors.scss
@@ -4,3 +4,9 @@
.js-details-container .content.hide { display: block; }
.js-details-container.open .content { display: block; }
.js-details-container.open .content.hide { display: none; }
+
+// Toggle between two states.
+.js-toggler-container .turn-on { display: inline-block; }
+.js-toggler-container .turn-off { display: none; }
+.js-toggler-container.on .turn-on { display: none; }
+.js-toggler-container.on .turn-off { display: inline-block; }