general.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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 tabs with 28px tiles and 16px glyphs.
  218. */
  219. @media (max-width: 1023px) {
  220. div.bx-std-pmen-item {
  221. height: 5.5rem; /* square: the item is 88px wide (page_columns.css) */
  222. }
  223. div.bx-std-pmen-item > a {
  224. display: block;
  225. height: 100%;
  226. }
  227. div.bx-std-pmen-item-cnt {
  228. -webkit-flex-direction: column;
  229. flex-direction: column;
  230. -webkit-justify-content: center;
  231. justify-content: center;
  232. height: 100%;
  233. padding: 0.5rem 0.25rem; /* room for a two-line label under the tile */
  234. }
  235. div.bx-std-pmen-item .bx-std-pmen-ic-icon,
  236. .bx-dir-rtl div.bx-std-pmen-item .bx-std-pmen-ic-icon {
  237. margin: 0;
  238. }
  239. div.bx-std-pmen-item .bx-std-pmen-ic-title {
  240. display: -webkit-box;
  241. -webkit-box-orient: vertical;
  242. -webkit-line-clamp: 2; /* wraps to two lines, then cuts with an ellipsis */
  243. max-width: 100%;
  244. margin-top: 0.25rem;
  245. font-size: 0.75rem;
  246. line-height: 1rem;
  247. text-align: center;
  248. white-space: normal;
  249. overflow-wrap: anywhere;
  250. }
  251. }
  252. @media (max-width: 767px) {
  253. div.bx-std-pcm-menu {
  254. display: -webkit-flex;
  255. display: flex;
  256. -webkit-flex-wrap: nowrap;
  257. flex-wrap: nowrap;
  258. gap: 0.125rem;
  259. }
  260. div.bx-std-pcm-menu > .bx-clear {
  261. display: none;
  262. }
  263. div.bx-std-pmen-item {
  264. -webkit-flex: 0 0 auto;
  265. flex: 0 0 auto;
  266. height: auto; /* tabs, not squares */
  267. min-width: 4rem;
  268. margin-top: 0;
  269. }
  270. div.bx-std-pmen-item-cnt {
  271. height: auto;
  272. padding: 0.375rem 0.5rem;
  273. }
  274. div.bx-std-pmen-item .bx-std-pmen-ic-icon {
  275. width: 1.75rem;
  276. height: 1.75rem;
  277. padding: 0.375rem; /* 16px glyph in the 28px tile */
  278. }
  279. div.bx-std-pmen-item .bx-std-tile-btn > .sys-icon {
  280. font-size: 1rem;
  281. line-height: 1rem;
  282. }
  283. }
  284. /*
  285. * The column's own title (shown when the header breadcrumb is off): small and centred in the strip,
  286. * with its actions button under it; a plain row again above the phone tabs.
  287. */
  288. @media (max-width: 1023px) {
  289. div.bx-std-pcm-title {
  290. font-size: 0.875rem;
  291. line-height: 1.25rem;
  292. }
  293. div.bx-std-pcm-title .bx-std-pcm-title-cnt {
  294. -webkit-flex-direction: column;
  295. flex-direction: column;
  296. -webkit-align-items: center;
  297. align-items: center;
  298. gap: 0.5rem;
  299. padding: 0 0.25rem;
  300. text-align: center;
  301. overflow-wrap: anywhere;
  302. }
  303. }
  304. @media (max-width: 767px) {
  305. div.bx-std-pcm-title .bx-std-pcm-title-cnt {
  306. -webkit-flex-direction: row;
  307. flex-direction: row;
  308. padding: 0 0.5rem;
  309. text-align: start;
  310. }
  311. }