demarches-normaliennes/vendor/assets/stylesheets/franceconnect.scss
Martin ff073f8884 Add confirmation by email when merging DC/FC accounts
feat(fci.confirmation_code): add confirmation code to france_connect_informations

feat(user_mailer.france_connect_confirmation_code): add confirmation by email mail method/preview/spec, pointing to merge_mail_with_existing_account (reuse existing method)

feat(mail_merge): mail merge

feat(merge.cannot_use_france_connect): same behaviour as callback

clean(fci.confirmation_code): use same token for mail validation as merge

feat(resend_france_connect/particulier/merge_confirmation): resend email with link. also enhance some trads, cleanup halfy finished refacto

clean(tech): finalize story by plugging merge_with_new_account to email validation

fix(deadspec): was removed

fix(spec): broken after last refactoring

lint(rubocop): space before parenthesis

lint(haml-lint): yoohoooo space before =

fix(lint): scss now :D

Update app/assets/stylesheets/buttons.scss

cleanup

feat(france_connect): re-add confirm by email, with an option for confirmation by email instead of only confirmation by email

fixup! Add confirmation by email when merging DC/FC accounts

fix(lint): haml_spec failure
2021-11-25 17:34:34 +01:00

143 lines
2.7 KiB
SCSS

.btn-fconnect {
all: initial;
color: #0b6ba8;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
background-color: #ffffff;
background-image: none;
border: 1px solid #ccc;
display: inline-block;
margin-bottom: 0;
line-height: 20px;
text-align: center;
text-shadow: 0 1px 1px rgba(255,255,255,0.75);
vertical-align: middle;
cursor: pointer;
border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}
.btn-fconnect-full {
font-size: 14px;
max-width: 175px;
padding: 11px 19px;
border-radius: 6px;
}
.btn-fconnect-mini {
font-size: 14px;
width: 182px;
padding: 11px 19px;
border-radius: 6px;
}
.btn-fconnect-full img {
width: 100%;
}
.btn-fconnect-mini img {
float:left;
width: 38px;
}
#fconnect-access {
all: initial;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
display: none;
position: absolute;
background: white;
border: 1px solid #ccc;
width: 300px;
padding: 15px;
margin-top: 20px;
z-index: 9990;
box-shadow: 1px 1px 3px #ccc;
}
#fconnect-access hr {
margin: 15px 0;
}
#fconnect-access:after, #fconnect-access:before {
bottom: 100%;
border: solid transparent;
content: "";
position: absolute;
}
#fconnect-access:after {
border-bottom-color: white;
border-width: 13px;
left: 10%;
}
#fconnect-access:before {
border-bottom-color: #ccc;
border-width: 14px;
left: 9.70%;
}
#fconnect-access .logout {
text-align: center;
margin-top: 15px;
}
#fconnect-access .btn {
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 14px;
font-weight: 400;
line-height: 1.42857143;
text-align: center;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
}
#fconnect-access .btn-default {
color: #333;
background-color: #fff;
border-color: #ccc;
}
#fconnect-access .btn-default:hover,
#fconnect-access .btn-default:focus {
color: #333;
background-color: #e6e6e6;
border-color: #adadad;
text-decoration: none;
}
#fc-background {
all: initial;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.80);
position: fixed;
top: 0;
left: 0;
z-index: 9999;
opacity: 0;
transition: opacity 0.2s ease-in;
}
#fc-background.fade-in {
opacity: 1;
}
#fc-background.fade-out {
opacity: 0;
}
#fconnect-iframe {
display: block;
width: 600px;
height: 500px;
margin: 60px auto 0 auto;
}