Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sulkaharo committed Jul 10, 2018
1 parent cbd9344 commit 8aae73d
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 3 deletions.
1 change: 0 additions & 1 deletion bundle/bundle.source.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import '../static/css/drawer.css';
import '../static/css/dropdown.css';
import '../static/css/sgv.css';
import '../node_modules/jquery.tooltips/css/jquery.tooltips.css';


$ = require("jquery");
Expand Down
102 changes: 102 additions & 0 deletions static/css/jquery.tooltips.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
.tooltip {
position: absolute;
font-size: 10px;
padding: 3px 8px;
opacity: 0.9;
z-index: 9999;
}
.tooltip .tooltip-inner {
background-color: #000;
color: #fff;
max-width: 200px;
padding: 3px 8px;
text-align: center;
box-shadow: 0 0 5px 0 black;
}
.tooltip .tooltip-arrow {
position: absolute;
width: 0;
height: 0;
line-height: 0;
border: 5px dashed #000;
}
.tooltip .tooltip-arrow-n {
border-bottom-color: #000;
}
.tooltip .tooltip-arrow-s {
border-top-color: #000;
}
.tooltip .tooltip-arrow-e {
border-left-color: #000;
}
.tooltip .tooltip-arrow-w {
border-right-color: #000;
}
.tooltip.tooltip-n .tooltip-arrow {
top: 0px;
left: 50%;
margin-left: -5px;
border-bottom-style: solid;
border-top: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-nw .tooltip-arrow {
top: 0;
left: 10px;
border-bottom-style: solid;
border-top: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-ne .tooltip-arrow {
top: 0;
right: 10px;
border-bottom-style: solid;
border-top: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-s .tooltip-arrow {
bottom: 0;
left: 50%;
margin-left: -5px;
border-top-style: solid;
border-bottom: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-sw .tooltip-arrow {
bottom: 0;
left: 10px;
border-top-style: solid;
border-bottom: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-se .tooltip-arrow {
bottom: 0;
right: 10px;
border-top-style: solid;
border-bottom: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-e .tooltip-arrow {
right: 0;
top: 50%;
margin-top: -5px;
border-left-style: solid;
border-right: none;
border-top-color: transparent;
border-bottom-color: transparent;
}
.tooltip.tooltip-w .tooltip-arrow {
left: 0;
top: 50%;
margin-top: -5px;
border-right-style: solid;
border-left: none;
border-top-color: transparent;
border-bottom-color: transparent;
}
5 changes: 3 additions & 2 deletions views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
<meta name="msapplication-TileImage" content="/images/mstile-144x144.png">
<meta name="msapplication-config" content="/browserconfig.xml">
<meta name="theme-color" content="#333333">
<link rel="stylesheet" type="text/css" href="css/main.css?v=<%= locals.cachebuster %>" media="none" onload="if(media!='all')media='all'" />
<link rel="stylesheet" type="text/css" href="css/ui-darkness/jquery-ui.min.css" media="none" onload="if(media!='all')media='all'">

<link rel="stylesheet" type="text/css" href="css/jquery.tooltips.css" media="none" onload="if(media!='all')media='all'">
<link rel="stylesheet" type="text/css" href="css/main.css?v=<%= locals.cachebuster %>" media="none" onload="if(media!='all')media='all'" />

<style media="screen" type="text/css">

#centerMessagePanel
Expand Down

0 comments on commit 8aae73d

Please sign in to comment.