1 | @import "../node_modules/tinper-bee-core/scss/minxin-variables";
|
2 | @import "../node_modules/tinper-bee-core/scss/minxin-mixins";
|
3 | @import "../node_modules/bee-input-group-addon/src/InputGroupAddon.scss";
|
4 | @import "../node_modules/bee-input-group-button/src/InputGroupButton.scss";
|
5 |
|
6 | .u-input-group {
|
7 | position: relative;
|
8 | display: table;
|
9 | border-collapse: separate;
|
10 | .u-input-group-btn .u-button{
|
11 | border: 1px solid #ccc;
|
12 | height: 30px;
|
13 | line-height: 1.3;
|
14 | }
|
15 | .u-form-control {
|
16 | position: relative;
|
17 | z-index: 2;
|
18 | float: left;
|
19 | width: 100%;
|
20 | margin-bottom: 0;
|
21 | display: table-cell;
|
22 | &:first-child {
|
23 | border-bottom-right-radius: 0;
|
24 | border-top-right-radius: 0;
|
25 | }
|
26 | &:last-child {
|
27 | border-bottom-left-radius: 0;
|
28 | border-top-left-radius: 0;
|
29 | }
|
30 | &:not(:first-child):not(:last-child) {
|
31 | border-radius: 0;
|
32 | }
|
33 | }
|
34 | &.simple{
|
35 | .u-form-control {
|
36 | border-radius: 3px;
|
37 | }
|
38 | .u-input-group-btn{
|
39 | position: absolute;
|
40 | top: 2px;
|
41 | bottom: 0;
|
42 | z-index: 2;
|
43 | right: 20px;
|
44 | }
|
45 | .u-form-control:not(:last-child) {
|
46 | padding-right: 23px;
|
47 | }
|
48 | }
|
49 | } |
\ | No newline at end of file |