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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Rose <sam@gitlab.com>2016-12-30 17:44:21 +0300
committerSam Rose <sam@gitlab.com>2016-12-31 15:35:05 +0300
commitdbe0d0fb5a0ae889b452cd7f2ba1ada7c8e6441d (patch)
tree764f9c726f90725aa832cfd60e5b7fe2da8ce06f /app/assets/stylesheets/framework/awards.scss
parent8dc2163ce580f1d71be1cf45e5dfcb2b4763d7bb (diff)
Disable award emoji button but display tooltip
Diffstat (limited to 'app/assets/stylesheets/framework/awards.scss')
-rw-r--r--app/assets/stylesheets/framework/awards.scss14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/awards.scss b/app/assets/stylesheets/framework/awards.scss
index 9fc9bcebc44..49907417e26 100644
--- a/app/assets/stylesheets/framework/awards.scss
+++ b/app/assets/stylesheets/framework/awards.scss
@@ -97,8 +97,20 @@
padding: 5px 6px;
outline: 0;
- &:hover,
+ &.disabled {
+ cursor: default;
+
+ &:hover,
+ &:focus,
+ &:active {
+ background-color: $white-light;
+ border-color: $border-color;
+ box-shadow: none;
+ }
+ }
+
&.active,
+ &:hover,
&:active {
background-color: $row-hover;
border-color: $row-hover-border;