Line | |
---|
1 | .p-button {
|
---|
2 | margin: 0;
|
---|
3 | display: inline-flex;
|
---|
4 | cursor: pointer;
|
---|
5 | user-select: none;
|
---|
6 | align-items: center;
|
---|
7 | vertical-align: bottom;
|
---|
8 | text-align: center;
|
---|
9 | overflow: hidden;
|
---|
10 | position: relative;
|
---|
11 | }
|
---|
12 |
|
---|
13 | .p-button-label {
|
---|
14 | flex: 1 1 auto;
|
---|
15 | }
|
---|
16 |
|
---|
17 | .p-button-icon-right {
|
---|
18 | order: 1;
|
---|
19 | }
|
---|
20 |
|
---|
21 | .p-button:disabled {
|
---|
22 | cursor: default;
|
---|
23 | }
|
---|
24 |
|
---|
25 | .p-button-icon-only {
|
---|
26 | justify-content: center;
|
---|
27 | }
|
---|
28 |
|
---|
29 | .p-button-icon-only .p-button-label {
|
---|
30 | visibility: hidden;
|
---|
31 | width: 0;
|
---|
32 | flex: 0 0 auto;
|
---|
33 | }
|
---|
34 |
|
---|
35 | .p-button-vertical {
|
---|
36 | flex-direction: column;
|
---|
37 | }
|
---|
38 |
|
---|
39 | .p-button-icon-bottom {
|
---|
40 | order: 2;
|
---|
41 | }
|
---|
42 |
|
---|
43 | .p-buttonset .p-button {
|
---|
44 | margin: 0;
|
---|
45 | }
|
---|
46 |
|
---|
47 | .p-buttonset .p-button:not(:last-child) {
|
---|
48 | border-right: 0 none;
|
---|
49 | }
|
---|
50 |
|
---|
51 | .p-buttonset .p-button:not(:first-of-type):not(:last-of-type) {
|
---|
52 | border-radius: 0;
|
---|
53 | }
|
---|
54 |
|
---|
55 | .p-buttonset .p-button:first-of-type {
|
---|
56 | border-top-right-radius: 0;
|
---|
57 | border-bottom-right-radius: 0;
|
---|
58 | }
|
---|
59 |
|
---|
60 | .p-buttonset .p-button:last-of-type {
|
---|
61 | border-top-left-radius: 0;
|
---|
62 | border-bottom-left-radius: 0;
|
---|
63 | }
|
---|
64 |
|
---|
65 | .p-buttonset .p-button:focus {
|
---|
66 | position: relative;
|
---|
67 | z-index: 1;
|
---|
68 | }
|
---|
69 |
|
---|
70 | .p-button-label {
|
---|
71 | transition: all .2s;
|
---|
72 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.