admin.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. @charset "utf-8";
  2. // Fonts
  3. @import url('https://fonts.bunny.net/css?family=Nunito');
  4. @import "common/font";
  5. // Variables
  6. // Body
  7. $font-family-base: "Nanum-Square-Neo-Regular";
  8. // Typography
  9. $font-family-sans-serif: "Nanum-Square-Neo-Regular";
  10. $font-size-base: 0.9rem;
  11. $line-height-base: 1.6;
  12. $link-color: #2293e3;
  13. $link-hover-color: #00558c;
  14. $link-decoration: none;
  15. // input
  16. $input-border-color: #ced4da;
  17. // Bootstrap
  18. @import 'bootstrap/scss/bootstrap';
  19. // Common
  20. @import 'common/reset';
  21. // CSS 파일도 함께
  22. @import '../css/app.css';
  23. html {
  24. position: relative;
  25. }
  26. body {
  27. display: flex;
  28. flex-direction: row;
  29. flex-wrap: nowrap;
  30. background-color: #fff;
  31. }
  32. /* 관리자 기본구조 */
  33. #aside {
  34. display: flex;
  35. flex-direction: column;
  36. flex-wrap: nowrap;
  37. flex-grow: 1;
  38. width: 20%;
  39. min-width: 200px;
  40. max-width: 230px;
  41. height: 100vh;
  42. overflow-y: auto;
  43. overflow-x: hidden;
  44. border-right: 1px solid #c3c4c6;
  45. background: #f8f9fa;
  46. transition: all 0.3s;
  47. a.logo {
  48. display: block;
  49. font-family: 'Open-Sans-Extrabold';
  50. font-size: 1.5rem;
  51. font-weight: bold;
  52. padding: 20px;
  53. color: #383838;
  54. &:hover,
  55. &:focus,
  56. &:active {
  57. color: #000;
  58. text-decoration: underline;
  59. }
  60. }
  61. ul {
  62. li {
  63. a {
  64. background: #F8F9FA;
  65. color: #0A0A0A;
  66. &[data-bs-toggle="collapse"] {
  67. position: relative;
  68. }
  69. &[data-bs-toggle="collapse"]:before {
  70. content: "\f0d7";
  71. font-family: "Font Awesome 6 Free";
  72. font-weight: 900;
  73. position: absolute;
  74. right: 1rem;
  75. }
  76. &[aria-expanded="true"]:before {
  77. content: "\f0d8"
  78. }
  79. &[aria-expanded="true"] {
  80. background: #E0E0E0;
  81. }
  82. &:hover,
  83. &:active,
  84. &:focus {
  85. color: #0A0A0A;
  86. background: #e0e0e0;
  87. }
  88. }
  89. &.active {
  90. > a {
  91. color: #0A0A0A;
  92. background: #e0e0e0;
  93. }
  94. div.collapse {
  95. display: block;
  96. }
  97. }
  98. }
  99. }
  100. #footer {
  101. margin-top: auto;
  102. padding: 20px;
  103. text-align: right;
  104. p {
  105. margin-bottom: 0;
  106. }
  107. cite {
  108. display: block;
  109. font-size: 12px;
  110. }
  111. }
  112. }
  113. #main {
  114. flex-grow: 1;
  115. height: 100vh;
  116. padding: 20px 10px;
  117. overflow-y: auto;
  118. }
  119. .table {
  120. // .table-responsive & {
  121. // min-width: 860px;
  122. // }
  123. caption {
  124. caption-side: top;
  125. color: #333;
  126. }
  127. th, td {
  128. text-align: center;
  129. vertical-align: middle;
  130. word-break: break-all;
  131. }
  132. th {
  133. background-color: #F3F3F3;
  134. white-space: nowrap;
  135. }
  136. td {
  137. white-space: inherit;
  138. }
  139. }
  140. div.modal {
  141. table {
  142. min-width: auto;
  143. }
  144. }
  145. /* 특수문자 입력창 */
  146. .popup-special-char {
  147. display: none;
  148. z-index: 10;
  149. position: absolute;
  150. left: 0;
  151. border: 1px solid #E9E9E9;
  152. background: #F7F7F7;
  153. top: 34px;
  154. }
  155. .popup-special-char-list {
  156. z-index: 11;
  157. margin: 0;
  158. padding: 0;
  159. width: 190px;
  160. height: 150px;
  161. background: #FFF;
  162. overflow-y: scroll;
  163. button {
  164. margin: 4px;
  165. padding: 0;
  166. border: 0;
  167. background: transparent;
  168. }
  169. }
  170. .pagination {
  171. justify-content: center;
  172. }
  173. /* 오류 메시지 */
  174. #infoList {
  175. display: block;
  176. color: #276F86;
  177. background-color: #F8FFFF;
  178. border-color: #A9D5DE;
  179. margin-bottom: 14px;
  180. ul {
  181. padding: 10px 15px 0 15px;
  182. margin: 0;
  183. }
  184. }
  185. #errorList {
  186. display: block;
  187. color: #9F3A38;
  188. background-color: #FFF6F6;
  189. border-color: #E0B4B4;
  190. margin-bottom: 14px;
  191. ul {
  192. padding: 10px 15px 0 15px;
  193. margin: 0;
  194. }
  195. }
  196. #warningList {
  197. display: block;
  198. color: #B58105;
  199. background-color: #FFF8DB;
  200. border-color: #E0B4B4;
  201. margin-bottom: 14px;
  202. ul {
  203. padding: 10px 15px 0 15px;
  204. margin: 0;
  205. }
  206. }
  207. /* 처리중 */
  208. #loading {
  209. display: none;
  210. background: #000;
  211. opacity: 60%;
  212. position: fixed;
  213. top: 0;
  214. width: 100%;
  215. height: 100%;
  216. text-align: center;
  217. figure {
  218. position: fixed;
  219. top: 50%;
  220. left: 50%;
  221. transform: translate(-50%, -50%);
  222. img {
  223. width: 50%;
  224. }
  225. figcaption {
  226. position: relative;
  227. top: -50px;
  228. font-size: 17px;
  229. color: #bbb;
  230. }
  231. }
  232. }
  233. /* 모든 단말기 */
  234. @media all and (-ms-high-contrast: none) {
  235. html {
  236. display: -ms-flexbox;
  237. display: flex;
  238. -ms-flex-direction: column;
  239. flex-direction: column;
  240. }
  241. }
  242. /* 모바일 */
  243. @media (max-width: 767px)
  244. {
  245. #aside {
  246. display: none;
  247. }
  248. #main {
  249. width: 100%;
  250. padding: 10px 0;
  251. }
  252. }
  253. /* 태블릿 */
  254. @media (min-width: 768px) and (max-width: 1023px)
  255. {
  256. #aside {
  257. display: none;
  258. }
  259. #main {
  260. width: 100%;
  261. padding: 10px 0;
  262. }
  263. }
  264. /* PC */
  265. @media (min-width: 1024px)
  266. {
  267. #aside {
  268. display: flex;
  269. }
  270. }
  271. .modal-body {
  272. table {
  273. min-width: auto !important;
  274. }
  275. }
  276. table.table-hover-rows {
  277. > tbody:hover {
  278. > tr {
  279. --bs-table-accent-bg: none;
  280. background-color: var(--bs-table-hover-bg);
  281. color: var(--bs-table-hover-color);
  282. }
  283. }
  284. }
  285. #orderView {
  286. .order-detail {
  287. table {
  288. tr {
  289. th{
  290. font-weight: 500;
  291. }
  292. td {
  293. text-align: left;
  294. padding-left: 14px;
  295. }
  296. }
  297. }
  298. }
  299. }