apps.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /* ---- APP STYLING ---- */
  2. #app {
  3. height: 100%;
  4. width: 100%;
  5. }
  6. #app * {
  7. -moz-box-sizing: border-box; box-sizing: border-box;
  8. }
  9. /* Navigation: folder like structure */
  10. #app-navigation {
  11. width: 300px;
  12. height: 100%;
  13. float: left;
  14. -moz-box-sizing: border-box; box-sizing: border-box;
  15. background-color: #f8f8f8;
  16. border-right: 1px solid #ccc;
  17. padding-bottom: 44px;
  18. }
  19. #app-navigation > ul {
  20. height: 100%;
  21. overflow: auto;
  22. -moz-box-sizing: border-box; box-sizing: border-box;
  23. }
  24. #app-navigation li {
  25. position: relative;
  26. width: 100%;
  27. -moz-box-sizing: border-box; box-sizing: border-box;
  28. }
  29. #app-navigation .active,
  30. #app-navigation .active a,
  31. #app-navigation li:hover > a {
  32. background-color: #ddd;
  33. }
  34. /* special rules for first-level entries and folders */
  35. #app-navigation > ul > li {
  36. background-color: #f8f8f8;
  37. }
  38. #app-navigation .with-icon a {
  39. padding-left: 44px;
  40. background-size: 16px 16px;
  41. background-position: 14px center;
  42. background-repeat: no-repeat;
  43. }
  44. #app-navigation li > a {
  45. display: block;
  46. width: 100%;
  47. line-height: 44px;
  48. padding: 0 12px;
  49. overflow: hidden;
  50. -moz-box-sizing: border-box; box-sizing: border-box;
  51. white-space: nowrap;
  52. text-overflow: ellipsis;
  53. color: #333;
  54. }
  55. #app-navigation .collapse {
  56. display: none; /* hide collapse button intially */
  57. }
  58. #app-navigation .collapsible > .collapse {
  59. position: absolute;
  60. height: 44px;
  61. width: 44px;
  62. margin: 0;
  63. padding: 0;
  64. background: none; background-image: url('../img/actions/triangle-s.svg');
  65. background-size: 16px; background-repeat: no-repeat; background-position: center;
  66. border: none;
  67. border-radius: 0;
  68. outline: none !important;
  69. box-shadow: none;
  70. }
  71. #app-navigation .collapsible:hover > a {
  72. background-image: none;
  73. }
  74. #app-navigation .collapsible:hover > .collapse {
  75. display: block;
  76. }
  77. #app-navigation .collapsible .collapse {
  78. -moz-transform: rotate(-90deg);
  79. -webkit-transform: rotate(-90deg);
  80. -ms-transform:rotate(-90deg);
  81. -o-transform:rotate(-90deg);
  82. transform: rotate(-90deg);
  83. }
  84. #app-navigation .collapsible.open .collapse {
  85. -moz-transform: rotate(0);
  86. -webkit-transform: rotate(0);
  87. -ms-transform:rotate(0);
  88. -o-transform:rotate(0);
  89. transform: rotate(0);
  90. }
  91. /* Second level nesting for lists */
  92. #app-navigation > ul ul {
  93. display: none;
  94. }
  95. #app-navigation > ul ul li > a {
  96. padding-left: 32px;
  97. }
  98. #app-navigation > .with-icon ul li > a {
  99. padding-left: 68px;
  100. background-position: 44px center;
  101. }
  102. #app-navigation .open {
  103. background-image: linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
  104. background-image: -o-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
  105. background-image: -moz-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
  106. background-image: -webkit-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
  107. background-image: -ms-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
  108. }
  109. #app-navigation > ul .open:hover {
  110. box-shadow: inset 0 0 3px #ccc;
  111. }
  112. #app-navigation > ul .open ul {
  113. display: block;
  114. }
  115. /* counter and actions */
  116. #app-navigation .utils {
  117. position: absolute;
  118. padding: 7px 7px 0 0;
  119. right: 0;
  120. top: 0;
  121. bottom: 0;
  122. font-size: 12px;
  123. }
  124. #app-navigation .utils button,
  125. #app-navigation .utils .counter {
  126. width: 44px;
  127. height: 44px;
  128. padding-top: 12px;
  129. }
  130. /* drag and drop */
  131. #app-navigation .drag-and-drop {
  132. -moz-transition: padding-bottom 500ms ease 0s;
  133. -o-transition: padding-bottom 500ms ease 0s;
  134. -webkit-transition: padding-bottom 500ms ease 0s;
  135. -ms-transition: padding-bottom 500ms ease 0s;
  136. transition: padding-bottom 500ms ease 0s;
  137. padding-bottom: 40px;
  138. }
  139. #app-navigation .personalblock > legend { /* TODO @Raydiation: still needed? */
  140. padding: 10px 0; margin: 0;
  141. }
  142. #app-navigation .error {
  143. color: #dd1144;
  144. }
  145. #app-navigation .app-navigation-separator {
  146. border-bottom: 1px solid #ddd;
  147. }
  148. /* Part where the content will be loaded into */
  149. #app-content {
  150. height: 100%;
  151. overflow-y: auto;
  152. }
  153. /* settings area */
  154. #app-settings {
  155. position: fixed;
  156. width: 299px;
  157. bottom: 0;
  158. border-top: 1px solid #ccc;
  159. }
  160. #app-settings-header {
  161. background-color: #eee;
  162. }
  163. #app-settings-content {
  164. display: none;
  165. padding: 10px;
  166. background-color: #eee;
  167. }
  168. #app-settings.open #app-settings-content {
  169. display: block;
  170. }
  171. .settings-button {
  172. display: block;
  173. height: 44px;
  174. width: 100%;
  175. padding: 0;
  176. margin: 0;
  177. background-color: transparent; background-image: url('../img/actions/settings.svg');
  178. background-position: 10px center; background-repeat: no-repeat;
  179. box-shadow: none;
  180. border: 0;
  181. border-radius: 0;
  182. }
  183. .settings-button:hover,
  184. .settings-button:focus {
  185. background-color: #ddd;
  186. }
  187. .settings-button.opened:hover,
  188. .settings-button.opened:focus {
  189. background-color: transparent;
  190. }
  191. /* icons */
  192. .folder-icon, .delete-icon, .edit-icon, .progress-icon {
  193. background-repeat: no-repeat;
  194. background-position: center;
  195. }
  196. .folder-icon { background-image: url('../img/places/folder.svg'); }
  197. .delete-icon { background-image: url('../img/actions/delete.svg'); }
  198. .delete-icon:hover, .delete-icon:focus {
  199. background-image: url('../img/actions/delete-hover.svg');
  200. }
  201. .edit-icon { background-image: url('../img/actions/rename.svg'); }
  202. .progress-icon {
  203. background-image: url('../img/loading.gif');
  204. background-size: 16px;
  205. /* force show the loading icon, not only on hover */
  206. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  207. filter:alpha(opacity=100);
  208. opacity: 1 !important;
  209. display: inline !important;
  210. }
  211. /* buttons */
  212. button.loading {
  213. background-image: url('../img/loading.gif');
  214. background-position: right 10px center; background-repeat: no-repeat;
  215. background-size: 16px;
  216. padding-right: 30px;
  217. }