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.

294 lines
5.8 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
  1. html {
  2. font-size:12px;
  3. }
  4. body {
  5. height:100vh;
  6. min-width:1200px;
  7. &.iframe {
  8. min-width:0;
  9. }
  10. }
  11. $header-height : 50px;
  12. $nav-height : 40px;
  13. #header {
  14. position:relative;
  15. @include display-flex();
  16. height:$header-height;
  17. //background: #5399ea; /* Old browsers */
  18. //background: -moz-linear-gradient(left, #5399ea 0%, #5ec0cc 100%); /* FF3.6-15 */
  19. //background: -webkit-linear-gradient(left, #5399ea 0%,#5ec0cc 100%); /* Chrome10-25,Safari5.1-6 */
  20. //background: linear-gradient(to right, #5399ea 0%,#5ec0cc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  21. //filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5399ea', endColorstr='#5ec0cc',GradientType=1 ); /* IE6-9 */
  22. background:#282828;
  23. padding:0 30px;
  24. z-index:101;
  25. align-items: center;
  26. .logo {
  27. display:block;
  28. color:#fff;
  29. font-size:19px;
  30. }
  31. .top-navs {
  32. -ms-flex:1;
  33. -webkit-flex:1;
  34. flex:1;
  35. }
  36. .btn-top-action {
  37. padding:14px;
  38. cursor:pointer;
  39. background:transparent;
  40. position:relative;
  41. color:#fff;
  42. border:0 none;
  43. outline:none !important;
  44. font-size:13px;
  45. i {
  46. font-size:20px;
  47. vertical-align: middle;
  48. }
  49. }
  50. .btn-user {
  51. display:inline-block;
  52. .btn-top-action {
  53. &:after {
  54. content:"\f107";
  55. font-family:'Font Awesome 5 Pro';
  56. position:absolute;
  57. right:0px;
  58. top:50%;
  59. -webkit-transform: translateY(-50%);
  60. -moz-transform: translateY(-50%);
  61. -ms-transform: translateY(-50%);
  62. -o-transform: translateY(-50%);
  63. transform: translateY(-50%);
  64. }
  65. }
  66. }
  67. }
  68. #nav {
  69. position:relative;
  70. z-index: 100;
  71. width: 100%;
  72. height: $nav-height;
  73. background-color: #ffffff;
  74. border-bottom: 1px solid #e6e6e6;
  75. padding:0 30px;
  76. .main-navigation {
  77. @include display-flex();
  78. height:$nav-height;
  79. padding:0;
  80. margin:0;
  81. list-style:none;
  82. flex-wrap:wrap;
  83. > li {
  84. display:block;
  85. position:relative;
  86. margin-right:30px;
  87. > a {
  88. @include display-flex();
  89. height:$nav-height;
  90. justify-content: center;
  91. align-items: center;
  92. color:#979797;
  93. font-size:0;
  94. font-weight:500;
  95. padding-left:0;
  96. padding-right:45px;
  97. position:relative;
  98. font-family: NanumSquare;
  99. &:after {
  100. content:"\f107";
  101. font-family:'Font Awesome 5 Pro';
  102. position:absolute;
  103. font-size:15px;
  104. right:15px;
  105. top:50%;
  106. -webkit-transform: translateY(-50%);
  107. -moz-transform: translateY(-50%);
  108. -ms-transform: translateY(-50%);
  109. -o-transform: translateY(-50%);
  110. transform: translateY(-50%);
  111. }
  112. i, span {
  113. font-size:14px;
  114. }
  115. i + span {
  116. margin-left:6px;
  117. }
  118. }
  119. &.active {
  120. > a {
  121. color:#282828;
  122. }
  123. }
  124. > ul {
  125. height:0;
  126. visibility: hidden;
  127. opacity:0;
  128. z-index:101;
  129. position:absolute;
  130. top:100%;
  131. left:0;
  132. width:150px;
  133. background:#fff;
  134. list-style:none;
  135. padding:0;
  136. margin:0;
  137. border:1px solid #767676;
  138. li {
  139. display:block;
  140. a {
  141. display:block;
  142. padding:6px 15px;
  143. font-size:12px;
  144. color:#282828;
  145. cursor:pointer;
  146. position:relative;
  147. &:hover {
  148. background-color:#f4f8f9;
  149. }
  150. .badge {
  151. position:absolute;
  152. right:5px;
  153. top:50%;
  154. -webkit-transform: translateY(-50%);
  155. -moz-transform: translateY(-50%);
  156. -ms-transform: translateY(-50%);
  157. -o-transform: translateY(-50%);
  158. transform: translateY(-50%);
  159. font-size:10px;
  160. background-color:#ff2222;
  161. color:#fff;
  162. padding:3px 5px;
  163. line-height:10px;
  164. }
  165. }
  166. &.divider {
  167. height: 1px;
  168. margin: 4px 0;
  169. overflow: hidden;
  170. background-color: #e5e5e5;
  171. }
  172. &.active {
  173. a {
  174. background-color:#f4f8f9;
  175. color:$color-primary;
  176. }
  177. }
  178. }
  179. }
  180. &:hover {
  181. > a {
  182. color:#282828;
  183. }
  184. > ul {
  185. height:auto;
  186. visibility: visible;
  187. opacity:1;
  188. -webkit-transition: visibility .3s, opacity .3s;
  189. -moz-transition: visibility .3s, opacity .3s;
  190. -ms-transition: visibility .3s, opacity .3s;
  191. -o-transition: visibility .3s, opacity .3s;
  192. transition: visibility .3s, opacity .3s;
  193. }
  194. }
  195. }
  196. }
  197. }
  198. #contents {
  199. padding:30px;
  200. height: calc(100vh - #{$header-height} - #{$nav-height});
  201. overflow-y:auto;
  202. }
  203. .page-header {
  204. margin-bottom:15px;
  205. border-bottom: 1px solid #ddd;
  206. padding-bottom: 5px;
  207. .iframe & {
  208. margin-top:0;
  209. }
  210. .page-title {
  211. font-size:23px;
  212. font-weight:500;
  213. color:#282828;
  214. small {
  215. color:#767676;
  216. font-size:12px;
  217. margin-left:15px;
  218. }
  219. }
  220. }
  221. .box {
  222. position:relative;
  223. padding:30px;
  224. background:#fff;
  225. border-radius:4px;
  226. border:1px solid #e6e6e6;
  227. .box-header {
  228. border-bottom:1px solid #e6e6e6;
  229. margin-bottom:15px;
  230. margin-top:-30px;
  231. position:relative;
  232. height:57px;
  233. @include clear-fix-after();
  234. .box-title {
  235. float:left;
  236. color:$brand-primary;
  237. font-size:15px;
  238. font-weight:500;
  239. padding:18px 0;
  240. small {
  241. color:#767676;
  242. font-weight:400;
  243. font-size:13px;
  244. }
  245. }
  246. .box-action {
  247. float:right;
  248. @include display-flex();
  249. height:57px;
  250. align-items: center;
  251. }
  252. }
  253. }
  254. .frame-content {
  255. padding:15px;
  256. }