general.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. html,
  2. body {
  3. min-height: 100%;
  4. min-height: 100vh;
  5. }
  6. iframe.bx-std-hidden {
  7. display: none;
  8. }
  9. div.bx-std-cb {
  10. clear: both;
  11. font-size: 1px;
  12. }
  13. /**
  14. * Page Content
  15. */
  16. div.bx-std-page-bg {
  17. position:fixed;
  18. width:100%;
  19. height:100%;
  20. background:url(../images/bx-std-spacer.gif) center center no-repeat;
  21. /* background:url(../images/bx-std-bg-main-image.jpg) center center no-repeat; */
  22. }
  23. div.bx-std-page {
  24. position: relative;
  25. position: relative;
  26. display: -webkit-flex;
  27. display: flex;
  28. -webkit-flex-direction: column;
  29. flex-direction: column;
  30. width: 100%;
  31. min-height: 100vh;
  32. }
  33. div.bx-std-menu-top-wrp {
  34. -webkit-flex-grow: 0;
  35. flex-grow: 0;
  36. -webkit-flex-shrink: 0;
  37. flex-shrink: 0;
  38. }
  39. div.bx-std-content {
  40. position: relative;
  41. -webkit-flex-grow: 2;
  42. flex-grow: 2;
  43. width: 100%;
  44. }
  45. div.bx-std-content-wrp {
  46. position: relative;
  47. width: 100%;
  48. height: 100vh;
  49. }
  50. div.bx-std-content-wrp.bx-std-one-col {
  51. padding-top: 4.75rem; /* the fixed header's bottom edge: 12px margin plus the 64px bar */
  52. overflow-y: auto;
  53. }
  54. div.bx-std-page-columns,
  55. div.bx-std-page-columns-cnt {
  56. position: relative;
  57. width: 100%;
  58. height: 100%;
  59. }
  60. /**
  61. * Dual Column page
  62. */
  63. div.bx-std-page-caption {
  64. position: relative;
  65. height: 70px;
  66. background-color: #334455;
  67. }
  68. div.bx-std-pcap-icon {}
  69. div.bx-std-pcap-text {
  70. position: relative;
  71. line-height: 70px;
  72. text-align: center;
  73. font-size: 2rem;
  74. }
  75. div.bx-std-pcap-menu-popup {
  76. position: absolute;
  77. z-index: 1;
  78. }
  79. div.bx-std-pcap-mp-right {
  80. right: 10px;
  81. }
  82. div.bx-std-pcap-help .sys-rss-feed-wrapper {
  83. padding-top: 0px;
  84. }
  85. div.bx-std-pcap-help .bx-loading-ajax {
  86. margin-top: 0px;
  87. margin-bottom: 0px;
  88. }
  89. div.bx-std-pcap-action {
  90. position: relative;
  91. float: left;
  92. width: 36px;
  93. height: 36px;
  94. }
  95. div.bx-std-pcap-action:first-child {
  96. margin-left: 0px;
  97. }
  98. div#bx-std-pca-activate {
  99. width: 82px;
  100. }
  101. div.bx-std-pcap-mp-right div.bx-std-pcap-action {
  102. float: right;
  103. }
  104. /**
  105. * Page Menu (Left Side)
  106. */
  107. div.bx-std-pmen-item {
  108. position: relative;
  109. height: 3rem; /* 32px icon + 8px above and below (the icon's 1px white gap on hover and the item background make up the header icons' halo) */
  110. margin-top: 0.125rem;
  111. border-radius: 1rem; /* icon radius (8px) + 8px padding */
  112. font-size: 1.0rem;
  113. font-weight: 500;
  114. }
  115. div.bx-std-pmen-item:first-child {
  116. margin-top: 0;
  117. }
  118. div.bx-std-pmen-item-cnt {
  119. display: -webkit-flex;
  120. display: flex;
  121. -webkit-align-items: center;
  122. align-items: center;
  123. -webkit-flex-wrap: nowrap;
  124. flex-wrap: nowrap;
  125. padding: 0.5rem; /* with the column's 8px inset the icon sits 16px from the column's edge, like the launcher icon in the header bar */
  126. }
  127. span.bx-std-pmen-item-counter {}
  128. span.bx-std-pmen-ic-num {}
  129. div.bx-std-pmen-item .bx-std-pmen-ic-icon {
  130. display: none;
  131. flex: 0 0 auto;
  132. width: 2rem;
  133. height: 2rem;
  134. box-sizing: border-box;
  135. margin-right: 0.75rem;
  136. border-radius: 0.5rem;
  137. background-repeat: no-repeat;
  138. background-position: center center;
  139. text-align: center;
  140. }
  141. .bx-dir-rtl div.bx-std-pmen-item .bx-std-pmen-ic-icon {
  142. margin-left: 0.75rem;
  143. margin-right: 0;
  144. }
  145. div.bx-std-pmen-item .bx-std-pmen-ic-icon.block {
  146. display: block;
  147. }
  148. /* The label: one line, cut with an ellipsis, beside the tile; the tablet strip below lets it wrap to two lines instead. */
  149. div.bx-std-pmen-item .bx-std-pmen-ic-title {
  150. overflow: hidden;
  151. text-overflow: ellipsis;
  152. white-space: nowrap;
  153. }
  154. div.bx-std-pmen-item img,
  155. div.bx-std-pmen-item svg,
  156. div.bx-std-pmen-item .sys-icon {
  157. width: 100%;
  158. height: 100%;
  159. border-radius: 0.5rem;
  160. }
  161. /* Glyphs inside the gray tile buttons are line art, only full-bleed artwork needs the rounding. */
  162. div.bx-std-pmen-item .bx-std-tile-btn svg,
  163. div.bx-std-pmen-item .bx-std-tile-btn .sys-icon {
  164. border-radius: 0;
  165. }
  166. div.bx-std-pmen-item a,
  167. div.bx-std-pmen-item .sys-icon {
  168. color: #595959;
  169. }
  170. div.bx-std-pmen-item a {
  171. position: relative;
  172. display: block;
  173. width: 100%;
  174. height: 100%;
  175. text-decoration: none;
  176. color: rgba(55, 65, 81, 1);
  177. }
  178. div.bx-std-pmen-item .sys-icon {
  179. font-size: 1.0rem;
  180. color: #ffffff;
  181. }
  182. /*--- Icons ---*/
  183. img.bx-item-icon,
  184. svg.bx-item-icon{
  185. width: 32px;
  186. height: 32px;
  187. }
  188. div.bx-item-icon-preview {}
  189. div.bx-item-icon-preview img,
  190. div.bx-item-icon-preview svg{
  191. max-width:128px;
  192. max-height:128px;
  193. }
  194. div.adm-item-icon-preview-empty {}
  195. /**
  196. * Footer
  197. */
  198. div.bx-std-bx-footer {
  199. margin-top: 60px;
  200. border: 0px;
  201. background-color: transparent;
  202. -moz-shadow: none;
  203. -webkit-shadow: none;
  204. box-shadow: none;
  205. }
  206. /**
  207. * API
  208. */
  209. img.bx-std-api {
  210. display: inline-block;
  211. width: 1rem;
  212. height: 1rem;
  213. }
  214. /*
  215. * Page menu on narrow screens (the columns themselves are in page_columns.css).
  216. * Tablet: a vertical strip of square tiles (as wide as the strip's items, 88px), the 32px icon and a small label centred in each.
  217. * Phone: a horizontal, scrollable row of 48px tabs, each its 32px tile alone (the link's aria-label names it); the active tab shows its
  218. * label beside the tile, so the row stays one even line whatever the labels' length.
  219. */
  220. @media (max-width: 1023px) {
  221. div.bx-std-pmen-item {
  222. height: 5.5rem; /* square: the item is 88px wide (page_columns.css) */
  223. }
  224. div.bx-std-pmen-item > a {
  225. display: block;
  226. height: 100%;
  227. }
  228. div.bx-std-pmen-item-cnt {
  229. -webkit-flex-direction: column;
  230. flex-direction: column;
  231. -webkit-justify-content: center;
  232. justify-content: center;
  233. height: 100%;
  234. padding: 0.5rem; /* the 8px inset all round, as beside the tile on wide screens; the label wraps to two lines under the tile */
  235. }
  236. div.bx-std-pmen-item .bx-std-pmen-ic-icon,
  237. .bx-dir-rtl div.bx-std-pmen-item .bx-std-pmen-ic-icon {
  238. margin: 0;
  239. }
  240. div.bx-std-pmen-item .bx-std-pmen-ic-title {
  241. display: -webkit-box;
  242. -webkit-box-orient: vertical;
  243. -webkit-line-clamp: 2; /* wraps to two lines, then cuts with an ellipsis */
  244. max-width: 100%;
  245. margin-top: 0.25rem;
  246. font-size: 0.75rem;
  247. line-height: 1rem;
  248. text-align: center;
  249. white-space: normal;
  250. overflow-wrap: anywhere;
  251. }
  252. }
  253. @media (max-width: 767px) {
  254. div.bx-std-pcm-menu {
  255. display: -webkit-flex;
  256. display: flex;
  257. -webkit-flex-wrap: nowrap;
  258. flex-wrap: nowrap;
  259. gap: 0.125rem;
  260. }
  261. div.bx-std-pcm-menu > .bx-clear {
  262. display: none;
  263. }
  264. div.bx-std-pcm-menu::after {
  265. content: '';
  266. -webkit-flex: 0 0 0.375rem;
  267. flex: 0 0 0.375rem; /* with the 2px gap, 8px after the last tab: the column's inset is not part of the row's scroll range */
  268. }
  269. div.bx-std-pmen-item {
  270. -webkit-flex: 0 0 auto;
  271. flex: 0 0 auto;
  272. height: 3rem; /* the 32px tile with 8px around it, like the wide-screen list */
  273. margin-top: 0;
  274. }
  275. div.bx-std-pmen-item-cnt {
  276. -webkit-flex-direction: row;
  277. flex-direction: row;
  278. -webkit-justify-content: flex-start;
  279. justify-content: flex-start;
  280. }
  281. div.bx-std-pmen-item .bx-std-pmen-ic-title {
  282. display: none; /* icon only */
  283. }
  284. div.bx-std-pmen-item.bx-menu-tab-active .bx-std-pmen-ic-title {
  285. display: block;
  286. -webkit-line-clamp: unset;
  287. max-width: none;
  288. margin: 0 0.25rem 0 0.75rem; /* beside the tile, like the wide-screen list, with 4px of air before the tab's end */
  289. font-size: 1rem;
  290. line-height: 1.5rem;
  291. text-align: start;
  292. white-space: nowrap;
  293. }
  294. .bx-dir-rtl div.bx-std-pmen-item.bx-menu-tab-active .bx-std-pmen-ic-title {
  295. margin: 0 0.75rem 0 0.25rem;
  296. }
  297. }
  298. /*
  299. * The column's own title (shown when the header breadcrumb is off): small and centred in the strip,
  300. * with its actions button under it; a plain row again above the phone tabs.
  301. */
  302. @media (max-width: 1023px) {
  303. div.bx-std-pcm-title {
  304. font-size: 0.875rem;
  305. line-height: 1.25rem;
  306. }
  307. div.bx-std-pcm-title .bx-std-pcm-title-cnt {
  308. -webkit-flex-direction: column;
  309. flex-direction: column;
  310. -webkit-align-items: center;
  311. align-items: center;
  312. gap: 0.5rem;
  313. padding: 0 0.25rem;
  314. text-align: center;
  315. overflow-wrap: anywhere;
  316. }
  317. }
  318. @media (max-width: 767px) {
  319. div.bx-std-pcm-title .bx-std-pcm-title-cnt {
  320. -webkit-flex-direction: row;
  321. flex-direction: row;
  322. padding: 0 0.5rem;
  323. text-align: start;
  324. }
  325. }