Skip to content

Commit

Permalink
Update styles for OAuth pages
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Oct 8, 2017
1 parent c6afd1e commit 9698388
Showing 1 changed file with 35 additions and 38 deletions.
73 changes: 35 additions & 38 deletions scss/modules/pages/_oauth.scss
Original file line number Diff line number Diff line change
@@ -1,51 +1,48 @@
body.oauth_page {
background: $color-shade-dark;

.oauth_header {
background: $color-base !important;
.c-oauth_scope_info {
&__spacer_icon {
color: $color-red;
}

.alert {
border-color: darken($color-red, 15%);
text-shadow: 0 1px 0 $color-shadow-medium;

&.alert_warning {
border-left-color: darken($color-red, 10%);

.bottom_border {
border-color: darken($color-red, 10%);
}
}
&__dangerous_scopes,
&__safe_scopes {
border-bottom-color: $color-shade-light;
}

.alert_text {
background: $color-red;
color: $base-font-color;

i:hover {
color: $base-font-color !important;
}
&__dangerous_scopes {
border-left-color: $color-red;
border-right-color: $color-shade-light;
border-top-color: $color-shade-light;
}

.darken_hover:hover {
color: $color-highlight !important;
&__dangerous_scope:not(:first-child),
&__safe_scope {
border-top-color: $color-shade-light;
}
}

.team:hover {
background: $color-shade-darkest;
border: 1px solid $color-shade-light !important;
}
a.p-oauth_nav__anchor {
color: $color-highlight;
}

.safe_scopes {
border-top: 1px solid $color-base;
}
.p-oauth_nav__team-switcher {
.menu_launcher {
border-color: $color-shade-dark;

.yolk_orange,
.subtle_silver {
color: $base-font-color !important;
&:hover {
border: $color-shade-light;
}
}
}

.top_border {
border-color: $color-base;
}
.p-oauth_page,
.p-oauth_page--error {
background: $color-base;
}

.p-oauth_page__title {
color: $base-font-color;
}

.p-oauth_page_single_channel_picker {
border-bottom-color: $color-shade-dark;
}

0 comments on commit 9698388

Please sign in to comment.