Rev | Line | |
---|
[59329aa] | 1 | .p-divider-horizontal {
|
---|
| 2 | display: flex;
|
---|
| 3 | width: 100%;
|
---|
| 4 | position: relative;
|
---|
| 5 | align-items: center;
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | .p-divider-horizontal:before {
|
---|
| 9 | position: absolute;
|
---|
| 10 | display: block;
|
---|
| 11 | top: 50%;
|
---|
| 12 | left: 0;
|
---|
| 13 | width: 100%;
|
---|
| 14 | content: "";
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | .p-divider-horizontal.p-divider-left {
|
---|
| 18 | justify-content: flex-start;
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | .p-divider-horizontal.p-divider-right {
|
---|
| 22 | justify-content: flex-end;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | .p-divider-horizontal.p-divider-center {
|
---|
| 26 | justify-content: center;
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | .p-divider-content {
|
---|
| 30 | z-index: 1;
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | .p-divider-vertical {
|
---|
| 34 | min-height: 100%;
|
---|
| 35 | margin: 0 1rem;
|
---|
| 36 | display: flex;
|
---|
| 37 | position: relative;
|
---|
| 38 | justify-content: center;
|
---|
| 39 | }
|
---|
| 40 |
|
---|
| 41 | .p-divider-vertical:before {
|
---|
| 42 | position: absolute;
|
---|
| 43 | display: block;
|
---|
| 44 | top: 0;
|
---|
| 45 | left: 50%;
|
---|
| 46 | height: 100%;
|
---|
| 47 | content: "";
|
---|
| 48 | }
|
---|
| 49 |
|
---|
| 50 | .p-divider-vertical.p-divider-top {
|
---|
| 51 | align-items: flex-start;
|
---|
| 52 | }
|
---|
| 53 |
|
---|
| 54 | .p-divider-vertical.p-divider-center {
|
---|
| 55 | align-items: center;
|
---|
| 56 | }
|
---|
| 57 |
|
---|
| 58 | .p-divider-vertical.p-divider-bottom {
|
---|
| 59 | align-items: flex-end;
|
---|
| 60 | }
|
---|
| 61 |
|
---|
| 62 | .p-divider-solid.p-divider-horizontal:before {
|
---|
| 63 | border-top-style: solid;
|
---|
| 64 | }
|
---|
| 65 |
|
---|
| 66 | .p-divider-solid.p-divider-vertical:before {
|
---|
| 67 | border-left-style: solid;
|
---|
| 68 | }
|
---|
| 69 |
|
---|
| 70 | .p-divider-dashed.p-divider-horizontal:before {
|
---|
| 71 | border-top-style: dashed;
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | .p-divider-dashed.p-divider-vertical:before {
|
---|
| 75 | border-left-style: dashed;
|
---|
| 76 | }
|
---|
| 77 |
|
---|
| 78 | .p-divider-dotted.p-divider-horizontal:before {
|
---|
| 79 | border-top-style: dotted;
|
---|
| 80 | }
|
---|
| 81 |
|
---|
| 82 | .p-divider-dotted.p-divider-horizontal:before {
|
---|
| 83 | border-left-style: dotted;
|
---|
| 84 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.