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.

462 lines
8.4 KiB

7 years ago
7 years ago
5 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
5 years ago
7 years ago
7 years ago
5 years ago
7 years ago
5 years ago
5 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 : 0px;
  12. $nav-height : 44px;
  13. /*
  14. #header {
  15. position:relative;
  16. @include display-flex();
  17. height:$header-height;
  18. background:#282828;
  19. padding:0 30px;
  20. z-index:101;
  21. align-items: center;
  22. .logo {
  23. display:block;
  24. color:#fff;
  25. font-size:19px;
  26. }
  27. .top-navs {
  28. -ms-flex:1;
  29. -webkit-flex:1;
  30. flex:1;
  31. }
  32. .btn-top-action {
  33. padding:14px;
  34. cursor:pointer;
  35. background:transparent;
  36. position:relative;
  37. color:#fff;
  38. border:0 none;
  39. outline:none !important;
  40. font-size:13px;
  41. i {
  42. font-size:20px;
  43. vertical-align: middle;
  44. }
  45. }
  46. .btn-user {
  47. display:inline-block;
  48. .btn-top-action {
  49. &:after {
  50. content:"\f107";
  51. font-family:'Font Awesome 5 Pro';
  52. position:absolute;
  53. right:0px;
  54. top:50%;
  55. -webkit-transform: translateY(-50%);
  56. -moz-transform: translateY(-50%);
  57. -ms-transform: translateY(-50%);
  58. -o-transform: translateY(-50%);
  59. transform: translateY(-50%);
  60. }
  61. }
  62. }
  63. }
  64. #nav {
  65. position:relative;
  66. z-index: 100;
  67. width: 100%;
  68. height: $nav-height;
  69. background-color: #ffffff;
  70. border-bottom: 1px solid #e6e6e6;
  71. padding:0 30px;
  72. .main-navigation {
  73. @include display-flex();
  74. height:$nav-height;
  75. padding:0;
  76. margin:0;
  77. list-style:none;
  78. flex-wrap:wrap;
  79. > li {
  80. display:block;
  81. position:relative;
  82. margin-right:30px;
  83. > a {
  84. @include display-flex();
  85. height:$nav-height;
  86. justify-content: center;
  87. align-items: center;
  88. color:#979797;
  89. font-size:0;
  90. font-weight:500;
  91. padding-left:0;
  92. padding-right:45px;
  93. position:relative;
  94. font-family: NanumSquare;
  95. &:after {
  96. content:"\f107";
  97. font-family:'Font Awesome 5 Pro';
  98. position:absolute;
  99. font-size:15px;
  100. right:15px;
  101. top:50%;
  102. -webkit-transform: translateY(-50%);
  103. -moz-transform: translateY(-50%);
  104. -ms-transform: translateY(-50%);
  105. -o-transform: translateY(-50%);
  106. transform: translateY(-50%);
  107. }
  108. i, span {
  109. font-size:14px;
  110. }
  111. i + span {
  112. margin-left:6px;
  113. }
  114. }
  115. &.active {
  116. > a {
  117. color:#282828;
  118. }
  119. }
  120. > ul {
  121. height:0;
  122. visibility: hidden;
  123. opacity:0;
  124. z-index:101;
  125. position:absolute;
  126. top:100%;
  127. left:0;
  128. width:150px;
  129. background:#fff;
  130. list-style:none;
  131. padding:0;
  132. margin:0;
  133. border:1px solid #767676;
  134. li {
  135. display:block;
  136. a {
  137. display:block;
  138. padding:6px 15px;
  139. font-size:12px;
  140. color:#282828;
  141. cursor:pointer;
  142. position:relative;
  143. &:hover {
  144. background-color:#f4f8f9;
  145. }
  146. .badge {
  147. position:absolute;
  148. right:5px;
  149. top:50%;
  150. -webkit-transform: translateY(-50%);
  151. -moz-transform: translateY(-50%);
  152. -ms-transform: translateY(-50%);
  153. -o-transform: translateY(-50%);
  154. transform: translateY(-50%);
  155. font-size:10px;
  156. background-color:#ff2222;
  157. color:#fff;
  158. padding:3px 5px;
  159. line-height:10px;
  160. }
  161. }
  162. &.divider {
  163. height: 1px;
  164. margin: 4px 0;
  165. overflow: hidden;
  166. background-color: #e5e5e5;
  167. }
  168. &.active {
  169. a {
  170. background-color:#f4f8f9;
  171. color:$color-primary;
  172. }
  173. }
  174. }
  175. }
  176. &:hover {
  177. > a {
  178. color:#282828;
  179. }
  180. > ul {
  181. height:auto;
  182. visibility: visible;
  183. opacity:1;
  184. -webkit-transition: visibility .3s, opacity .3s;
  185. -moz-transition: visibility .3s, opacity .3s;
  186. -ms-transition: visibility .3s, opacity .3s;
  187. -o-transition: visibility .3s, opacity .3s;
  188. transition: visibility .3s, opacity .3s;
  189. }
  190. }
  191. }
  192. }
  193. }
  194. */
  195. #nav {
  196. .nav-menu {
  197. flex:1;
  198. @include display-flex;
  199. align-items: center;
  200. .logo {
  201. width:50px;
  202. height:44px;
  203. border-color:transparent !important;
  204. background-color:#354d91 !important;
  205. color:#fff;
  206. padding:13px;
  207. text-align:center;
  208. &:after {
  209. content:'';
  210. }
  211. i {
  212. margin-right:0;
  213. }
  214. }
  215. &,
  216. ul {
  217. list-style:none;
  218. padding:0;
  219. margin:0;
  220. background-color:#282828;
  221. a,
  222. span {
  223. font-size:12px;
  224. padding:13px;
  225. user-select: none;
  226. color:#b4b4b4;
  227. display:block;
  228. }
  229. li {
  230. display:block;
  231. white-space: nowrap;
  232. &.open,
  233. &:hover {
  234. > a,
  235. > span {
  236. text-decoration: none;
  237. cursor:pointer;
  238. }
  239. }
  240. &.divider {
  241. height:1px;
  242. border:0 none;
  243. background-color:#ddd;
  244. margin:3px 0;
  245. }
  246. }
  247. }
  248. > li {
  249. display:block;
  250. position:relative;
  251. > a,
  252. > span{
  253. white-space: nowrap;
  254. word-wrap:normal;
  255. padding-right:30px;
  256. position:relative;
  257. i {
  258. margin-right:5px;
  259. }
  260. &:hover {
  261. color:#fff;
  262. }
  263. &:after {
  264. content:'\f107';
  265. font-family: "Font Awesome 5 Pro" !important;
  266. position:absolute;
  267. right:10px;
  268. top:50%;
  269. transform: translateY(-50%);
  270. }
  271. }
  272. &.active {
  273. > span {
  274. color:#fff;
  275. }
  276. }
  277. > ul {
  278. display:none;
  279. position:absolute;
  280. top:44px;
  281. left:-1px;
  282. width:auto;
  283. border:1px solid #a0a0a0;
  284. border-top:0 none;
  285. min-width:calc(100% + 2px);
  286. padding:2px;
  287. box-shadow: 0 6px 12px rgba(0,0,0,.175);
  288. a,
  289. span {
  290. padding:6px 10px;
  291. color:#282828;
  292. &:hover {
  293. background-color:#354D91;
  294. color:#fff;
  295. }
  296. }
  297. > li {
  298. position:relative;
  299. > ul {
  300. display:none;
  301. position:absolute;
  302. top:0;
  303. left:calc(100% + 1px);
  304. border:1px solid #a0a0a0;
  305. min-width:100%;
  306. background-color:#fff;
  307. box-shadow: 0 6px 12px rgba(0,0,0,.175);
  308. }
  309. >span {
  310. padding-right:15px;
  311. &:after {
  312. content:'\f105';
  313. font-family: "Font Awesome 5 Pro" !important;
  314. position:absolute;
  315. right:5px;
  316. top:50%;
  317. transform: translateY(-50%);
  318. }
  319. }
  320. &:hover {
  321. > a, span {
  322. background-color:#354D91;
  323. color:#fff;
  324. }
  325. > ul {
  326. display:block;
  327. }
  328. }
  329. }
  330. }
  331. &.open {
  332. > a, span {
  333. color:#282828;
  334. background-color:#fff;;
  335. z-index:3;
  336. }
  337. > ul {
  338. display:block;
  339. background-color:#fff;
  340. }
  341. }
  342. }
  343. }
  344. }
  345. #contents {
  346. padding:30px;
  347. height: calc(100vh - #{$header-height} - #{$nav-height});
  348. overflow-y:auto;
  349. }
  350. .page-header {
  351. margin-bottom:10px;
  352. border-bottom: 1px solid #ddd;
  353. .iframe & {
  354. margin-top:0;
  355. }
  356. .page-title {
  357. font-size:18px;
  358. font-weight:500;
  359. color:#282828;
  360. line-height:1em;
  361. small {
  362. color:#767676;
  363. font-size:12px;
  364. margin-left:15px;
  365. }
  366. }
  367. }
  368. .box {
  369. position:relative;
  370. padding:30px;
  371. background:#fff;
  372. border-radius:4px;
  373. border:1px solid #e6e6e6;
  374. .box-header {
  375. border-bottom:1px solid #e6e6e6;
  376. margin-bottom:15px;
  377. margin-top:-30px;
  378. position:relative;
  379. height:57px;
  380. @include clear-fix-after();
  381. .box-title {
  382. float:left;
  383. color:$brand-primary;
  384. font-size:15px;
  385. font-weight:500;
  386. padding:18px 0;
  387. small {
  388. color:#767676;
  389. font-weight:400;
  390. font-size:13px;
  391. }
  392. }
  393. .box-action {
  394. float:right;
  395. @include display-flex();
  396. height:57px;
  397. align-items: center;
  398. }
  399. }
  400. }
  401. .frame-content {
  402. padding:15px;
  403. }