You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

apps.css 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704
  1. /* APP STYLING -------------------------------------------------------------- */
  2. #app {
  3. height: 100%;
  4. width: 100%;
  5. }
  6. #app * {
  7. box-sizing: border-box;
  8. }
  9. /* APP-NAVIGATION ------------------------------------------------------------*/
  10. /* Navigation: folder like structure */
  11. #app-navigation {
  12. width: 250px;
  13. height: 100%;
  14. float: left;
  15. box-sizing: border-box;
  16. background-color: #fff;
  17. padding-bottom: 44px;
  18. -webkit-user-select: none;
  19. -moz-user-select: none;
  20. -ms-user-select: none;
  21. user-select: none;
  22. border-right: 1px solid #eee;
  23. }
  24. #app-navigation > ul {
  25. position: relative;
  26. height: 100%;
  27. width: inherit;
  28. overflow: auto;
  29. box-sizing: border-box;
  30. }
  31. #app-navigation li {
  32. position: relative;
  33. width: 100%;
  34. box-sizing: border-box;
  35. }
  36. #app-navigation .active.with-menu > a,
  37. #app-navigation .with-counter > a {
  38. padding-right: 50px;
  39. }
  40. #app-navigation .active.with-menu.with-counter > a {
  41. padding-right: 90px;
  42. }
  43. #app-navigation .with-icon a,
  44. #app-navigation .app-navigation-entry-loading a {
  45. padding-left: 44px;
  46. background-size: 16px 16px;
  47. background-position: 14px center;
  48. background-repeat: no-repeat;
  49. }
  50. #app-navigation li > a {
  51. display: block;
  52. width: 100%;
  53. line-height: 44px;
  54. min-height: 44px;
  55. padding: 0 12px;
  56. overflow: hidden;
  57. box-sizing: border-box;
  58. white-space: nowrap;
  59. text-overflow: ellipsis;
  60. color: #000;
  61. opacity: .57;
  62. }
  63. #app-navigation .active,
  64. #app-navigation .active a,
  65. #app-navigation li:hover > a,
  66. #app-navigation li:focus > a,
  67. #app-navigation a:focus,
  68. #app-navigation .selected,
  69. #app-navigation .selected a {
  70. opacity: 1;
  71. }
  72. #app-navigation .collapse {
  73. display: none; /* hide collapse button initially */
  74. }
  75. #app-navigation .collapsible > .collapse {
  76. position: absolute;
  77. height: 44px;
  78. width: 44px;
  79. margin: 0;
  80. padding: 0;
  81. background: none; background-image: url('../img/actions/triangle-s.svg?v=1');
  82. background-size: 16px; background-repeat: no-repeat; background-position: center;
  83. border: none;
  84. border-radius: 0;
  85. outline: none !important;
  86. box-shadow: none;
  87. }
  88. #app-navigation .collapsible:hover > a,
  89. #app-navigation .collapsible:focus > a {
  90. background-image: none;
  91. }
  92. #app-navigation .collapsible:hover > .collapse,
  93. #app-navigation .collapsible:focus > .collapse {
  94. display: block;
  95. }
  96. #app-navigation .collapsible .collapse {
  97. -webkit-transform: rotate(-90deg);
  98. -ms-transform:rotate(-90deg);
  99. transform: rotate(-90deg);
  100. }
  101. #app-navigation .collapsible.open .collapse {
  102. -webkit-transform: rotate(0);
  103. -ms-transform:rotate(0);
  104. transform: rotate(0);
  105. }
  106. /* Second level nesting for lists */
  107. #app-navigation > ul ul {
  108. display: none;
  109. }
  110. #app-navigation > ul ul li > a {
  111. padding-left: 32px;
  112. }
  113. #app-navigation > .with-icon ul li > a,
  114. #app-navigation > .with-icon ul li.app-navigation-entry-loading > a {
  115. padding-left: 68px;
  116. background-position: 44px center;
  117. }
  118. #app-navigation .collapsible.open {
  119. background-image: linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
  120. background-image: -webkit-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
  121. background-image: -ms-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
  122. }
  123. #app-navigation > ul .collapsible.open:hover,
  124. #app-navigation > ul .collapsible.open:focus {
  125. box-shadow: inset 0 0 3px #ddd;
  126. }
  127. #app-navigation > ul .collapsible.open ul {
  128. display: block;
  129. }
  130. /* Deleted entries with undo button */
  131. #app-navigation .app-navigation-entry-deleted {
  132. display: inline-block;
  133. height: 44px;
  134. width: 100%;
  135. }
  136. #app-navigation .app-navigation-entry-deleted-description {
  137. padding-left: 12px;
  138. position: relative;
  139. white-space: nowrap;
  140. text-overflow: ellipsis;
  141. overflow: hidden;
  142. display: inline-block;
  143. width: calc(100% - 49px);
  144. line-height: 44px;
  145. float: left;
  146. }
  147. #app-navigation .app-navigation-entry-deleted-button {
  148. margin: 0;
  149. height: 44px;
  150. width: 44px;
  151. line-height: 44px;
  152. border: 0;
  153. display: inline-block;
  154. background-color: transparent;
  155. opacity: .5;
  156. }
  157. #app-navigation .app-navigation-entry-deleted-button:hover,
  158. #app-navigation .app-navigation-entry-deleted-button:focus {
  159. opacity: 1;
  160. }
  161. /* counter and actions, legacy code */
  162. #app-navigation .utils {
  163. position: absolute;
  164. padding: 7px 7px 0 0;
  165. right: 0;
  166. top: 0;
  167. bottom: 0;
  168. font-size: 12px;
  169. }
  170. #app-navigation .utils button,
  171. #app-navigation .utils .counter {
  172. width: 44px;
  173. height: 44px;
  174. padding-top: 12px;
  175. }
  176. /* drag and drop */
  177. #app-navigation .drag-and-drop {
  178. -webkit-transition: padding-bottom 500ms ease 0s;
  179. transition: padding-bottom 500ms ease 0s;
  180. padding-bottom: 40px;
  181. }
  182. #app-navigation .error {
  183. color: #dd1144;
  184. }
  185. #app-navigation .app-navigation-separator {
  186. border-bottom: 1px solid #ddd;
  187. }
  188. /**
  189. * App navigation utils, buttons and counters for drop down menu
  190. */
  191. #app-navigation .app-navigation-entry-utils {
  192. position: absolute;
  193. top: 0;
  194. right: 0;
  195. z-index: 105;
  196. }
  197. #app-navigation .app-navigation-entry-utils ul {
  198. display: block !important;
  199. }
  200. #app-navigation .app-navigation-entry-utils li {
  201. float: left;
  202. width: 44px !important;
  203. height: 44px;
  204. line-height: 44px;
  205. }
  206. #app-navigation .active > .app-navigation-entry-utils li {
  207. display: inline-block;
  208. }
  209. #app-navigation .app-navigation-entry-utils button {
  210. height: 38px;
  211. width: 38px;
  212. line-height: 38px;
  213. float: left;
  214. }
  215. #app-navigation .app-navigation-entry-utils-menu-button {
  216. display: none;
  217. }
  218. #app-navigation .app-navigation-entry-utils-menu-button button {
  219. border: 0;
  220. opacity: .5;
  221. background-color: transparent;
  222. background-repeat: no-repeat;
  223. background-position: center;
  224. background-image: url('../img/actions/more.svg?v=1');
  225. }
  226. #app-navigation .app-navigation-entry-utils-menu-button:hover button,
  227. #app-navigation .app-navigation-entry-utils-menu-button:focus button {
  228. background-color: transparent;
  229. opacity: 1;
  230. }
  231. #app-navigation .app-navigation-entry-utils-counter {
  232. overflow: hidden;
  233. text-overflow: hidden;
  234. text-align: right;
  235. font-size: 9pt;
  236. width: 38px;
  237. line-height: 44px;
  238. padding: 0 10px;
  239. }
  240. #app-navigation .app-navigation-entry-utils ul,
  241. #app-navigation .app-navigation-entry-menu ul {
  242. list-style-type: none;
  243. }
  244. /* menu bubble / popover */
  245. .bubble,
  246. #app-navigation .app-navigation-entry-menu {
  247. position: absolute;
  248. background-color: #fff;
  249. color: #333;
  250. border-radius: 3px;
  251. border-top-right-radius: 0;
  252. z-index: 110;
  253. margin: -5px 14px 5px 10px;
  254. right: 0;
  255. -webkit-filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75));
  256. -moz-filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75));
  257. -ms-filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75));
  258. -o-filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75));
  259. filter: drop-shadow(0 0 5px rgba(150, 150, 150, 0.75));
  260. }
  261. .ie .bubble,
  262. .ie #app-navigation .app-navigation-entry-menu,
  263. .ie .bubble:after,
  264. .ie #app-navigation .app-navigation-entry-menu:after,
  265. .edge .bubble,
  266. .edge #app-navigation .app-navigation-entry-menu,
  267. .edge .bubble:after,
  268. .edge #app-navigation .app-navigation-entry-menu:after {
  269. border: 1px solid #eee;
  270. }
  271. /* miraculous border arrow stuff */
  272. .bubble:after,
  273. #app-navigation .app-navigation-entry-menu:after {
  274. bottom: 100%;
  275. right: 0; /* change this to adjust the arrow position */
  276. border: solid transparent;
  277. content: " ";
  278. height: 0;
  279. width: 0;
  280. position: absolute;
  281. pointer-events: none;
  282. }
  283. .bubble:after,
  284. #app-navigation .app-navigation-entry-menu:after {
  285. border-color: rgba(238, 238, 238, 0);
  286. border-bottom-color: #fff;
  287. border-width: 10px;
  288. margin-left: -10px;
  289. }
  290. .bubble .action {
  291. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)" !important;
  292. filter: alpha(opacity=50) !important;
  293. opacity: .5 !important;
  294. }
  295. .bubble .action:hover,
  296. .bubble .action:focus {
  297. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
  298. filter: alpha(opacity=100) !important;
  299. opacity: 1 !important;
  300. }
  301. #app-navigation .app-navigation-entry-menu {
  302. display: none;
  303. }
  304. #app-navigation .app-navigation-entry-menu.open {
  305. display: block;
  306. }
  307. /* list of options for an entry */
  308. #app-navigation .app-navigation-entry-menu ul {
  309. display: block !important;
  310. }
  311. #app-navigation .app-navigation-entry-menu li {
  312. float: left;
  313. width: 38px !important;
  314. }
  315. #app-navigation .app-navigation-entry-menu li button {
  316. float: right;
  317. width: 36px !important;
  318. height: 36px;
  319. line-height: 36px;
  320. border: 0;
  321. opacity: .5;
  322. background-color: transparent;
  323. }
  324. #app-navigation .app-navigation-entry-menu li button:hover,
  325. #app-navigation .app-navigation-entry-menu li button:focus {
  326. opacity: 1;
  327. background-color: transparent;
  328. }
  329. /* editing an entry */
  330. #app-navigation .app-navigation-entry-edit {
  331. padding-left: 5px;
  332. padding-right: 5px;
  333. display: inline-block;
  334. height: 39px;
  335. width: 100%;
  336. }
  337. #app-navigation .app-navigation-entry-edit input {
  338. border-bottom-right-radius: 0;
  339. border-top-right-radius: 0;
  340. width: calc(100% - 36px);
  341. padding: 5px;
  342. margin-right: 0;
  343. height: 38px;
  344. float: left;
  345. border: 1px solid rgba(190,190,190,.9);
  346. }
  347. #app-navigation .app-navigation-entry-edit button,
  348. #app-navigation .app-navigation-entry-edit input[type="submit"] {
  349. width: 36px;
  350. height: 38px;
  351. float: left;
  352. }
  353. #app-navigation .app-navigation-entry-edit .icon-checkmark {
  354. border-bottom-left-radius: 0;
  355. border-top-left-radius: 0;
  356. border-left: 0;
  357. margin-right: 0;
  358. }
  359. /* APP-CONTENT ---------------------------------------------------------------*/
  360. /* Part where the content will be loaded into */
  361. #app-content {
  362. position: relative;
  363. height: 100%;
  364. overflow-y: auto;
  365. }
  366. #app-content-wrapper {
  367. min-width: 100%;
  368. min-height: 100%;
  369. }
  370. /* APP-SIDEBAR ----------------------------------------------------------------*/
  371. /*
  372. Sidebar: a sidebar to be used within #app-content
  373. have it as first element within app-content in order to shrink other
  374. sibling containers properly. Compare Files app for example.
  375. */
  376. #app-sidebar {
  377. position: fixed;
  378. top: 45px;
  379. right: 0;
  380. left: auto;
  381. bottom: 0;
  382. width: 27%;
  383. min-width: 300px;
  384. display: block;
  385. background: #fff;
  386. border-left: 1px solid #eee;
  387. -webkit-transition: margin-right 300ms;
  388. transition: margin-right 300ms;
  389. overflow-x: hidden;
  390. overflow-y: auto;
  391. visibility: visible;
  392. z-index: 500;
  393. }
  394. #app-content.with-app-sidebar {
  395. margin-right: 27%;
  396. }
  397. #app-sidebar.disappear {
  398. visibility: hidden;
  399. }
  400. /* APP-SETTINGS ---------------------------------------------------------------*/
  401. /* settings area */
  402. #app-settings {
  403. position: fixed;
  404. width: 250px; /* change to 100% when layout positions are absolute */
  405. max-height: 80%;
  406. bottom: 0;
  407. z-index: 140;
  408. overflow-x: hidden;
  409. overflow-y: scroll;
  410. }
  411. #app-settings.opened #app-settings-content {
  412. display: block;
  413. }
  414. #app-settings-content {
  415. display: none;
  416. padding: 10px;
  417. background-color: #fff;
  418. }
  419. #app-settings.open #app-settings-content {
  420. display: block;
  421. /* restrict height of settings and make scrollable */
  422. max-height: 300px;
  423. overflow-y: auto;
  424. }
  425. #app-settings-content,
  426. #app-settings-header {
  427. border-right: 1px solid #eee;
  428. }
  429. /* display input fields at full width */
  430. #app-settings-content input[type='text'] {
  431. width: 93%;
  432. }
  433. .settings-button {
  434. display: block;
  435. height: 44px;
  436. width: 100%;
  437. padding: 0;
  438. margin: 0;
  439. background-color: #fff;
  440. background-image: url('../img/actions/settings.svg?v=1');
  441. background-position: 14px center;
  442. background-repeat: no-repeat;
  443. box-shadow: none;
  444. border: 0;
  445. border-radius: 0;
  446. text-align: left;
  447. padding-left: 42px;
  448. font-weight: normal;
  449. }
  450. .settings-button:hover,
  451. .settings-button:focus {
  452. background-color: #fff;
  453. }
  454. .settings-button.opened:hover,
  455. .settings-button.opened:focus {
  456. background-color: #fff;
  457. }
  458. /* buttons */
  459. button.loading {
  460. background-image: url('../img/loading.gif');
  461. background-position: right 10px center; background-repeat: no-repeat;
  462. background-size: 16px;
  463. padding-right: 30px;
  464. }
  465. /* general styles for the content area */
  466. .section {
  467. display: block;
  468. padding: 30px;
  469. color: #555;
  470. margin-bottom: 24px;
  471. }
  472. .section.hidden {
  473. display: none !important;
  474. }
  475. .sub-section {
  476. position: relative;
  477. margin-top: 10px;
  478. margin-left: 27px;
  479. margin-bottom: 10px;
  480. }
  481. /* no top border for first settings item */
  482. #app-content > .section:first-child {
  483. border-top: none;
  484. }
  485. /* heading styles */
  486. h2 {
  487. font-size: 20px;
  488. font-weight: 300;
  489. margin-bottom: 12px;
  490. line-height: 140%;
  491. }
  492. h3 {
  493. font-size: 15px;
  494. font-weight: 300;
  495. margin: 12px 0;
  496. }
  497. /* slight position correction of checkboxes and radio buttons */
  498. .section input[type="checkbox"],
  499. .section input[type="radio"] {
  500. vertical-align: -2px;
  501. margin-right: 4px;
  502. }
  503. .appear {
  504. opacity: 1;
  505. -webkit-transition: opacity 500ms ease 0s;
  506. -moz-transition: opacity 500ms ease 0s;
  507. -ms-transition: opacity 500ms ease 0s;
  508. -o-transition: opacity 500ms ease 0s;
  509. transition: opacity 500ms ease 0s;
  510. }
  511. .appear.transparent {
  512. opacity: 0;
  513. }
  514. /* do not use italic typeface style, instead lighter color */
  515. em {
  516. font-style: normal;
  517. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  518. opacity: .5;
  519. }
  520. /* generic dropdown style */
  521. .dropdown {
  522. background:#eee;
  523. border-bottom-left-radius: 5px;
  524. border-bottom-right-radius: 5px;
  525. box-shadow:0 1px 1px #777;
  526. display:block;
  527. margin-right: 0;
  528. position:absolute;
  529. right:0;
  530. width:420px;
  531. z-index:500;
  532. padding:16px;
  533. }
  534. /* generic tab styles */
  535. .tabHeaders {
  536. display: inline-block;
  537. margin: 15px;
  538. }
  539. .tabHeaders .tabHeader {
  540. float: left;
  541. padding: 5px;
  542. cursor: pointer;
  543. }
  544. .tabHeaders .tabHeader, .tabHeaders .tabHeader a {
  545. color: #888;
  546. }
  547. .tabHeaders .tabHeader.selected {
  548. font-weight: 600;
  549. }
  550. .tabHeaders .tabHeader.selected,
  551. .tabHeaders .tabHeader:hover {
  552. border-bottom: 1px solid #333;
  553. }
  554. .tabHeaders .tabHeader.selected,
  555. .tabHeaders .tabHeader.selected a,
  556. .tabHeaders .tabHeader:hover,
  557. .tabHeaders .tabHeader:hover a {
  558. color: #000;
  559. }
  560. .tabsContainer {
  561. clear: left;
  562. }
  563. .tabsContainer .tab {
  564. padding: 15px;
  565. }
  566. /* popover menu styles (use together with "bubble" class) */
  567. .popovermenu .menuitem,
  568. .popovermenu .menuitem>span {
  569. cursor: pointer;
  570. vertical-align: middle;
  571. }
  572. .popovermenu .menuitem {
  573. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  574. filter: alpha(opacity=50);
  575. opacity: .5;
  576. }
  577. .popovermenu .menuitem:hover,
  578. .popovermenu .menuitem:focus {
  579. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  580. filter: alpha(opacity=100);
  581. opacity: 1;
  582. }
  583. .popovermenu {
  584. padding: 4px 12px;
  585. }
  586. .popovermenu li {
  587. padding: 5px 0;
  588. }
  589. .popovermenu .menuitem img {
  590. padding: initial;
  591. }
  592. .popovermenu a.menuitem,
  593. .popovermenu label.menuitem,
  594. .popovermenu .menuitem {
  595. padding: 10px;
  596. margin: -10px;
  597. }
  598. .popovermenu.hidden {
  599. display: none;
  600. }
  601. .popovermenu .menuitem {
  602. display: block;
  603. line-height: 30px;
  604. padding-left: 5px;
  605. color: #000;
  606. padding: 0;
  607. }
  608. .popovermenu .menuitem .icon,
  609. .popovermenu .menuitem .no-icon {
  610. display: inline-block;
  611. width: 16px;
  612. height: 16px;
  613. margin-right: 10px;
  614. vertical-align: middle;
  615. }
  616. .popovermenu .menuitem {
  617. opacity: 0.5;
  618. }
  619. .popovermenu li:hover .menuitem {
  620. opacity: 1;
  621. }