summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/feature_highlight.scss
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-08-17 11:50:20 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-08-17 11:50:20 -0500
commitadb7dfe7207f7e120dd4371f8008b4579c9e93f6 (patch)
tree8e8cc03babe84f98e40e01b97166e8cbd210c7a6 /app/assets/stylesheets/framework/feature_highlight.scss
parentd2fabcf87005f7cee0c72c74a25eced147958ea9 (diff)
downloadgitlab-ce-adb7dfe7207f7e120dd4371f8008b4579c9e93f6.tar.gz
[skip ci] use popover css but not js
Diffstat (limited to 'app/assets/stylesheets/framework/feature_highlight.scss')
-rw-r--r--app/assets/stylesheets/framework/feature_highlight.scss97
1 files changed, 57 insertions, 40 deletions
diff --git a/app/assets/stylesheets/framework/feature_highlight.scss b/app/assets/stylesheets/framework/feature_highlight.scss
index 4978dce26d2..3ff30461491 100644
--- a/app/assets/stylesheets/framework/feature_highlight.scss
+++ b/app/assets/stylesheets/framework/feature_highlight.scss
@@ -1,6 +1,6 @@
-.feature-highlight-container {
- position: relative;
-}
+// .feature-highlight-container {
+// position: relative;
+// }
.feature-highlight {
margin-left: 16px;
@@ -17,51 +17,68 @@
}
}
-.rich-tooltip-container {
+.popover-container {
display: none;
- position: absolute;
- top: -50px;
- left: 0;
- padding-left: 50px;
- background-color: rgba(0,0,0, 0.1);
+ // background-color: rgba(0, 0, 0, 0.1);
+ width: 200px;
+ height: 30px;
+ margin-top: -13px;
+ cursor: default;
}
-.rich-tooltip.right-tooltip:before {
- content: '';
- position: absolute;
- left: 41px;
- top: 50px;
- width: 10px;
- height: 10px;
- background-color: white;
+.feature-highlight .popover {
+ display: block;
}
-.rich-tooltip {
- cursor: default;
- background-color: $white-light;
- box-shadow: rgba(0, 0, 0, 0.2) 0 5px 10px;
- border-width: 1px;
- border-style: solid;
- border-color: rgba(0, 0, 0, 0.2);
- border-radius: 6px;
- max-width: 276px;
+.feature-highlight:hover .popover-container {
+ display: block;
+}
- header {
- padding: 8px 14px;
- margin: 0;
- border-bottom: 1px solid rgb(235, 235, 235);
- border-radius: 5px 5px 0 0;
- }
+// .rich-tooltip-container {
+// display: none;
+// position: absolute;
+// top: -50px;
+// left: 0;
+// padding-left: 50px;
+// background-color: rgba(0,0,0, 0.1);
+// }
- section {
- padding: 9px 14px;
- }
-}
+// .rich-tooltip.right-tooltip:before {
+// content: '';
+// position: absolute;
+// left: 41px;
+// top: 50px;
+// width: 10px;
+// height: 10px;
+// background-color: white;
+// }
-// .feature-highlight-container:hover .rich-tooltip,
-.feature-highlight-container:hover > .rich-tooltip-container {
- display: block;
-}
+// .rich-tooltip {
+// cursor: default;
+// background-color: $white-light;
+// box-shadow: rgba(0, 0, 0, 0.2) 0 5px 10px;
+// border-width: 1px;
+// border-style: solid;
+// border-color: rgba(0, 0, 0, 0.2);
+// border-radius: 6px;
+// max-width: 276px;
+
+// header {
+// padding: 8px 14px;
+// margin: 0;
+// border-bottom: 1px solid rgb(235, 235, 235);
+// border-radius: 5px 5px 0 0;
+// }
+
+// section {
+// padding: 9px 14px;
+// }
+// }
+
+// // .feature-highlight-container:hover .rich-tooltip,
+// .feature-highlight-container:hover > .rich-tooltip-container {
+// display: block;
+// }
@include keyframes(pulse-highlight) {
0% {