You are here

acquia_lift.reports.css in Acquia Lift Connector 7.2

Same filename and directory in other branches
  1. 7 css/acquia_lift.reports.css
/**
 * General styles for lift graph implementations.
 * ----------------------------------------------------------------------------
 */
.lift-statistic-category {
  clear: both;
  padding: 1.4em 1em 1em;
  border-style: solid;
  border-color: #ccc;
  border-width: 1px 0;
  background: #fff;
  -webkit-transition: opacity .4s, position .4s 0 step-start, width .4s 0 step-start, height .4s 0 step-start;
          transition: opacity .4s, position .4s 0 step-start, width .4s 0 step-start, height .4s 0 step-start;
}

.lift-statistic-category.active {
  visibility: visible;
  opacity: 1;
  width: auto;
  height: auto;
}
.lift-statistic-category.inactive {
  position: absolute;
  margin: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  width: 0;
  height: 0;
}

.acquia-lift-report-section-options {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  clear: both;
  width: 100%;
  min-width: 100%;
  /* Slightly better than using an !important. */
  margin-top: 1em;
  padding: .5em 1em .2em;
  border-style: solid;
  border-color: #ccc;
  border-width: 1px 0 0 0;
  background-color: #eee;
}
.acquia-lift-report-section-options .form-item {
  margin-right: 1em;
}
html[dir="rtl"] .acquia-lift-report-section-options .form-item {
  margin-right: auto;
  margin-left: 1em;
}
.acquia-lift-report-section-options .form-item,
.acquia-lift-report-section-options .form-item label,
.acquia-lift-report-section-options .form-item select {
  display: inline-block;
}

.lift-winner {
  display: inline-block;
  padding: .3em .8em;
  line-height: 1em;
  font-weight: bold;
  border-radius: .9em;
  color: #fff;
  background-color: #85b200;
  box-shadow: 0 0.2em 0 #ccc;
}
.lift-winner:after {
  content: '\2713';
  display: inline-block;
  margin-left: .4em;
  font-size: 1.2em;
}
html[dir="rtl"] .lift-winner:after {
  margin-right: .4em;
  margin-left: auto;
}

.lift-graph {
  font-family: sans-serif;
}
.lift-graph * {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}
.lift-graph-container {
  padding-right: 1em;
  padding-left: 5em;
  font-family: sans-serif;
}
html[dir="rtl"] .lift-graph-container {
  padding-right: 5em;
  padding-left: 1em;
}
html[dir="rtl"] .lift-graph-container .y_axis .y_ticks text,
html[dir="rtl"] .lift-graph-container .lift-graph-graph .tick text {
  text-anchor: end !important;
}
.lift-graph-container .y-axis-label,
.lift-graph-container .tick text,
.lift-graph-container .tick line {
  color: #666;
  fill: #666;
  opacity: 1;
}
.lift-graph-container .x_ticks_d3 .tick text {
  fill: #666;
  stroke: transparent;
  stroke-width: 0;
}
.lift-graph-container .y_ticks > .tick:first-child {
  display: none;
}
.lift-graph-graph {
  float: left;
  width: 100%;
  height: 20em;
  margin-bottom: 2.8em;
}
.lift-graph-graph .detail {
  width: .2em;
  margin-left: -.1em;
  background: rgba(221, 221, 221, 0.5);
}
.lift-graph-graph .detail .item {
  margin: 1.6em -1em;
  padding: .1em;
  font-size: 0.85714em;
  line-height: 1.3em;
  box-shadow: 0 0.2em 0 rgba(204, 204, 204, 0.6);
}
.lift-graph-graph .detail .item.active {
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border: 0.1em solid #ccc;
  border-radius: .3em;
}
.lift-graph-graph .detail .item .swatch {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: .3em;
  border-radius: 50%;
}
html[dir="rtl"] .lift-graph-graph .detail .item .swatch {
  margin-right: auto;
  margin-left: .3em;
}
.lift-graph-graph .detail .item:before, .lift-graph-graph .detail .item:after {
  display: block;
  content: " ";
  position: absolute;
  top: auto;
  right: 50%;
  width: 0;
  height: 0;
  overflow: hidden;
  border-style: solid;
  border-color: transparent;
}
.lift-graph-graph .detail .item:before {
  bottom: -1.5em;
  border-width: 0.7em;
  border-top-color: rgba(204, 204, 204, 0.6);
  margin-right: -1.6em;
}
.lift-graph-graph .detail .item:after {
  border-width: 0.5em;
  border-top-color: #fff;
  border-left-color: transparent;
  bottom: -1em;
  margin-right: -1.5em;
}
.lift-graph-graph .detail .item.left:before, .lift-graph-graph .detail .item.left:after {
  top: auto;
  right: auto;
  margin: 0;
}
.lift-graph-graph .detail .item.left:before {
  left: 0.3em;
}
.lift-graph-graph .detail .item.left:after {
  left: 0.5em;
  border-width: .5em;
  border-top-color: #fff;
  border-right-color: transparent;
}
.lift-graph-graph .detail .item.right:before, .lift-graph-graph .detail .item.right:after {
  top: auto;
  margin: 0;
}
.lift-graph-graph .detail .item.right:before {
  right: 0.3em;
}
.lift-graph-graph .detail .item.right:after {
  right: 0.5em;
  border-width: 0.5em;
  border-top-color: #fff;
  border-left-color: transparent;
}
.lift-graph-graph .detail .item.top:before, .lift-graph-graph .detail .item.top:after {
  bottom: auto;
  border-top-color: transparent;
}
.lift-graph-graph .detail .item.top:before {
  top: -1.2em;
  border-width: 0.6em;
  border-bottom-color: #ccc;
}
.lift-graph-graph .detail .item.top:after {
  top: -1em;
  border-bottom-color: #fff;
}
.lift-graph-graph .detail .dot {
  width: .5em;
  height: .5em;
  margin-top: -.35em;
  margin-left: -.35em;
  line-height: .5em;
  border-width: .2em;
  border-radius: 50%;
  box-shadow: none;
}
html[dir="rtl"] .lift-graph-graph .detail .dot {
  margin-right: -.35em;
  margin-left: auto;
}
.lift-graph .label-below .title {
  bottom: -1.8em;
  width: 6em;
  margin-left: -3em;
  text-align: center;
  font-size: .88em;
  font-family: inherit;
  white-space: nowrap;
  opacity: 1;
  color: #666;
}
.lift-graph-axis-x {
  clear: both;
  width: 100%;
}
.lift-graph-axis-x .rickshaw_graph {
  max-width: 100%;
}
.lift-graph-axis-y {
  float: left;
  clear: left;
  width: 5em;
  height: 20em;
  margin-left: -5em;
}
html[dir="rtl"] .lift-graph-axis-y {
  float: right;
  margin-right: -5em;
  margin-left: auto;
}
.lift-graph-legend {
  clear: both;
  background-color: transparent;
  color: #333;
}
.lift-graph-legend li {
  display: inline-block;
}
.lift-graph-legend .line .swatch {
  border-radius: 50%;
}
.lift-graph-detail {
  pointer-events: auto;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}
.lift-graph-detail-data {
  margin: 0;
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1em;
}
.inactive .lift-graph-detail {
  pointer-events: none;
}
.lift-graph-detail tbody,
.lift-graph-detail thead {
  border: none;
}
.lift-graph-detail th,
.lift-graph-detail td {
  padding: .2em .5em;
  text-align: left;
  background: none;
}
html[dir="rtl"] .lift-graph-detail th, html[dir="rtl"]
.lift-graph-detail td {
  text-align: right;
}
.lift-graph-detail th, .lift-graph-detail th:first-child, .lift-graph-detail th:last-child,
.lift-graph-detail td,
.lift-graph-detail td:first-child,
.lift-graph-detail td:last-child {
  border: none;
}
.lift-graph-detail th {
  text-transform: none;
}
.lift-graph-detail [style^="background-color"] {
  color: #fff;
  font-weight: normal;
}
html[dir] .lift-graph-detail [style^="background-color"] {
  text-align: center;
}
.lift-graph-detail .active {
  background-color: #eee;
}
.lift-graph-result {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}
.lift-graph-result-data {
  width: 100%;
  max-width: 100%;
  margin: 1.3em 0;
  border-color: #ccc;
  border-collapse: collapse;
  font-size: .88em;
}
.lift-graph-result th,
.lift-graph-result td {
  text-align: left;
}
html[dir="rtl"] .lift-graph-result th, html[dir="rtl"]
.lift-graph-result td {
  text-align: right;
}
.lift-graph-result th:last-child,
.lift-graph-result td:last-child {
  text-align: center;
}
.lift-graph-result td.acquia-lift-ab-winner {
  max-width: 20%;
  width: 150px;
  background: #eee;
}
.lift-graph-result .action {
  margin-right: .6em;
  cursor: pointer;
}
html[dir="rtl"] .lift-graph-result .action {
  margin-right: auto;
  margin-left: .6em;
}
.lift-graph-result .swatch {
  display: inline-block;
  width: .9em;
  height: .9em;
  margin-right: .6em;
  border-radius: 50%;
}
html[dir="rtl"] .lift-graph-result .swatch {
  margin-right: auto;
  margin-left: .6em;
}
.lift-graph-result .label {
  display: inline-block;
  margin-right: .2em;
  font-weight: bold;
}
html[dir="rtl"] .lift-graph-result .label {
  margin-right: auto;
  margin-left: .2em;
}
.lift-graph-result .toggle-enabled .line {
  cursor: pointer;
}
.lift-graph-result .toggle-enabled .line.disabled .action {
  opacity: .4;
}

.lift-graph-range-slider {
  clear: both;
  margin-right: 2.5em;
  margin-left: 2.5em;
  width: auto !important;
}

.acquia-lift-handle-value {
  position: absolute;
  width: 5em;
  top: -2.6em;
  left: 50%;
  margin-left: -2.5em;
  padding-top: .3em;
  padding-bottom: .2em;
  font-size: .88em;
  font-weight: normal;
  line-height: 1.4;
  background-color: #fff;
  border: 0.1em solid #ccc;
  border-radius: .2em;
  color: #333;
  text-align: center;
  text-decoration: none;
}
.acquia-lift-handle-value:after {
  content: "";
  display: block;
  position: absolute;
  border: 0.5em solid transparent;
  border-top-color: #ccc;
  bottom: -0.9em;
  left: 50%;
  margin-left: -0.5em;
}

.lift-variation-breakdown table {
  width: 50%;
}

File

css/acquia_lift.reports.css
View source
  1. /**
  2. * General styles for lift graph implementations.
  3. * ----------------------------------------------------------------------------
  4. */
  5. .lift-statistic-category {
  6. clear: both;
  7. padding: 1.4em 1em 1em;
  8. border-style: solid;
  9. border-color: #ccc;
  10. border-width: 1px 0;
  11. background: #fff;
  12. -webkit-transition: opacity .4s, position .4s 0 step-start, width .4s 0 step-start, height .4s 0 step-start;
  13. transition: opacity .4s, position .4s 0 step-start, width .4s 0 step-start, height .4s 0 step-start;
  14. }
  15. .lift-statistic-category.active {
  16. visibility: visible;
  17. opacity: 1;
  18. width: auto;
  19. height: auto;
  20. }
  21. .lift-statistic-category.inactive {
  22. position: absolute;
  23. margin: 0;
  24. overflow: hidden;
  25. visibility: hidden;
  26. opacity: 0;
  27. width: 0;
  28. height: 0;
  29. }
  30. .acquia-lift-report-section-options {
  31. -moz-box-sizing: border-box;
  32. box-sizing: border-box;
  33. clear: both;
  34. width: 100%;
  35. min-width: 100%;
  36. /* Slightly better than using an !important. */
  37. margin-top: 1em;
  38. padding: .5em 1em .2em;
  39. border-style: solid;
  40. border-color: #ccc;
  41. border-width: 1px 0 0 0;
  42. background-color: #eee;
  43. }
  44. .acquia-lift-report-section-options .form-item {
  45. margin-right: 1em;
  46. }
  47. html[dir="rtl"] .acquia-lift-report-section-options .form-item {
  48. margin-right: auto;
  49. margin-left: 1em;
  50. }
  51. .acquia-lift-report-section-options .form-item,
  52. .acquia-lift-report-section-options .form-item label,
  53. .acquia-lift-report-section-options .form-item select {
  54. display: inline-block;
  55. }
  56. .lift-winner {
  57. display: inline-block;
  58. padding: .3em .8em;
  59. line-height: 1em;
  60. font-weight: bold;
  61. border-radius: .9em;
  62. color: #fff;
  63. background-color: #85b200;
  64. box-shadow: 0 0.2em 0 #ccc;
  65. }
  66. .lift-winner:after {
  67. content: '\2713';
  68. display: inline-block;
  69. margin-left: .4em;
  70. font-size: 1.2em;
  71. }
  72. html[dir="rtl"] .lift-winner:after {
  73. margin-right: .4em;
  74. margin-left: auto;
  75. }
  76. .lift-graph {
  77. font-family: sans-serif;
  78. }
  79. .lift-graph * {
  80. -moz-box-sizing: border-box;
  81. box-sizing: border-box;
  82. }
  83. .lift-graph-container {
  84. padding-right: 1em;
  85. padding-left: 5em;
  86. font-family: sans-serif;
  87. }
  88. html[dir="rtl"] .lift-graph-container {
  89. padding-right: 5em;
  90. padding-left: 1em;
  91. }
  92. html[dir="rtl"] .lift-graph-container .y_axis .y_ticks text,
  93. html[dir="rtl"] .lift-graph-container .lift-graph-graph .tick text {
  94. text-anchor: end !important;
  95. }
  96. .lift-graph-container .y-axis-label,
  97. .lift-graph-container .tick text,
  98. .lift-graph-container .tick line {
  99. color: #666;
  100. fill: #666;
  101. opacity: 1;
  102. }
  103. .lift-graph-container .x_ticks_d3 .tick text {
  104. fill: #666;
  105. stroke: transparent;
  106. stroke-width: 0;
  107. }
  108. .lift-graph-container .y_ticks > .tick:first-child {
  109. display: none;
  110. }
  111. .lift-graph-graph {
  112. float: left;
  113. width: 100%;
  114. height: 20em;
  115. margin-bottom: 2.8em;
  116. }
  117. .lift-graph-graph .detail {
  118. width: .2em;
  119. margin-left: -.1em;
  120. background: rgba(221, 221, 221, 0.5);
  121. }
  122. .lift-graph-graph .detail .item {
  123. margin: 1.6em -1em;
  124. padding: .1em;
  125. font-size: 0.85714em;
  126. line-height: 1.3em;
  127. box-shadow: 0 0.2em 0 rgba(204, 204, 204, 0.6);
  128. }
  129. .lift-graph-graph .detail .item.active {
  130. background: rgba(255, 255, 255, 0.8);
  131. color: #333;
  132. border: 0.1em solid #ccc;
  133. border-radius: .3em;
  134. }
  135. .lift-graph-graph .detail .item .swatch {
  136. display: inline-block;
  137. width: 1em;
  138. height: 1em;
  139. margin-right: .3em;
  140. border-radius: 50%;
  141. }
  142. html[dir="rtl"] .lift-graph-graph .detail .item .swatch {
  143. margin-right: auto;
  144. margin-left: .3em;
  145. }
  146. .lift-graph-graph .detail .item:before, .lift-graph-graph .detail .item:after {
  147. display: block;
  148. content: " ";
  149. position: absolute;
  150. top: auto;
  151. right: 50%;
  152. width: 0;
  153. height: 0;
  154. overflow: hidden;
  155. border-style: solid;
  156. border-color: transparent;
  157. }
  158. .lift-graph-graph .detail .item:before {
  159. bottom: -1.5em;
  160. border-width: 0.7em;
  161. border-top-color: rgba(204, 204, 204, 0.6);
  162. margin-right: -1.6em;
  163. }
  164. .lift-graph-graph .detail .item:after {
  165. border-width: 0.5em;
  166. border-top-color: #fff;
  167. border-left-color: transparent;
  168. bottom: -1em;
  169. margin-right: -1.5em;
  170. }
  171. .lift-graph-graph .detail .item.left:before, .lift-graph-graph .detail .item.left:after {
  172. top: auto;
  173. right: auto;
  174. margin: 0;
  175. }
  176. .lift-graph-graph .detail .item.left:before {
  177. left: 0.3em;
  178. }
  179. .lift-graph-graph .detail .item.left:after {
  180. left: 0.5em;
  181. border-width: .5em;
  182. border-top-color: #fff;
  183. border-right-color: transparent;
  184. }
  185. .lift-graph-graph .detail .item.right:before, .lift-graph-graph .detail .item.right:after {
  186. top: auto;
  187. margin: 0;
  188. }
  189. .lift-graph-graph .detail .item.right:before {
  190. right: 0.3em;
  191. }
  192. .lift-graph-graph .detail .item.right:after {
  193. right: 0.5em;
  194. border-width: 0.5em;
  195. border-top-color: #fff;
  196. border-left-color: transparent;
  197. }
  198. .lift-graph-graph .detail .item.top:before, .lift-graph-graph .detail .item.top:after {
  199. bottom: auto;
  200. border-top-color: transparent;
  201. }
  202. .lift-graph-graph .detail .item.top:before {
  203. top: -1.2em;
  204. border-width: 0.6em;
  205. border-bottom-color: #ccc;
  206. }
  207. .lift-graph-graph .detail .item.top:after {
  208. top: -1em;
  209. border-bottom-color: #fff;
  210. }
  211. .lift-graph-graph .detail .dot {
  212. width: .5em;
  213. height: .5em;
  214. margin-top: -.35em;
  215. margin-left: -.35em;
  216. line-height: .5em;
  217. border-width: .2em;
  218. border-radius: 50%;
  219. box-shadow: none;
  220. }
  221. html[dir="rtl"] .lift-graph-graph .detail .dot {
  222. margin-right: -.35em;
  223. margin-left: auto;
  224. }
  225. .lift-graph .label-below .title {
  226. bottom: -1.8em;
  227. width: 6em;
  228. margin-left: -3em;
  229. text-align: center;
  230. font-size: .88em;
  231. font-family: inherit;
  232. white-space: nowrap;
  233. opacity: 1;
  234. color: #666;
  235. }
  236. .lift-graph-axis-x {
  237. clear: both;
  238. width: 100%;
  239. }
  240. .lift-graph-axis-x .rickshaw_graph {
  241. max-width: 100%;
  242. }
  243. .lift-graph-axis-y {
  244. float: left;
  245. clear: left;
  246. width: 5em;
  247. height: 20em;
  248. margin-left: -5em;
  249. }
  250. html[dir="rtl"] .lift-graph-axis-y {
  251. float: right;
  252. margin-right: -5em;
  253. margin-left: auto;
  254. }
  255. .lift-graph-legend {
  256. clear: both;
  257. background-color: transparent;
  258. color: #333;
  259. }
  260. .lift-graph-legend li {
  261. display: inline-block;
  262. }
  263. .lift-graph-legend .line .swatch {
  264. border-radius: 50%;
  265. }
  266. .lift-graph-detail {
  267. pointer-events: auto;
  268. width: 100%;
  269. max-width: 100%;
  270. overflow-x: auto;
  271. }
  272. .lift-graph-detail-data {
  273. margin: 0;
  274. border: none;
  275. border-collapse: collapse;
  276. border-spacing: 0;
  277. font-size: 1em;
  278. }
  279. .inactive .lift-graph-detail {
  280. pointer-events: none;
  281. }
  282. .lift-graph-detail tbody,
  283. .lift-graph-detail thead {
  284. border: none;
  285. }
  286. .lift-graph-detail th,
  287. .lift-graph-detail td {
  288. padding: .2em .5em;
  289. text-align: left;
  290. background: none;
  291. }
  292. html[dir="rtl"] .lift-graph-detail th, html[dir="rtl"]
  293. .lift-graph-detail td {
  294. text-align: right;
  295. }
  296. .lift-graph-detail th, .lift-graph-detail th:first-child, .lift-graph-detail th:last-child,
  297. .lift-graph-detail td,
  298. .lift-graph-detail td:first-child,
  299. .lift-graph-detail td:last-child {
  300. border: none;
  301. }
  302. .lift-graph-detail th {
  303. text-transform: none;
  304. }
  305. .lift-graph-detail [style^="background-color"] {
  306. color: #fff;
  307. font-weight: normal;
  308. }
  309. html[dir] .lift-graph-detail [style^="background-color"] {
  310. text-align: center;
  311. }
  312. .lift-graph-detail .active {
  313. background-color: #eee;
  314. }
  315. .lift-graph-result {
  316. width: 100%;
  317. max-width: 100%;
  318. overflow-x: auto;
  319. }
  320. .lift-graph-result-data {
  321. width: 100%;
  322. max-width: 100%;
  323. margin: 1.3em 0;
  324. border-color: #ccc;
  325. border-collapse: collapse;
  326. font-size: .88em;
  327. }
  328. .lift-graph-result th,
  329. .lift-graph-result td {
  330. text-align: left;
  331. }
  332. html[dir="rtl"] .lift-graph-result th, html[dir="rtl"]
  333. .lift-graph-result td {
  334. text-align: right;
  335. }
  336. .lift-graph-result th:last-child,
  337. .lift-graph-result td:last-child {
  338. text-align: center;
  339. }
  340. .lift-graph-result td.acquia-lift-ab-winner {
  341. max-width: 20%;
  342. width: 150px;
  343. background: #eee;
  344. }
  345. .lift-graph-result .action {
  346. margin-right: .6em;
  347. cursor: pointer;
  348. }
  349. html[dir="rtl"] .lift-graph-result .action {
  350. margin-right: auto;
  351. margin-left: .6em;
  352. }
  353. .lift-graph-result .swatch {
  354. display: inline-block;
  355. width: .9em;
  356. height: .9em;
  357. margin-right: .6em;
  358. border-radius: 50%;
  359. }
  360. html[dir="rtl"] .lift-graph-result .swatch {
  361. margin-right: auto;
  362. margin-left: .6em;
  363. }
  364. .lift-graph-result .label {
  365. display: inline-block;
  366. margin-right: .2em;
  367. font-weight: bold;
  368. }
  369. html[dir="rtl"] .lift-graph-result .label {
  370. margin-right: auto;
  371. margin-left: .2em;
  372. }
  373. .lift-graph-result .toggle-enabled .line {
  374. cursor: pointer;
  375. }
  376. .lift-graph-result .toggle-enabled .line.disabled .action {
  377. opacity: .4;
  378. }
  379. .lift-graph-range-slider {
  380. clear: both;
  381. margin-right: 2.5em;
  382. margin-left: 2.5em;
  383. width: auto !important;
  384. }
  385. .acquia-lift-handle-value {
  386. position: absolute;
  387. width: 5em;
  388. top: -2.6em;
  389. left: 50%;
  390. margin-left: -2.5em;
  391. padding-top: .3em;
  392. padding-bottom: .2em;
  393. font-size: .88em;
  394. font-weight: normal;
  395. line-height: 1.4;
  396. background-color: #fff;
  397. border: 0.1em solid #ccc;
  398. border-radius: .2em;
  399. color: #333;
  400. text-align: center;
  401. text-decoration: none;
  402. }
  403. .acquia-lift-handle-value:after {
  404. content: "";
  405. display: block;
  406. position: absolute;
  407. border: 0.5em solid transparent;
  408. border-top-color: #ccc;
  409. bottom: -0.9em;
  410. left: 50%;
  411. margin-left: -0.5em;
  412. }
  413. .lift-variation-breakdown table {
  414. width: 50%;
  415. }