admin.scss 5.7 KB

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