From 8603269f8019e1e7372edf5b3054464cf9b5c30e Mon Sep 17 00:00:00 2001 From: Melissa Wen Date: Sun, 30 Aug 2015 18:36:38 -0300 Subject: [PATCH] Adding tooltip style --- css/tooltip.css | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+), 0 deletions(-) create mode 100644 css/tooltip.css diff --git a/css/tooltip.css b/css/tooltip.css new file mode 100644 index 0000000..9a7c38f --- /dev/null +++ b/css/tooltip.css @@ -0,0 +1,40 @@ +.ui-tooltip { + position: relative; + width: -moz-fit-content; + width: -webkit-fit-content; + width: fit-content; + max-width:280px; + padding: 15px 10px 15px 20px; + background: #172638; + color: white; + font-family: Arial, sans-serif; + font-size: 13px; + border: 0px !important; + z-index: 1070; +} + +.ui-tooltip-bottom:after { + content: " "; + height: 0; + width: 0; + margin-left: -6px; + position: absolute; + bottom: 100%; + left: 50%; + border: solid transparent; + border-bottom-color: #172638; + border-width: 6px; +} + +.ui-tooltip-top:after { + content: " "; + height: 0; + width: 0; + margin-left: -6px; + position: absolute; + top: 100%; + left: 50%; + border: solid transparent; + border-top-color: #172638; + border-width: 6px; +} -- libgit2 0.21.2