Merge pull request #10431 from overleaf/jel-ieee-btns

[web] Update IEEE variables for new build

GitOrigin-RevId: 7f94ca94619b4f599936da6cb3a7fa1955f08f55
This commit is contained in:
Jessica Lawshe 2022-11-17 11:54:11 -06:00 committed by Copybot
parent a9741c190c
commit b425569dc8
2 changed files with 10 additions and 1 deletions

View file

@ -590,7 +590,7 @@
} }
} }
.btn-borderless(@color: @white; @background: @green; @background-hover: @btn-primary-hover-bg-color) { .btn-borderless(@color: @white; @background: @brand-primary; @background-hover: @btn-primary-hover-bg-color) {
color: @color; color: @color;
background-color: @background; background-color: @background;
border-color: @background; // add a border that is same as background color so that the height matches the btn-bordered style border-color: @background; // add a border that is same as background color so that the height matches the btn-bordered style

View file

@ -24,6 +24,12 @@
@ol-red: @ieee-red; @ol-red: @ieee-red;
@ol-dark-red: darken(@ieee-red, 15%); @ol-dark-red: darken(@ieee-red, 15%);
@green: @ol-green;
@green-dark: @ol-dark-green;
@blue: @ol-blue;
@blue-dark: @ol-dark-blue;
@red: @ol-red;
@brand-primary: @ieee-blue; @brand-primary: @ieee-blue;
@brand-secondary: @ieee-dark-blue; @brand-secondary: @ieee-dark-blue;
@brand-success: @ol-blue; @brand-success: @ol-blue;
@ -50,3 +56,6 @@
@navbar-default-link-hover-bg: @ieee-blue; @navbar-default-link-hover-bg: @ieee-blue;
@navbar-default-link-hover-color: @ieee-blue; @navbar-default-link-hover-color: @ieee-blue;
@navbar-default-link-active-bg: @ieee-blue; @navbar-default-link-active-bg: @ieee-blue;
@btn-primary-hover-bg-color: darken(@brand-primary, 8%);
@btn-default-bg: @ol-blue-gray-4;