Browse Source

Add OIDC button and styles to theme

* Introduced a new button for OIDC authentication in _theme.html.
* Added corresponding styles for the OIDC button in _bootstrap.scss.
* Defined a new color variable for OIDC in _vars.scss.
* Updated icon styles in style.css to include OIDC icon.
pull/1325/head
Sina Darbouy 2 months ago
parent
commit
53ab4d8f5d
No known key found for this signature in database GPG Key ID: 414224C96A6368DA
  1. 1
      frontend/src/app/_theme.html
  2. 4
      frontend/src/app/theme/_bootstrap.scss
  3. 1
      frontend/src/app/theme/_vars.scss
  4. 3
      frontend/src/app/theme/icomoon/style.css

1
frontend/src/app/_theme.html

@ -214,6 +214,7 @@
<button class="btn btn-twitter"><i class="icon-twitter icon-decent"></i> Twitter</button>
<button class="btn btn-microsoft"><i class="icon-microsoft icon-decent"></i> Microsoft</button>
<button class="btn btn-github"><i class="icon-github icon-decent"></i> Github</button>
<button class="btn btn-externaloidc"><i class="icon-externaloidc icon-decent"></i> OIDC</button>
</div>
</div>

4
frontend/src/app/theme/_bootstrap.scss

@ -382,6 +382,10 @@ a {
@include button-variant($color-extern-twitter, $color-extern-twitter);
}
&-externaloidc {
@include button-variant($color-extern-oidc, $color-extern-oidc);
}
// Special radio button.
&-radio {
& {

1
frontend/src/app/theme/_vars.scss

@ -21,6 +21,7 @@ $color-extern-github: #353535;
$color-extern-google: #d34836;
$color-extern-microsoft: #004185;
$color-extern-twitter: #1da1f2;
$color-extern-oidc: #526484;
$color-theme-brand: #3389ff;
$color-theme-brand-dark: #3284f4;

3
frontend/src/app/theme/icomoon/style.css

@ -109,6 +109,9 @@
.icon-external-link:before {
content: "\e96d";
}
.icon-externaloidc:before {
content: "\e96d";
}
.icon-minus-square:before {
content: "\e969";
}

Loading…
Cancel
Save