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.

408 lines
7.2 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
  1. .form-control {
  2. display: block;
  3. font-size:12px;
  4. font-weight:400;
  5. height:24px;
  6. width: 100%; ;
  7. padding: $input-btn-padding-y-sm ( $input-btn-padding-x-sm / 2);
  8. line-height: (16em / 12);
  9. color: #333;
  10. background-color: #fff;
  11. background-clip: padding-box;
  12. border: 1px solid #dddddd;
  13. border-radius: 4px;
  14. box-shadow:none;
  15. @include transition();
  16. &::-ms-expand {
  17. background-color: transparent;
  18. border: 0;
  19. }
  20. &:focus {
  21. border-color: rgb(51, 122, 183);
  22. outline: 0;
  23. }
  24. &::placeholder {
  25. color: #6c757d;
  26. opacity: 1;
  27. }
  28. &:disabled,
  29. &[readonly] {
  30. background-color: #e9ecef;
  31. opacity: 1;
  32. }
  33. &.form-control-sm {
  34. height: 34px;
  35. padding: $input-btn-padding-y-sm ($input-btn-padding-x-sm /2 );
  36. font-size: $input-btn-font-size-sm;
  37. line-height: $input-btn-line-height-sm;
  38. border-radius:$input-btn-border-radius-sm;
  39. }
  40. &.form-control-xs {
  41. height: 26px;
  42. padding: $input-btn-padding-y-xs ($input-btn-padding-x-xs /2 );
  43. font-size: $input-btn-font-size-xs;
  44. line-height: $input-btn-line-height-xs;
  45. border-radius:$input-btn-border-radius-xs;
  46. }
  47. &.form-control-lg {
  48. height: 48px;
  49. padding: $input-btn-padding-y-lg ( $input-btn-padding-x-lg / 2);
  50. font-size: $input-btn-font-size-lg;
  51. line-height: $input-btn-line-height-lg;
  52. border-radius:$input-btn-border-radius-lg;
  53. }
  54. }
  55. .tab-list {
  56. @include display-flex;
  57. align-items: center;
  58. padding:0;
  59. margin:0;
  60. list-style:none;
  61. li {
  62. display:block;
  63. & + li {
  64. margin-left:-1px;
  65. }
  66. a {
  67. display:block;
  68. padding:5px 7px;
  69. border:1px solid #ddd;
  70. border-bottom:0 none;
  71. }
  72. &.active {
  73. a {
  74. color:#fff;
  75. background-color:$color-primary;
  76. border-color:$color-primary;
  77. }
  78. }
  79. }
  80. }
  81. select.form-control {
  82. background-image:url(../images/admin/frm-select-arrow.png);
  83. background-position: 95% center;
  84. background-repeat: no-repeat;
  85. -webkit-appearance: none;
  86. -moz-appearance: none;
  87. appearance: none;
  88. padding-top:2.5px;
  89. padding-bottom:2.5px;
  90. &::-ms-expand {
  91. display:none;
  92. }
  93. &:focus::-ms-value {
  94. color: #495057;
  95. background-color: #fff;
  96. }
  97. }
  98. input[type="file"].form-control {
  99. height:36px;
  100. }
  101. .bottom-actions {
  102. @include display-flex();
  103. align-items: center;
  104. .left,
  105. .right {
  106. -webkit-flex:1;
  107. -ms-flex:1;
  108. flex:1;
  109. }
  110. .center {
  111. -webkit-flex:2;
  112. -ms-flex:2;
  113. flex:2;
  114. }
  115. .left {
  116. text-align:left;
  117. }
  118. .right {
  119. text-align:right;
  120. }
  121. }
  122. textarea.form-control[data-autosize] {
  123. height:auto;
  124. resize:none !important;
  125. }
  126. // 체크박스
  127. .w-radio,
  128. .w-check {
  129. position:relative;
  130. display:inline-block;
  131. align-items: center;
  132. vertical-align: middle;
  133. margin:0 30px 0 0;
  134. & + .w-check {
  135. margin-left:15px;
  136. }
  137. span {
  138. @include display-flex();
  139. position: relative;
  140. cursor: pointer;
  141. -webkit-user-select: none;
  142. -moz-user-select: none;
  143. -ms-user-select: none;
  144. align-items: center;
  145. height:24px;
  146. &:before {
  147. content:"";
  148. @include display-flex();
  149. font-family: "Font Awesome 5 Pro";
  150. width:18px;
  151. height:18px;
  152. border:1px solid #e9e9e9;
  153. align-items: center;
  154. justify-content: center;
  155. margin-right:5px;
  156. }
  157. }
  158. input[type=radio],
  159. input[type=checkbox] {
  160. position: absolute;
  161. width:1px;
  162. height:1px;
  163. padding:0;
  164. margin:-1px;
  165. overflow: hidden;
  166. clip:rect(0,0,0,0);
  167. border: 0;
  168. &:checked + span:before {
  169. content:"\f00c";
  170. border-color:$color-primary;
  171. color:$color-primary;
  172. }
  173. }
  174. }
  175. //버튼그룹
  176. .ax-button-group {
  177. display: table;
  178. width: 100%;
  179. min-height: 40px;
  180. .left,
  181. .right {
  182. display: table-cell;
  183. vertical-align: bottom;
  184. padding: 0 5px 10px 5px;
  185. h1, h2, h3, h4, h5, h6 {
  186. line-height: 26px;
  187. }
  188. }
  189. .left {
  190. text-align:left;
  191. }
  192. .right {
  193. text-align:right;
  194. }
  195. &.ax-button-group-bottom {
  196. .left, .right {
  197. padding: 0px;
  198. vertical-align:middle;
  199. }
  200. &.sm {
  201. min-height: 30px;
  202. .left, .right {
  203. padding: 0 5px 7px 5px;
  204. }
  205. }
  206. .pagination {
  207. margin: 0px;
  208. }
  209. }
  210. }
  211. [data-ax-tbl] {
  212. font-size: 0.9em;
  213. background: #fff;
  214. border-top: 1px solid #D8D8D8;
  215. border-right: 1px solid #D8D8D8;
  216. border-left: 1px solid #D8D8D8;
  217. position: relative;
  218. .caption {
  219. width:100%;
  220. display:block;
  221. background-color:#fbfbfb;
  222. border-bottom: 1px solid #D8D8D8;
  223. min-height: 30px;
  224. line-height:30px;
  225. font-size:14px;
  226. font-family: 나눔스퀘어, NanumSquare, sans-serif;
  227. padding-left:7px;
  228. text-align:center;
  229. }
  230. [data-ax-tr] {
  231. border-bottom: 1px solid #D8D8D8;
  232. @include display-flex();
  233. [data-ax-td] {
  234. float: left;
  235. @include display-flex();
  236. table-layout: fixed;
  237. width: 300px;
  238. vertical-align: top;
  239. min-height: 40px;
  240. &.width-auto {
  241. width:auto;
  242. }
  243. &.width-100 {
  244. width:100%;
  245. }
  246. &.right {
  247. margin-left:auto;
  248. text-align:right;
  249. }
  250. [data-ax-td-label] {
  251. @include display-flex();
  252. align-items: center;
  253. justify-content: center;
  254. width: 100px;
  255. padding: 7px;
  256. @include background-gradient(#fbfbfb, #f6f6f6);
  257. border-right: 1px solid #D8D8D8;
  258. vertical-align: middle;
  259. text-align: center;
  260. color: #363636;
  261. fieldset[readonly] &,
  262. fieldset[disabled] & {
  263. color: #c8c8c8;
  264. }
  265. a {
  266. color: #363636;
  267. }
  268. &:empty {
  269. background:#fff;
  270. border-right-color:transparent;
  271. }
  272. }
  273. + [data-ax-td] [data-ax-td-label] { border-left: 1px solid #D8D8D8 }
  274. [data-ax-td-wrap] {
  275. display:block;
  276. padding: 7px 7px;
  277. -webkit-flex:1;
  278. -ms-flex:1;
  279. flex:1;
  280. color: #68717b;
  281. line-height: 1em;
  282. a {
  283. color: #68717b;
  284. &:after {
  285. content: ' ';
  286. }
  287. }
  288. .form-control,
  289. .btn {
  290. vertical-align: middle;
  291. }
  292. .form-control {
  293. &.inline-block {
  294. display: inline-block;
  295. width: auto;
  296. }
  297. }
  298. textarea.form-control {
  299. resize:vertical;
  300. }
  301. .form-control-static {
  302. padding: 7px;
  303. min-height:0px;
  304. line-height:1.5em;
  305. margin-bottom:0;
  306. }
  307. .radio-inline,
  308. .checkbox-inline {
  309. line-height: 21px;
  310. padding: 0;
  311. display: inline-block;
  312. input[type="checkbox"],
  313. input[type="radio"] {
  314. display: inline-block;
  315. position: static;
  316. margin: 0 3px;
  317. vertical-align: middle;
  318. }
  319. }
  320. .radio-inline {
  321. margin-top:5px;
  322. + .radio-inline {
  323. margin-top:5px;
  324. }
  325. }
  326. fieldset[readonly] &,
  327. fieldset[disabled] & {
  328. color: #c8c8c8;
  329. .form-control {
  330. background-color: #eee;
  331. opacity: 1;
  332. }
  333. }
  334. }
  335. }
  336. }
  337. }
  338. .help-block {
  339. display: block;
  340. margin-top: 5px;
  341. margin-bottom: 0px;
  342. color: #737373;
  343. font-size:12px;
  344. }
  345. ul.help-block {
  346. padding:0 0 0 18px;
  347. line-height:1.4em;
  348. }