Skip to content

Commit

Permalink
WebUI: Settings page style design tweaks
Browse files Browse the repository at this point in the history
Co-authored by: Pete Miller <[email protected]>
  • Loading branch information
rossmoody authored and petemill committed Apr 13, 2019
1 parent 6d04b49 commit d2daf7e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
14 changes: 8 additions & 6 deletions browser/resources/settings/brave_settings_overrides.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<style>
:host {
display: inline-block;
--setings-card-max-width: 790px !important;
--settings-card-max-width: 790px !important;
}
cr-drawer {
display: none !important;
Expand All @@ -40,12 +40,16 @@
flex-direction: row;
justify-content: center;
align-items: flex-start;
background: #F1F3F5; /* neutral100 */
}
@media only screen and (max-width: 815px) {
settings-menu {
display: none;
}
}
:host-context([dark]) #container {
background: #1E2127;
}
</style>
</template>
</dom-module>
Expand All @@ -70,18 +74,16 @@
margin: 0 12px 0 12px !important;
max-height: calc(100vh - 56px - (var(--brave-settings-menu-margin-v) * 2) - (var(--brave-settings-menu-padding) * 2));
min-width: 172px;
border: 1px solid #E5E5EA !important;
border-radius: 6px;
background-color: #fff;
overflow-y: auto;
padding: 30px !important;
}


:host-context([dark]) {
--settings-nav-item-color: #F4F4F4 !important;
border-color: transparent !important;
background-color: #27282B;
background-color: #161719;
}

a[href] {
Expand All @@ -102,8 +104,8 @@
iron-icon {
color: var(--settings-nav-item-color);
margin-inline-end: 16px !important;
width: 24px;
height: 24px;
width: 20px;
height: 20px;
}

:host-context([dark]) a[href].iron-selected iron-icon {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@
.label.shields-primary-title
{
font-weight: 700;
padding-top: .1em;
padding-top: 1em;
font-size: 1.05em;
}
.label.shields-secondary-title
{
font-style: italic;
}
</style>
<div class="settings-box first">
<div class="flex">
Expand Down

0 comments on commit d2daf7e

Please sign in to comment.