Skip to content

Commit

Permalink
CSS review for popup, closes #176 #177
Browse files Browse the repository at this point in the history
  • Loading branch information
franck-paul committed May 16, 2022
1 parent 694f7d5 commit e787ce8
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
12 changes: 10 additions & 2 deletions admin/style/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ h6 {
--rch-table-expand-color: var(--body-color);
--rch-table-expand-background: var(--body-background);
--rch-table-expand-border: #ececec;
--rch-table-td-link: #bee74b;
--badge-color: #fff;
--badge-border: transparent;
--badge-std-background: #d54e21;
Expand Down Expand Up @@ -762,6 +763,7 @@ h6 {
--rch-table-expand-color: var(--body-color);
--rch-table-expand-background: var(--body-background);
--rch-table-expand-border-top: #ecedee;
--rch-table-td-link: #bee74b;
--badge-color: #fff;
--badge-border: var(--body-color);
--badge-std-background: #d54e21;
Expand Down Expand Up @@ -1031,6 +1033,7 @@ h6 {
--rch-table-expand-color: var(--body-color);
--rch-table-expand-background: var(--body-background);
--rch-table-expand-border-top: #ecedee;
--rch-table-td-link: #bee74b;
--badge-color: #fff;
--badge-border: var(--body-color);
--badge-std-background: #d54e21;
Expand Down Expand Up @@ -1451,7 +1454,7 @@ h1,
top: 10em; }

.one-box,
.two-boxes,
body:not(.popup) .two-boxes,
.box,
.two-cols .col {
width: 96%;
Expand Down Expand Up @@ -1547,6 +1550,11 @@ h1,
margin-left: 0;
margin-right: 0; }

body.popup .two-boxes {
width: 96%;
margin-left: 0;
margin-right: 0; }

.box.current-theme {
margin: 5px;
width: 100%; }
Expand Down Expand Up @@ -2897,7 +2905,7 @@ td.expand {
.rch td::before {
display: none; }

@media screen and (max-width: 62em), print and (max-width: 5in) {
@media screen and (max-width: 43em), print and (max-width: 5in) {
table.rch {
display: block; }
table.rch caption,
Expand Down
8 changes: 7 additions & 1 deletion admin/style/scss/partials/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ h1,
}

.one-box,
.two-boxes,
body:not(.popup) .two-boxes,
.box,
.two-cols .col {
width: 96%;
Expand Down Expand Up @@ -575,6 +575,12 @@ h1,
margin-right: 0;
}

body.popup .two-boxes {
width: 96%;
margin-left: 0;
margin-right: 0;
}

.box.current-theme {
margin: 5px;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion admin/style/scss/partials/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ td.expand {
display: none;
}

@media screen and (max-width: $tablet-screen), print and (max-width: 5in) {
@media screen and (max-width: $mobile-screen), print and (max-width: 5in) {
table.rch {
display: block;

Expand Down
1 change: 1 addition & 0 deletions admin/style/scss/themes/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@
--rch-table-expand-color: var(--body-color);
--rch-table-expand-background: var(--body-background);
--rch-table-expand-border-top: #{$gray-lighter};
--rch-table-td-link: #{$link-outline};

// Utils

Expand Down
1 change: 1 addition & 0 deletions admin/style/scss/themes/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@
--rch-table-expand-color: var(--body-color);
--rch-table-expand-background: var(--body-background);
--rch-table-expand-border: #{$gray-lighter};
--rch-table-td-link: #{$link-outline};

// Utils

Expand Down

0 comments on commit e787ce8

Please sign in to comment.