1 | p-inputnumber,
|
---|
2 | .p-inputnumber {
|
---|
3 | display: inline-flex;
|
---|
4 | }
|
---|
5 |
|
---|
6 | .p-inputnumber-button {
|
---|
7 | display: flex;
|
---|
8 | align-items: center;
|
---|
9 | justify-content: center;
|
---|
10 | flex: 0 0 auto;
|
---|
11 | }
|
---|
12 |
|
---|
13 | .p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,
|
---|
14 | .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label {
|
---|
15 | display: none;
|
---|
16 | }
|
---|
17 |
|
---|
18 | .p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up {
|
---|
19 | border-top-left-radius: 0;
|
---|
20 | border-bottom-left-radius: 0;
|
---|
21 | border-bottom-right-radius: 0;
|
---|
22 | padding: 0;
|
---|
23 | }
|
---|
24 |
|
---|
25 | .p-inputnumber-buttons-stacked .p-inputnumber-input {
|
---|
26 | border-top-right-radius: 0;
|
---|
27 | border-bottom-right-radius: 0;
|
---|
28 | }
|
---|
29 |
|
---|
30 | .p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down {
|
---|
31 | border-top-left-radius: 0;
|
---|
32 | border-top-right-radius: 0;
|
---|
33 | border-bottom-left-radius: 0;
|
---|
34 | padding: 0;
|
---|
35 | }
|
---|
36 |
|
---|
37 | .p-inputnumber-buttons-stacked .p-inputnumber-button-group {
|
---|
38 | display: flex;
|
---|
39 | flex-direction: column;
|
---|
40 | }
|
---|
41 |
|
---|
42 | .p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button {
|
---|
43 | flex: 1 1 auto;
|
---|
44 | }
|
---|
45 |
|
---|
46 | .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up {
|
---|
47 | order: 3;
|
---|
48 | border-top-left-radius: 0;
|
---|
49 | border-bottom-left-radius: 0;
|
---|
50 | }
|
---|
51 |
|
---|
52 | .p-inputnumber-buttons-horizontal .p-inputnumber-input {
|
---|
53 | order: 2;
|
---|
54 | border-radius: 0;
|
---|
55 | }
|
---|
56 |
|
---|
57 | .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down {
|
---|
58 | order: 1;
|
---|
59 | border-top-right-radius: 0;
|
---|
60 | border-bottom-right-radius: 0;
|
---|
61 | }
|
---|
62 |
|
---|
63 | .p-inputnumber-buttons-vertical {
|
---|
64 | flex-direction: column;
|
---|
65 | }
|
---|
66 |
|
---|
67 | .p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up {
|
---|
68 | order: 1;
|
---|
69 | border-bottom-left-radius: 0;
|
---|
70 | border-bottom-right-radius: 0;
|
---|
71 | width: 100%;
|
---|
72 | }
|
---|
73 |
|
---|
74 | .p-inputnumber-buttons-vertical .p-inputnumber-input {
|
---|
75 | order: 2;
|
---|
76 | border-radius: 0;
|
---|
77 | text-align: center;
|
---|
78 | }
|
---|
79 |
|
---|
80 | .p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down {
|
---|
81 | order: 3;
|
---|
82 | border-top-left-radius: 0;
|
---|
83 | border-top-right-radius: 0;
|
---|
84 | width: 100%;
|
---|
85 | }
|
---|
86 |
|
---|
87 | .p-inputnumber-input {
|
---|
88 | flex: 1 1 auto;
|
---|
89 | }
|
---|
90 |
|
---|
91 | .p-fluid p-inputnumber,
|
---|
92 | .p-fluid .p-inputnumber {
|
---|
93 | width: 100%;
|
---|
94 | }
|
---|
95 |
|
---|
96 | .p-fluid .p-inputnumber .p-inputnumber-input {
|
---|
97 | width: 1%;
|
---|
98 | }
|
---|
99 |
|
---|
100 | .p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input {
|
---|
101 | width: 100%;
|
---|
102 | }
|
---|