Skip to content

Commit f97ba30

Browse files
arielkromanbondarKingYes
authored
Internal: New screenshot (#212)
* few comments * Tested up to 5.6 * remove duplicate * add utilities scss * Post Password Form Submit button alignment When a post is password-protected, the Post Password Form Submit button isn't aligned properly. * Update Changelog * Move Hello Theme Header & Footer experiment to stable status * Changelog * Build * Add ref to changelog * Aligned page title to the header and footer * Internal: Add accessibility-ready tag * Tweak: Remove unused image file * Internal: update text & links * Internal: fix URL * Tweak: Mark the header footer tab in the customizer * Fix: Remove override the default width * Changelog * Tweak: Add theme_support for `script` and `style` to avoid validation warnings (#184) * A different way to align title * changelog * Tweak: Add output escaping, fixed: #194 * Tweak: Added Skip to Content link to dynamic or template header * Changelog * Update header.php * Changelog * changelog * changelog * Update release date * Update date release * Internal: New screenshot * Fix: Tables with various colors looks weird (#126) * Changelog Co-authored-by: Roman <[email protected]> Co-authored-by: Yakir Sitbon <[email protected]>
1 parent 83659d4 commit f97ba30

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

assets/scss/reset/_table.scss

+11-6
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
* To override any of the settings in this section, add your styling code in the custom directory.
55
*/
66

7+
$table-border-color: #80808080;
8+
$table-bg: transparent;
9+
$table-bg-odd: #8080801a;
10+
$table-bg-hover: #80808012;
11+
712
table {
8-
background-color: transparent;
13+
background-color: $table-bg;
914
width: 100%;
1015
margin-bottom: 15px;
1116
font-size: 0.9em;
@@ -17,7 +22,7 @@ table {
1722
padding: 15px;
1823
line-height: 1.5;
1924
vertical-align: top;
20-
border: 1px solid $gray-light;
25+
border: 1px solid $table-border-color;
2126
}
2227

2328
th {
@@ -42,7 +47,7 @@ table {
4247

4348
th,
4449
td {
45-
border-top: 1px solid $gray-light;
50+
border-top: 1px solid $table-border-color;
4651
}
4752
}
4853
}
@@ -52,17 +57,17 @@ table {
5257

5358
> tr:nth-child(odd) > td,
5459
> tr:nth-child(odd) > th {
55-
background-color: $gray-lightest;
60+
background-color: $table-bg-odd;
5661
}
5762

5863
tr:hover > td,
5964
tr:hover > th {
60-
background-color: darken($gray-lighter, 2%);
65+
background-color: $table-bg-hover;
6166
}
6267
}
6368

6469
tbody + tbody {
65-
border-top: 2px solid $gray-light;
70+
border-top: 2px solid $table-border-color;
6671
}
6772

6873
@media (max-width: $screen-sm - $screen-diff) {

readme.txt

+4
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ Source: https://stocksnap.io/photo/4B83RD7BV9
9090

9191
== Changelog ==
9292

93+
= 2.6.1 - 2022-07-12 =
94+
* Fix: Tables looks weird on certain backgrounds ([#126](https://github.com/elementor/hello-theme/issues/126))
95+
* Fix: Remove unnecessary PHP tags ([#213](https://github.com/elementor/hello-theme/issues/213))
96+
9397
= 2.6.0 - 2022-07-10 =
9498
* Tweak: Added `theme_support` for `script` and `style` to avoid validation warnings ([#184](https://github.com/elementor/hello-theme/issues/184))
9599
* Tweak: Sanitized content for allowed HTML tags in post title ([#118](https://github.com/elementor/hello-theme/issues/118))

screenshot.png

-249 KB
Loading

0 commit comments

Comments
 (0)