Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Dark mode tweaks and overflow fixes #126

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions brave/gulpfile.js/brave-replace-paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,6 @@ const createBraveReplacePathsTask = () => {
`'${bravePrefix}app/scripts/controllers/threebox'`
)
)
.pipe(
replace(
/'(.*)\/provider-page-container\.component'/gm,
`'${bravePrefix}ui/app/components/app/provider-page-container/provider-page-container.component'`
)
)
.pipe(
replace(
/'(.*)\/unlock-page\.container'/gm,
Expand Down
8 changes: 8 additions & 0 deletions brave/ui/app/components/app/header/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,11 @@
.app {
overflow-y: hidden;
}

#app-content {
overflow-y: scroll;
}

.main-container-wrapper {
overflow-y: auto;
}

This file was deleted.

18 changes: 17 additions & 1 deletion brave/ui/app/components/ui/theme/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,22 @@
}
}

.advanced-tab__transaction-data-summary {
background: #fff;
margin: 0px 0px -5px 0px;
}

.custom-tooltip th {
color: #fff;
}

.send-v2__asset-dropdown__asset {

&:hover {
background-color: #282828;
}
}

.confirm-page-container-content {

.tabs__list {
Expand Down Expand Up @@ -127,7 +143,7 @@
border: 1px solid #ffffff;
}

h1, h2, span, div, label {
h1, h2, span, div, label, .import-account__back-button {
color: #fff;
}

Expand Down
1 change: 0 additions & 1 deletion brave/ui/app/pages/first-time-flow/index.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#app-content {
background: #d5d9dc;
overflow-y: hidden;
}

.first-time-flow {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ import {
const EMPTY_SEEDS = Array(24).fill(null)

module.exports = class BraveConfirmSeedPhrase extends ConfirmSeedPhrase {
componentDidMount () {
const container = document.querySelector('#app-content')
if (container) {
container.setAttribute('style', 'overflow-y: scroll')
}
super.componentDidMount()
}

componentWillUnmount () {
const container = document.querySelector('#app-content')
if (container) {
container.removeAttribute('style')
}
}

handleSubmit = async () => {
const {
Expand Down
3 changes: 0 additions & 3 deletions brave/ui/app/pages/routes/index.scss

This file was deleted.