common_dashboard.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. /*
  2. Licensed to Cloudera, Inc. under one
  3. or more contributor license agreements. See the NOTICE file
  4. distributed with this work for additional information
  5. regarding copyright ownership. Cloudera, Inc. licenses this file
  6. to you under the Apache License, Version 2.0 (the
  7. "License"); you may not use this file except in compliance
  8. with the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. */
  16. .dashboard .container-fluid {
  17. padding: 6px;
  18. }
  19. .row-container {
  20. width: 100%;
  21. min-height: 70px;
  22. }
  23. .row-container.is-editing {
  24. border: 1px solid #e5e5e5;
  25. }
  26. .ui-sortable {
  27. background-color: #F3F3F3;
  28. min-height: 100px;
  29. }
  30. .ui-sortable h2 {
  31. padding-left: 10px !important;
  32. }
  33. .ui-sortable h2 ul {
  34. float: left;
  35. margin-right: 10px;
  36. font-size: 14px;
  37. }
  38. .ui-sortable-disabled {
  39. background-color: #FFF;
  40. }
  41. .card-column {
  42. border: none;
  43. min-height: 400px !important;
  44. }
  45. .card-widget {
  46. padding-top: 0;
  47. border: 0;
  48. min-height: 100px;
  49. }
  50. .card-widget .card-heading {
  51. font-size: 12px !important;
  52. font-weight: bold !important;
  53. line-height: 24px !important;
  54. padding-left: 3px !important;
  55. padding-right: 3px !important;
  56. }
  57. .card-widget .card-body {
  58. margin-top: 0;
  59. min-height: 40px;
  60. }
  61. .card-toolbar {
  62. margin: 0;
  63. padding: 4px;
  64. padding-top: 0;
  65. top: 70px;
  66. position: fixed;
  67. width: 100%;
  68. z-index: 1000;
  69. }
  70. .row-header {
  71. background-color: #F6F6F6;
  72. display: inline;
  73. padding: 3px;
  74. border: 1px solid #e5e5e5;
  75. border-bottom: none;
  76. }
  77. .row-highlight {
  78. background-color: #DDD;
  79. min-height: 100px;
  80. }
  81. #emptyDashboard {
  82. position: absolute;
  83. right: 204px;
  84. top: 80px;
  85. color: #666;
  86. font-size: 20px;
  87. z-index: 1000;
  88. }
  89. #emptyDashboardEditing {
  90. position: absolute;
  91. left: 120px;
  92. top: 160px;
  93. color: #666;
  94. font-size: 20px;
  95. }
  96. .emptyRow {
  97. margin-top: 10px;
  98. margin-left: 140px;
  99. color: #666;
  100. font-size: 18px;
  101. }
  102. .preview-row {
  103. background-color: #f9f9f9;
  104. min-height: 400px !important;
  105. margin-top: 30px;
  106. }
  107. .toolbar-label {
  108. float: left;
  109. font-weight: bold;
  110. color: #999;
  111. padding-left: 8px;
  112. padding-top: 24px;
  113. }
  114. .draggable-widget {
  115. width: 60px;
  116. text-align: center;
  117. float: left;
  118. border: 1px solid #CCC;
  119. margin-top: 10px;
  120. margin-left: 10px;
  121. cursor: move;
  122. }
  123. .draggable-widget.disabled {
  124. cursor: default;
  125. }
  126. .draggable-widget a {
  127. font-size: 28px;
  128. line-height: 46px;
  129. }
  130. .draggable-widget.disabled a {
  131. cursor: default;
  132. color: #CCC;
  133. }
  134. .layout-container {
  135. width: 100px;
  136. float: left;
  137. margin-top: 10px;
  138. margin-left: 10px;
  139. }
  140. .layout-box {
  141. float: left;
  142. height: 48px;
  143. background-color: #DDD;
  144. text-align: center;
  145. }
  146. .layout-box i {
  147. color: #333;
  148. font-size: 28px;
  149. line-height: 48px;
  150. }
  151. .layout-container:hover .layout-box {
  152. background-color: #CCC;
  153. }
  154. .with-top-margin {
  155. margin-top: 60px;
  156. }
  157. .ui-sortable .card-heading {
  158. -webkit-touch-callout: none;
  159. -webkit-user-select: none;
  160. -khtml-user-select: none;
  161. -moz-user-select: none;
  162. -ms-user-select: none;
  163. user-select: none;
  164. }
  165. .search-bar {
  166. padding-top: 6px;
  167. padding-bottom: 6px;
  168. }
  169. .widget-settings-section {
  170. display: none;
  171. }
  172. .widget-spinner {
  173. padding: 10px;
  174. font-size: 80px;
  175. color: #CCC;
  176. text-align: center;
  177. }
  178. .card {
  179. margin: 0;
  180. }
  181. .move-widget {
  182. cursor: move;
  183. }
  184. body.modal-open {
  185. overflow: auto !important;
  186. }
  187. .add-row {
  188. background-color: #F6F6F6;
  189. min-height: 36px;
  190. border: 2px dashed #DDD;
  191. text-align: center;
  192. padding: 4px;
  193. cursor: pointer;
  194. }
  195. .add-row:before {
  196. color: #DDD;
  197. display: inline-block;
  198. font-family: FontAwesome;
  199. font-style: normal;
  200. font-weight: normal;
  201. font-size: 24px;
  202. line-height: 1;
  203. -webkit-font-smoothing: antialiased;
  204. -moz-osx-font-smoothing: grayscale;
  205. content: "\f055";
  206. }
  207. .add-row-highlight {
  208. min-height: 10px;
  209. background-color: #CCC;
  210. }
  211. .spinedit-cnt div.spinedit .fa-chevron-up {
  212. top: -7px;
  213. color: #666;
  214. }
  215. .spinedit-cnt div.spinedit .fa-chevron-down {
  216. top: 7px;
  217. left: -4px;
  218. color: #666;
  219. }
  220. .clearable {
  221. background: url(/static/art/clearField.png) no-repeat right -10px center;
  222. border: 1px solid #999;
  223. padding: 3px 18px 3px 4px;
  224. border-radius: 3px;
  225. transition: background 0.4s !important;
  226. }
  227. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  228. .clearable {
  229. background: url(/static/art/clearField@2x.png) no-repeat right -10px center;
  230. background-size: 10px 10px;
  231. }
  232. }
  233. .clearable.x {
  234. background-position: right 5px center;
  235. }
  236. .clearable.onX {
  237. cursor: pointer !important;
  238. }
  239. .facet-field-cnt {
  240. margin-bottom: 6px;
  241. }
  242. .facet-field-switch {
  243. display: inline;
  244. margin-top: 10px;
  245. }
  246. .facet-field-label {
  247. color: #333;
  248. font-size: 11px;
  249. margin-bottom: 2px;
  250. margin-right: 4px;
  251. text-transform: uppercase;
  252. text-shadow: 1px 1px 0 #fff;
  253. }
  254. .facet-field-label-fixed-width {
  255. width: 90px;
  256. text-align: right;
  257. padding-right: 8px;
  258. display: inline-block;
  259. }
  260. .facet-field-label-fixed-width-double {
  261. width: 180px;
  262. }
  263. .facet-field-label-title {
  264. text-align: left;
  265. font-weight: bold;
  266. padding-left: 110px;
  267. }
  268. .simpledaterangepicker .left-margin {
  269. margin-left: 6px;
  270. }
  271. .facet-field-tile {
  272. float: left;
  273. }
  274. .card-column.span2 .facet-field-label-fixed-width {
  275. text-align: left;
  276. width: auto;
  277. }
  278. .card-column.span2 .facet-field-label-title {
  279. padding-left: 0;
  280. }
  281. .card-column.span2 .simpledaterangepicker .facet-field-label-fixed-width {
  282. display: block;
  283. }
  284. .card-column.span2 .simpledaterangepicker .input-prepend {
  285. display: block;
  286. margin-bottom: 5px;
  287. }
  288. .card-column.span2 .simpledaterangepicker .left-margin {
  289. margin-left: 0;
  290. }
  291. .card-column.span2 .simpledaterangepicker input[type='text'] {
  292. width: 70%;
  293. }
  294. .card-column.span2 .simpledaterangepicker select {
  295. margin-bottom: 5px;
  296. }
  297. .card-widget .input-append, .card-widget .input-prepend, .card-widget select, .card-widget input {
  298. margin-bottom: 0;
  299. }
  300. .card-column.span2 select {
  301. width: 120px;
  302. }
  303. .card-column.span2 .facet-field-tile {
  304. float: none;
  305. }
  306. .responsive-facet-toggle-section {
  307. margin-bottom: 20px;
  308. }
  309. .floating-facet-toggle-section {
  310. margin-bottom: 20px;
  311. float: left;
  312. margin-right: 20px;
  313. }
  314. @media (min-width: 1360px) {
  315. .responsive-facet-toggle-section {
  316. margin-bottom: 20px;
  317. float: left;
  318. margin-right: 20px;
  319. }
  320. }
  321. .dimensions-header {
  322. border-bottom: none;
  323. text-transform: uppercase;
  324. font-size: 11px;
  325. font-weight: bold;
  326. margin-bottom: 3px;
  327. }