Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typography fixes for merged Branding PR's #196

Merged
merged 6 commits into from
Jul 5, 2019
Merged
Show file tree
Hide file tree
Changes from 5 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
30 changes: 30 additions & 0 deletions srcd/superset/assets/src/uast/override.less
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,33 @@ body {
font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
font-size: 16px;
}

//= Header Primary CTA

.nav.navbar-nav.navbar-right .btn-primary,
.nav.navbar-nav.navbar-right .btn.btn-primary {
background-color: @brand-primary;
color: #fff;
border: none;
text-transform: uppercase;
padding: 0.45rem 2.65rem 0.45rem 1.35rem;
font-weight: 600;
font-size: 14px !important;

i:before {
content: "\F0D7";
font-size: 14px;
color: #fff;
position: relative;
left: 45px;
}
}

.nav.navbar-nav.navbar-right .btn-primary:hover,
.nav.navbar-nav.navbar-right .btn.btn-primary:hover {
background-color: darken(@brand-primary, 3%);
}

.nav.navbar-nav.navbar-right .btn-primary .fa {
color: #fff;
}
52 changes: 50 additions & 2 deletions srcd/superset/assets/stylesheets/less/custom-brand.less
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ h4.panel-title {
font-weight: 600;
font-size: 14px !important;
border-radius: 0.2rem;
width: 135px;
ricardobaeta marked this conversation as resolved.
Show resolved Hide resolved

i {
display: none;
Expand Down Expand Up @@ -557,7 +558,8 @@ h4.panel-title {
background-color: darken(#fff, 3%);
}

.sql-toolbar .form-inline .btn.btn-sm.btn-primary {
.sql-toolbar .form-inline .btn.btn-sm.btn-primary,
.sql-toolbar .form-inline .btn.btn-sm.btn-warning {
background-color: @brand-primary;
color: #fff;
text-transform: uppercase;
Expand All @@ -566,16 +568,32 @@ h4.panel-title {
font-size: 14px !important;
border-radius: 0.2rem;
border: none;
min-width: 124px;

i {
display: none;
}
}

.sql-toolbar .form-inline .btn.btn-sm.btn-warning {
min-width: 191px;
}

.sql-toolbar .form-inline .btn.btn-sm.btn-primary:hover,
.sql-toolbar .form-inline .btn.btn-sm.btn-primary:focus {
.sql-toolbar .form-inline .btn.btn-sm.btn-primary:focus,
.sql-toolbar .form-inline .btn.btn-sm.btn-primary:active {
background-color: darken(@brand-primary, 3%);
color: #fff;
text-transform: uppercase;
padding: 0.75rem 3.25rem;
font-weight: 600;
font-size: 14px !important;
border-radius: 0.2rem;
border: none;

i {
display: none;
}
}

.sql-toolbar .form-inline .btn.btn-sm.btn-default {
Expand Down Expand Up @@ -753,6 +771,36 @@ h4.panel-title {
padding-right: 32px;
}

.ReactVirtualized__Table__Grid .ReactVirtualized__Table__rowColumn button {
margin-top: 10px;
margin-bottom: 10px;
padding: 2px 16px;
background-color: #fff;
color: #f89c30;
border: none;
text-transform: uppercase;
font-weight: 600;
font-size: 14px !important;
border-radius: 0.2rem !important;
outline: 1px solid #f89c30;
outline-offset: -1px;

&:hover,
&:focus {
color: #f89c30;
background: darken(#fff, 3%);
}
i {
color: #f89c30;
}
}

//= Charts

.superset-legacy-chart-sunburst svg g text.step-label {
transform: translate(0, -10px);
}

//= Alerts, Success & Error Mesages

.label-success {
Expand Down