-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tidy] Remove redundant CSS and add updated bootstrap file (#931)
- Loading branch information
1 parent
3fe162d
commit 3d8e17a
Showing
6 changed files
with
98 additions
and
137 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
vizro-core/changelog.d/20241216_144313_huong_li_nguyen_remove_redundant_css.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!-- | ||
A new scriv changelog fragment. | ||
Uncomment the section that is right (remove the HTML comment wrapper). | ||
--> | ||
|
||
<!-- | ||
### Highlights ✨ | ||
- A bullet item for the Highlights ✨ category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Removed | ||
- A bullet item for the Removed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Added | ||
- A bullet item for the Added category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Changed | ||
- A bullet item for the Changed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Deprecated | ||
- A bullet item for the Deprecated category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Fixed | ||
- A bullet item for the Fixed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> | ||
<!-- | ||
### Security | ||
- A bullet item for the Security category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX. ([#1](https://github.com/mckinsey/vizro/pull/1)) | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,38 @@ | ||
#right-side .dash-cell { | ||
height: 48px !important; | ||
#dashboard-container .dash-cell { | ||
height: 3rem !important; | ||
} | ||
|
||
#right-side .dash-table-container { | ||
padding-bottom: 12px; | ||
} | ||
|
||
#right-side | ||
.dash-table-container | ||
.dash-spreadsheet-container | ||
.dash-spreadsheet-inner | ||
th { | ||
background-color: var(--right-side-bg); | ||
color: var(--text-primary); | ||
#dashboard-container .dash-spreadsheet-inner th { | ||
background-color: inherit; | ||
padding: 10px 0; | ||
} | ||
|
||
#right-side | ||
.dash-table-container | ||
.dash-spreadsheet-container | ||
.dash-spreadsheet-inner | ||
td { | ||
background-color: var(--right-side-bg); | ||
color: var(--text-primary); | ||
} | ||
|
||
#right-side | ||
.dash-table-container | ||
.dash-spreadsheet-container | ||
.dash-spreadsheet-inner | ||
table { | ||
--hover: var(--right-side-bg); | ||
|
||
width: 100%; | ||
#dashboard-container .dash-spreadsheet-inner td { | ||
background-color: inherit; | ||
} | ||
|
||
#right-side | ||
.dash-table-container | ||
.dash-spreadsheet-container | ||
.dash-spreadsheet-inner | ||
td | ||
.dash-cell-value.unfocused { | ||
font-size: 14px; | ||
#dashboard-container .dash-spreadsheet-inner table { | ||
--hover: inherit; | ||
} | ||
|
||
#right-side | ||
.dash-table-container | ||
.dash-spreadsheet-container | ||
.dash-spreadsheet-inner | ||
.column-header-name { | ||
font-size: 14px; | ||
/* Styling for pagination element */ | ||
#dashboard-container .first-page, | ||
#dashboard-container .previous-page, | ||
#dashboard-container .next-page, | ||
#dashboard-container .last-page { | ||
background: inherit; | ||
color: var(--text-secondary); | ||
} | ||
|
||
.dash-table-container .previous-next-container .page-number { | ||
color: var(--text-primary); | ||
} | ||
|
||
#right-side .dash-table-container .previous-next-container { | ||
font-size: 14px; | ||
padding: 4px 0; | ||
} | ||
|
||
#right-side .dash-table-container .previous-next-container button, | ||
#right-side | ||
.dash-table-container | ||
.previous-next-container | ||
.page-number | ||
.current-page-container | ||
.current-page-shadow, | ||
.dash-table-container | ||
.previous-next-container | ||
.page-number | ||
.current-page-container | ||
input.current-page { | ||
background: transparent; | ||
color: var(--text-primary); | ||
font-size: 14px; | ||
#dashboard-container input.current-page, | ||
.table-container input.current-page::placeholder { | ||
background: inherit; | ||
color: var(--text-primary) !important; | ||
} | ||
|
||
#right-side | ||
.dash-table-container | ||
.previous-next-container | ||
.page-number | ||
.current-page-container | ||
.current-page-shadow::placeholder, | ||
.dash-table-container | ||
.previous-next-container | ||
.page-number | ||
.current-page-container | ||
input.current-page::placeholder { | ||
color: var(--text-primary) !important; | ||
#dashboard-container button.first-page:hover, | ||
#dashboard-container button.previous-page:hover, | ||
#dashboard-container button.next-page:hover, | ||
#dashboard-container button.last-page:hover { | ||
color: var(--text-primaryHover) !important; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.