1 /* Popovers (to be used with popovers.js)
2 -------------------------------------------------- */
13 background-color: #555;
14 background-image: -webkit-linear-gradient(top, #555 5%, #555 6%, #111 30%);
15 background-image: linear-gradient(to bottom, #555 5%, #555 6%,#111 30%);
16 border: 1px solid #111;
19 box-shadow: inset 0 1px 1px -1px #fff, 0 3px 10px rgba(0, 0, 0, .3);
20 -webkit-transform: translate3d(0, -15px, 0);
21 transform: translate3d(0, -15px, 0);
22 -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
23 transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
26 /* Caret on top of popover using CSS triangles (thanks to @chriscoyier for solution) */
38 border-right: 21px solid transparent;
39 border-bottom: 21px solid #111;
40 border-left: 21px solid transparent;
45 border-right: 20px solid transparent;
46 border-bottom: 20px solid #555;
47 border-left: 20px solid transparent;
50 /* Wrapper for a title and buttons */
58 /* Centered title for popover */
59 .popover-header .title {
70 text-shadow: 0 -1px rgba(0, 0, 0, .5);
73 /* Generic style for all buttons in .popover-header */
74 .popover-header [class*="button"] {
79 text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
80 background-color: #454545;
81 background-image: -webkit-linear-gradient(top, #454545 0, #353535 100%);
82 background-image: linear-gradient(to bottom, #454545 0, #353535 100%);
83 border: 1px solid #111;
88 /* Hacky way to right align buttons outside of flex-box system
89 Note: is only absolutely positioned button, would be better if flex-box had an "align right" option */
90 .popover-header .title + [class*="button"]:last-child,
91 .popover-header .button + [class*="button"]:last-child,
92 .popover-header [class*="button"].pull-right {
98 /* Active state for popover header buttons */
99 .popover-header .button:active {
101 background-color: #0876b1;
105 -------------------------------------------------- */
109 -webkit-transform: translate3d(0, 0, 0);
110 transform: translate3d(0, 0, 0);
113 /* Backdrop (used as invisible touch escape)
114 -------------------------------------------------- */
125 /* Block level buttons in popovers
126 -------------------------------------------------- */
128 /* Positioning and giving darker border to look sharp against dark popover */
129 .popover .button-block {
131 border: 1px solid #111;
134 /* Remove extra margin on bottom of last button */
135 .popover .button-block:last-child {
140 -------------------------------------------------- */
149 background-color: #fff;
150 border: 1px solid #000;
152 -webkit-overflow-scrolling: touch;