admin.scss 6.1 KB

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