| 1 |
/** |
| 2 |
* The following styles get applied both on the front of your site |
| 3 |
* and in the editor. |
| 4 |
* |
| 5 |
* Replace them with your own styles or remove the file completely. |
| 6 |
*/ |
| 7 |
|
| 8 |
table.wp-block-tableberg-table { |
| 9 |
border-top: var(--tableberg-table-border-top, 1px solid black); |
| 10 |
border-right: var(--tableberg-table-border-right, 1px solid black); |
| 11 |
border-bottom: var(--tableberg-table-border-bottom, 1px solid black); |
| 12 |
border-left: var(--tableberg-table-border-left, 1px solid black); |
| 13 |
border-collapse: collapse; |
| 14 |
width: 100%; |
| 15 |
&.has-table-width { |
| 16 |
max-width: var(--tableber-table-width) !important; |
| 17 |
} |
| 18 |
&[id*="block-"]*="block-""] { |
| 19 |
&.justify-table-left { |
| 20 |
margin-left: 0 !important; |
| 21 |
margin-right: auto !important; |
| 22 |
} |
| 23 |
&.justify-table-center { |
| 24 |
margin-left: auto !important; |
| 25 |
margin-right: auto !important; |
| 26 |
} |
| 27 |
&.justify-table-right { |
| 28 |
margin-left: auto !important; |
| 29 |
margin-right: 0 !important; |
| 30 |
} |
| 31 |
} |
| 32 |
&.justify-table-left { |
| 33 |
margin-left: 0 !important; |
| 34 |
margin-right: auto !important; |
| 35 |
} |
| 36 |
&.justify-table-center { |
| 37 |
margin-left: auto !important; |
| 38 |
margin-right: auto !important; |
| 39 |
} |
| 40 |
&.justify-table-right { |
| 41 |
margin-left: auto !important; |
| 42 |
margin-right: 0 !important; |
| 43 |
} |
| 44 |
.tableberg-row { |
| 45 |
&:not(.tableberg-header):not(.tableberg-footer) { |
| 46 |
&:nth-child(even) { |
| 47 |
background: var(--tableberg-even-row-bg-color); |
| 48 |
} |
| 49 |
&:nth-child(odd) { |
| 50 |
background: var(--tableberg-odd-row-bg-color); |
| 51 |
} |
| 52 |
} |
| 53 |
|
| 54 |
&.tableberg-footer { |
| 55 |
background: var(--tableberg-footer-bg-color); |
| 56 |
} |
| 57 |
|
| 58 |
&.tableberg-header { |
| 59 |
background: var(--tableberg-header-bg-color); |
| 60 |
} |
| 61 |
} |
| 62 |
&.has-inner-border { |
| 63 |
td.wp-block-tableberg-cell { |
| 64 |
border-top: var(--tableberg-inner-border-top, 1px solid #000000); |
| 65 |
border-right: var( |
| 66 |
--tableberg-inner-border-right, |
| 67 |
1px solid #000000 |
| 68 |
); |
| 69 |
border-bottom: var( |
| 70 |
--tableberg-inner-border-bottom, |
| 71 |
1px solid #000000 |
| 72 |
); |
| 73 |
border-left: var(--tableberg-inner-border-left, 1px solid #000000); |
| 74 |
} |
| 75 |
} |
| 76 |
} |
| 77 |
|