diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-06-26 09:49:14 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-07-17 22:47:16 +0200 |
commit | 714f7201d3362793d11f33793e5ef6dc83bdd2f0 (patch) | |
tree | 54e6a4cc5ef89e132a123231b439b83de0e54d54 /app/assets/stylesheets/behaviors.scss | |
parent | b634d2801e6abdd039447f53ec5d9cf709f66b06 (diff) | |
download | gitlab-ce-714f7201d3362793d11f33793e5ef6dc83bdd2f0.tar.gz |
Add project stars.
Diffstat (limited to 'app/assets/stylesheets/behaviors.scss')
-rw-r--r-- | app/assets/stylesheets/behaviors.scss | 6 |
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; } |