apps.css 15 KB

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