|
|
@@ -234,4 +234,188 @@ div.flot-text {
|
|
|
width:100%;
|
|
|
color: @textColor;
|
|
|
padding-left:20px;
|
|
|
+}
|
|
|
+
|
|
|
+/* ===================================================
|
|
|
+ * popover-extra-placements.css v0.1
|
|
|
+ * http://twitter.github.com/bootstrap-popover-extra-placements
|
|
|
+ * ===================================================
|
|
|
+ * Copyright 2012 Daniel Kleehammer
|
|
|
+ *
|
|
|
+ * Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
+ * you may not use this file except in compliance with the License.
|
|
|
+ * You may obtain a copy of the License at
|
|
|
+ *
|
|
|
+ * http://www.apache.org/licenses/LICENSE-2.0
|
|
|
+ *
|
|
|
+ * Unless required by applicable law or agreed to in writing, software
|
|
|
+ * distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
+ * See the License for the specific language governing permissions and
|
|
|
+ * limitations under the License.
|
|
|
+ * ========================================================== */
|
|
|
+
|
|
|
+
|
|
|
+/*************************
|
|
|
+ * Top Positions
|
|
|
+ *************************/
|
|
|
+
|
|
|
+/** Top Left **/
|
|
|
+.popover.topLeft {
|
|
|
+ margin-top: -10px;
|
|
|
+}
|
|
|
+
|
|
|
+.popover.topLeft .arrow {
|
|
|
+ bottom: -10px;
|
|
|
+ left: 25%;
|
|
|
+ margin-left: -10px;
|
|
|
+ border-width: 10px 10px 0;
|
|
|
+ border-top-color: @popoverTitleBackground;
|
|
|
+}
|
|
|
+
|
|
|
+.popover.topLeft .arrow:after {
|
|
|
+ border-width: 11px 11px 0;
|
|
|
+ border-top-color: rgba(0, 0, 0, 0.25);
|
|
|
+ bottom: -1px;
|
|
|
+ left: -11px;
|
|
|
+}
|
|
|
+
|
|
|
+/** Top Right **/
|
|
|
+.popover.topRight {
|
|
|
+ margin-top: -10px;
|
|
|
+}
|
|
|
+
|
|
|
+.popover.topRight .arrow {
|
|
|
+ bottom: -10px;
|
|
|
+ left: 75%;
|
|
|
+ margin-left: -10px;
|
|
|
+ border-width: 10px 10px 0;
|
|
|
+ border-top-color: @popoverTitleBackground;;
|
|
|
+}
|
|
|
+
|
|
|
+.popover.topRight .arrow:after {
|
|
|
+ border-width: 11px 11px 0;
|
|
|
+ border-top-color: rgba(0, 0, 0, 0.25);
|
|
|
+ bottom: -1px;
|
|
|
+ left: -11px;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/*************************
|
|
|
+ * Right Positions
|
|
|
+ *************************/
|
|
|
+
|
|
|
+.popover {
|
|
|
+ &.rightTop .arrow {
|
|
|
+ top: 10%;
|
|
|
+ left: -@popoverArrowOuterWidth;
|
|
|
+ margin-top: -@popoverArrowOuterWidth;
|
|
|
+ border-left-width: 0;
|
|
|
+ border-right-color: #999; // IE8 fallback
|
|
|
+ border-right-color: @popoverArrowOuterColor;
|
|
|
+ &:after {
|
|
|
+ left: 1px;
|
|
|
+ bottom: -@popoverArrowWidth;
|
|
|
+ border-left-width: 0;
|
|
|
+ border-right-color: @popoverArrowColor;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.rightBottom .arrow {
|
|
|
+ top: 90%;
|
|
|
+ left: -@popoverArrowOuterWidth;
|
|
|
+ margin-top: -@popoverArrowOuterWidth;
|
|
|
+ border-left-width: 0;
|
|
|
+ border-right-color: #999; // IE8 fallback
|
|
|
+ border-right-color: @popoverArrowOuterColor;
|
|
|
+ &:after {
|
|
|
+ left: 1px;
|
|
|
+ bottom: -@popoverArrowWidth;
|
|
|
+ border-left-width: 0;
|
|
|
+ border-right-color: @popoverArrowColor;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.bottomLeft .arrow {
|
|
|
+ left: 10%;
|
|
|
+ margin-left: -@popoverArrowOuterWidth;
|
|
|
+ border-top-width: 0;
|
|
|
+ border-bottom-color: #999; // IE8 fallback
|
|
|
+ border-bottom-color: @popoverArrowOuterColor;
|
|
|
+ top: -@popoverArrowOuterWidth;
|
|
|
+ &:after {
|
|
|
+ top: 1px;
|
|
|
+ margin-left: -@popoverArrowWidth;
|
|
|
+ border-top-width: 0;
|
|
|
+ border-bottom-color: @popoverArrowColor;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.bottomRight .arrow {
|
|
|
+ left: 90%;
|
|
|
+ margin-left: -@popoverArrowOuterWidth;
|
|
|
+ border-top-width: 0;
|
|
|
+ border-bottom-color: #999; // IE8 fallback
|
|
|
+ border-bottom-color: @popoverArrowOuterColor;
|
|
|
+ top: -@popoverArrowOuterWidth;
|
|
|
+ &:after {
|
|
|
+ top: 1px;
|
|
|
+ margin-left: -@popoverArrowWidth;
|
|
|
+ border-top-width: 0;
|
|
|
+ border-bottom-color: @popoverArrowColor;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.leftTop .arrow {
|
|
|
+ top: 10%;
|
|
|
+ right: -@popoverArrowOuterWidth;
|
|
|
+ margin-top: -@popoverArrowOuterWidth;
|
|
|
+ border-right-width: 0;
|
|
|
+ border-left-color: #999; // IE8 fallback
|
|
|
+ border-left-color: @popoverArrowOuterColor;
|
|
|
+ &:after {
|
|
|
+ right: 1px;
|
|
|
+ border-right-width: 0;
|
|
|
+ border-left-color: @popoverArrowColor;
|
|
|
+ bottom: -@popoverArrowWidth;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.leftBottom .arrow {
|
|
|
+ top: 90%;
|
|
|
+ right: -@popoverArrowOuterWidth;
|
|
|
+ margin-top: -@popoverArrowOuterWidth;
|
|
|
+ border-right-width: 0;
|
|
|
+ border-left-color: #999; // IE8 fallback
|
|
|
+ border-left-color: @popoverArrowOuterColor;
|
|
|
+ &:after {
|
|
|
+ right: 1px;
|
|
|
+ border-right-width: 0;
|
|
|
+ border-left-color: @popoverArrowColor;
|
|
|
+ bottom: -@popoverArrowWidth;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.topLeft .arrow {
|
|
|
+ left: 10%;
|
|
|
+ margin-left: -@popoverArrowOuterWidth;
|
|
|
+ border-bottom-width: 0;
|
|
|
+ border-top-color: #999; // IE8 fallback
|
|
|
+ border-top-color: @popoverArrowOuterColor;
|
|
|
+ bottom: -@popoverArrowOuterWidth;
|
|
|
+ &:after {
|
|
|
+ bottom: 1px;
|
|
|
+ margin-left: -@popoverArrowWidth;
|
|
|
+ border-bottom-width: 0;
|
|
|
+ border-top-color: @popoverArrowColor;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.topRight .arrow {
|
|
|
+ left: 90%;
|
|
|
+ margin-left: -@popoverArrowOuterWidth;
|
|
|
+ border-bottom-width: 0;
|
|
|
+ border-top-color: #999; // IE8 fallback
|
|
|
+ border-top-color: @popoverArrowOuterColor;
|
|
|
+ bottom: -@popoverArrowOuterWidth;
|
|
|
+ &:after {
|
|
|
+ bottom: 1px;
|
|
|
+ margin-left: -@popoverArrowWidth;
|
|
|
+ border-bottom-width: 0;
|
|
|
+ border-top-color: @popoverArrowColor;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|