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.

296 lines
5.3 KiB

7 years ago
  1. html,
  2. body {
  3. min-height:100%;
  4. }
  5. body,
  6. html,
  7. input,
  8. select,
  9. button,
  10. textarea {
  11. font-family: Roboto, "Spoqa Han Sans", "Spoqa Han Sans JP", Sans-serif;
  12. }
  13. .application {
  14. position:absolute;
  15. top:0;
  16. left:0;
  17. right:0;
  18. bottom:0;
  19. -webkit-display:flex;
  20. display:flex;
  21. flex-direction: column;
  22. }
  23. .background-container {
  24. position: fixed;
  25. top: 0;
  26. right: 0;
  27. bottom: 0;
  28. left: 0;
  29. z-index: -1;
  30. background-color: #3f4245;
  31. .bg-1 {
  32. background-image: url(../images/admin/bg-dark.png);
  33. background-size: cover;
  34. background-position: center center;
  35. background-repeat: no-repeat;
  36. width: 100%;
  37. height: 100%;
  38. position: absolute;
  39. z-index: 2;
  40. }
  41. .bg-2 {
  42. position: absolute;
  43. width: 100%;
  44. height: 100%;
  45. background: url(../images/admin/bg-noise.png);
  46. z-index: 2;
  47. }
  48. }
  49. #nav-bar {
  50. flex-grow: 0;
  51. flex-shrink: 0;
  52. z-index: 1000;
  53. background-color: rgba(0,0,0,.7);
  54. height:60px;
  55. width:100%;
  56. .logo {
  57. display:flex;
  58. height:60px;
  59. //background:rgba(0,0,0,.7);
  60. color:#fff;
  61. font-weight:900;
  62. font-size:20px;
  63. justify-content: center;
  64. align-items: center;
  65. text-decoration: none;
  66. width:200px;
  67. }
  68. .btn-menu-toggle {
  69. display:none;
  70. @media screen and (max-width:768px) {
  71. display:block;
  72. position:fixed;
  73. right:15px;
  74. top:15px;
  75. font-size:24px;
  76. background:transparent;
  77. border:0;
  78. color:#fff;
  79. }
  80. }
  81. .btn-logout {
  82. position:fixed;
  83. right:15px;
  84. top:15px;
  85. font-size:24px;
  86. background:transparent;
  87. border:0;
  88. color:#fff;
  89. @media screen and (max-width:768px) {
  90. display:none;
  91. }
  92. }
  93. }
  94. #content {
  95. position: relative;
  96. flex-grow: 1;
  97. overflow: hidden;
  98. -webkit-overflow-scrolling: touch;
  99. display:flex;
  100. #left-panel {
  101. width:200px;
  102. overflow:hidden;
  103. background-color: rgba(0,0,0,.15);
  104. @media screen and (max-width:768px) {
  105. width:0px;
  106. &.opened {
  107. width:100%;
  108. position: absolute;
  109. z-index: 100;
  110. background: #000;
  111. }
  112. }
  113. #main-navigation {
  114. list-style:none;
  115. padding:0;
  116. margin:0;
  117. > li {
  118. display:block;
  119. position:relative;
  120. -webkit-transition: all .2s ease;
  121. -moz-transition: all .2s ease;
  122. -ms-transition: all .2s ease;
  123. -o-transition: all .2s ease;
  124. transition: all .2s ease;
  125. &:first-child {
  126. border-top: 0;
  127. }
  128. > a {
  129. display:block;
  130. padding:20px 10px;
  131. color:#c8c8c8;
  132. border-left:2px solid #293242;
  133. font-size:14px;
  134. text-decoration: none;
  135. -webkit-transition: all .2s ease;
  136. -moz-transition: all .2s ease;
  137. -ms-transition: all .2s ease;
  138. -o-transition: all .2s ease;
  139. transition: all .2s ease;
  140. > i {
  141. margin-right:5px;
  142. }
  143. &:after {
  144. content:"\f105";
  145. font-family:'Font Awesome 5 Pro';
  146. position:absolute; right:20px; top:20px;
  147. -webkit-transition: all .2s ease;
  148. -moz-transition: all .2s ease;
  149. -ms-transition: all .2s ease;
  150. -o-transition: all .2s ease;
  151. transition: all .2s ease;
  152. }
  153. }
  154. > ul {
  155. height:0;
  156. visibility: hidden;
  157. opacity:0;
  158. margin:0;
  159. padding:0;
  160. list-style:none;
  161. -webkit-transition: all .2s ease;
  162. -moz-transition: all .2s ease;
  163. -ms-transition: all .2s ease;
  164. -o-transition: all .2s ease;
  165. transition: all .2s ease;
  166. > li {
  167. display:block;
  168. //border-top:1px solid rgba(#ccc,0.4);
  169. > a {
  170. padding:15px 25px;
  171. display:block;
  172. color:#c8c8c8;
  173. text-decoration:none;
  174. background: rgba(0,0,0,0.4);
  175. }
  176. &:hover > a {
  177. color:#fff;
  178. }
  179. &.active {
  180. > a {
  181. background:#fff;
  182. color:#282828;
  183. }
  184. }
  185. }
  186. }
  187. &.open {
  188. > a:after {
  189. -webkit-transform: rotate(90deg);
  190. -moz-transform:rotate(90deg);
  191. transform:rotate(90deg);
  192. }
  193. > ul {
  194. height:auto;
  195. visibility: visible;
  196. opacity:1;
  197. }
  198. }
  199. &:active > a,
  200. &:hover > a {
  201. border-color:#96ddfe;
  202. color:#f1f3f6;
  203. }
  204. }
  205. }
  206. }
  207. #main {
  208. -webkit-flex:1;
  209. flex:1;
  210. -webkit-box-flex: 1;
  211. -webkit-flex-grow: 1;
  212. flex-grow: 1;
  213. position:relative;
  214. color:#fff;
  215. .main {
  216. padding:15px;
  217. height:100%;
  218. overflow-x:hidden;
  219. overflow-y:scroll;
  220. }
  221. }
  222. }
  223. #header {
  224. background:#3498db;
  225. >:first-child {
  226. background:#3498db;
  227. }
  228. }
  229. .frame-content {
  230. background-color:#3f4245;
  231. min-height:100%;
  232. color:#fff;
  233. padding:15px;
  234. }
  235. .page-header {
  236. -webkit-display:flex;
  237. display:flex;
  238. background-color: rgba(0,0,0,.15);
  239. border:0px;
  240. color: hsla(0,0%,100%,.7);
  241. margin:-15px -15px 15px;
  242. padding:0px 15px;
  243. height:60px;
  244. justify-content: left;
  245. align-items: center;
  246. z-index:10;
  247. @media screen and (max-width:768px) {
  248. left:0px;
  249. }
  250. .page-title {
  251. margin:0px;
  252. font-size:18px;
  253. }
  254. }