|
15 | 15 | border-top-right-radius: $border-radius-default;
|
16 | 16 | }
|
17 | 17 | }
|
| 18 | + pa-table-row:first-of-type { |
| 19 | + pa-table-cell:first-of-type .pa-table-grid--cell { |
| 20 | + border-top-left-radius: $border-radius-default; |
| 21 | + } |
| 22 | + pa-table-cell:last-of-type .pa-table-grid--cell { |
| 23 | + border-top-right-radius: $border-radius-default; |
| 24 | + } |
| 25 | + } |
18 | 26 | }
|
19 | 27 | }
|
20 | 28 |
|
|
80 | 88 | }
|
81 | 89 | }
|
82 | 90 |
|
| 91 | +pa-table-row:not(:last-of-type) .pa-table-grid--row { |
| 92 | + .pa-table-grid--cell { |
| 93 | + box-shadow: inset 0px -1px 0px $color-border-table-row; |
| 94 | + } |
| 95 | +} |
| 96 | +pa-table-row:last-of-type .pa-table-grid--row { |
| 97 | + pa-table-cell:first-of-type .pa-table-grid--cell, |
| 98 | + pa-table-cell-menu:first-of-type .pa-table-grid--menu-cell { |
| 99 | + border-bottom-left-radius: $border-radius-default; |
| 100 | + } |
| 101 | + |
| 102 | + pa-table-cell:last-of-type .pa-table-grid--cell, |
| 103 | + pa-table-cell-menu:last-of-type .pa-table-grid--menu-cell { |
| 104 | + border-bottom-right-radius: $border-radius-default; |
| 105 | + } |
| 106 | +} |
| 107 | + |
83 | 108 | .pa-table-grid--row {
|
84 | 109 | display: contents;
|
85 | 110 | font-size: font-size(s);
|
|
100 | 125 | z-index: 3;
|
101 | 126 | }
|
102 | 127 |
|
103 |
| - &:not(.pa-table-grid--row--last) { |
104 |
| - .pa-table-grid--cell { |
105 |
| - box-shadow: inset 0px -1px 0px $color-border-table-row; |
106 |
| - } |
107 |
| - } |
108 |
| - &.pa-table-grid--row--last { |
109 |
| - pa-table-cell:first-of-type .pa-table-grid--cell, |
110 |
| - pa-table-cell-menu:first-of-type .pa-table-grid--menu-cell { |
111 |
| - border-bottom-left-radius: $border-radius-default; |
112 |
| - } |
113 |
| - |
114 |
| - pa-table-cell:last-of-type .pa-table-grid--cell, |
115 |
| - pa-table-cell-menu:last-of-type .pa-table-grid--menu-cell { |
116 |
| - border-bottom-right-radius: $border-radius-default; |
117 |
| - } |
118 |
| - } |
119 |
| - |
120 | 128 | &.pa-disabled .pa-table-grid--cell {
|
121 | 129 | cursor: default;
|
122 | 130 | opacity: 0.5;
|
|
0 commit comments