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.

340 lines
6.1 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
  1. .form-control {
  2. display: block;
  3. width: 100%;
  4. height: 38px;
  5. padding: $input-btn-padding-y ( $input-btn-padding-x / 2);
  6. font-size: $input-btn-font-size;
  7. font-weight: $font-weight-base;
  8. line-height: $input-btn-line-height;
  9. color: #495057;
  10. background-color: #fff;
  11. background-clip: padding-box;
  12. border: 1px solid #dcdcdc;
  13. border-radius: $input-btn-border-radius;
  14. box-shadow:none;
  15. @include transition();
  16. &::-ms-expand {
  17. background-color: transparent;
  18. border: 0;
  19. }
  20. &:focus {
  21. border-color: #80bdff;
  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. select.form-control {
  56. background-image:url(../images/admin/frm-select-arrow.png);
  57. background-position: 95% center;
  58. background-repeat: no-repeat;
  59. -webkit-appearance: none;
  60. -moz-appearance: none;
  61. appearance: none;
  62. &::-ms-expand {
  63. display:none;
  64. }
  65. &:focus::-ms-value {
  66. color: #495057;
  67. background-color: #fff;
  68. }
  69. }
  70. .bottom-actions {
  71. @include display-flex();
  72. align-items: center;
  73. .left,
  74. .right {
  75. -webkit-flex:1;
  76. -ms-flex:1;
  77. flex:1;
  78. }
  79. .center {
  80. -webkit-flex:2;
  81. -ms-flex:2;
  82. flex:2;
  83. }
  84. .left {
  85. text-align:left;
  86. }
  87. .right {
  88. text-align:right;
  89. }
  90. }
  91. // 체크박스
  92. .w-check {
  93. position:relative;
  94. display:inline-block;
  95. align-items: center;
  96. vertical-align: middle;
  97. & + .w-check {
  98. margin-left:15px;
  99. }
  100. span {
  101. @include display-flex();
  102. position: relative;
  103. cursor: pointer;
  104. -webkit-user-select: none;
  105. -moz-user-select: none;
  106. -ms-user-select: none;
  107. align-items: center;
  108. height:34px;
  109. &:before {
  110. content:"";
  111. @include display-flex();
  112. font-family: "Font Awesome 5 Pro";
  113. width:18px;
  114. height:18px;
  115. border:1px solid #e9e9e9;
  116. align-items: center;
  117. justify-content: center;
  118. margin-right:5px;
  119. }
  120. }
  121. input[type=checkbox] {
  122. position: absolute;
  123. width:1px;
  124. height:1px;
  125. padding:0;
  126. margin:-1px;
  127. overflow: hidden;
  128. clip:rect(0,0,0,0);
  129. border: 0;
  130. &:checked + span:before {
  131. content:"\f00c";
  132. border-color:$color-primary;
  133. color:$color-primary;
  134. }
  135. }
  136. }
  137. //버튼그룹
  138. .ax-button-group {
  139. display: table;
  140. width: 100%;
  141. min-height: 40px;
  142. .left,
  143. .right {
  144. display: table-cell;
  145. vertical-align: bottom;
  146. padding: 0 5px 10px 5px;
  147. h1, h2, h3, h4, h5, h6 {
  148. line-height: 26px;
  149. }
  150. }
  151. .left {
  152. text-align:left;
  153. }
  154. .right {
  155. text-align:right;
  156. }
  157. &.ax-button-group-bottom {
  158. .left, .right {
  159. padding: 0px;
  160. vertical-align:middle;
  161. }
  162. &.sm {
  163. min-height: 30px;
  164. .left, .right {
  165. padding: 0 5px 7px 5px;
  166. }
  167. }
  168. .pagination {
  169. margin: 0px;
  170. }
  171. }
  172. }
  173. [data-ax-tbl] {
  174. font-size: 0.9em;
  175. background: #fff;
  176. border-top: 1px solid #D8D8D8;
  177. border-right: 1px solid #D8D8D8;
  178. border-left: 1px solid #D8D8D8;
  179. position: relative;
  180. [data-ax-tr] {
  181. border-bottom: 1px solid #D8D8D8;
  182. @include display-flex();
  183. [data-ax-td] {
  184. float: left;
  185. @include display-flex();
  186. table-layout: fixed;
  187. width: 300px;
  188. vertical-align: top;
  189. min-height: 40px;
  190. &.width-auto {
  191. width:auto;
  192. }
  193. &.width-100 {
  194. width:100%;
  195. }
  196. &.right {
  197. margin-left:auto;
  198. text-align:right;
  199. }
  200. [data-ax-td-label] {
  201. @include display-flex();
  202. align-items: center;
  203. justify-content: center;
  204. width: 100px;
  205. padding: 7px;
  206. @include background-gradient(#fbfbfb, #f6f6f6);
  207. border-right: 1px solid #D8D8D8;
  208. vertical-align: middle;
  209. text-align: center;
  210. color: #363636;
  211. fieldset[readonly] &,
  212. fieldset[disabled] & {
  213. color: #c8c8c8;
  214. }
  215. a {
  216. color: #363636;
  217. }
  218. &:empty {
  219. background:#fff;
  220. border-right-color:transparent;
  221. }
  222. }
  223. + [data-ax-td] [data-ax-td-label] { border-left: 1px solid #D8D8D8 }
  224. [data-ax-td-wrap] {
  225. display:block;
  226. padding: 7px 7px;
  227. -webkit-flex:1;
  228. -ms-flex:1;
  229. flex:1;
  230. color: #68717b;
  231. line-height: 1em;
  232. a {
  233. color: #68717b;
  234. &:after {
  235. content: ' ';
  236. }
  237. }
  238. .form-control,
  239. .btn {
  240. vertical-align: middle;
  241. }
  242. .form-control {
  243. font-size:1em;
  244. &.inline-block {
  245. display: inline-block;
  246. width: auto;
  247. }
  248. }
  249. textarea.form-control {
  250. resize:vertical;
  251. }
  252. .form-control-static {
  253. padding: 7px;
  254. min-height:0px;
  255. }
  256. .radio-inline,
  257. .checkbox-inline {
  258. line-height: 21px;
  259. padding: 0;
  260. display: inline-block;
  261. input[type="checkbox"],
  262. input[type="radio"] {
  263. display: inline-block;
  264. position: static;
  265. margin: 0 3px;
  266. vertical-align: middle;
  267. }
  268. }
  269. .radio-inline {
  270. margin-top:5px;
  271. + .radio-inline {
  272. margin-top:5px;
  273. }
  274. }
  275. fieldset[readonly] &,
  276. fieldset[disabled] & {
  277. color: #c8c8c8;
  278. .form-control {
  279. background-color: #eee;
  280. opacity: 1;
  281. }
  282. }
  283. }
  284. }
  285. }
  286. }