Skip to content
Snippets Groups Projects
Commit 02d5d767 authored by Nicolas PAGNY's avatar Nicolas PAGNY
Browse files

Seperating oauth and nooauth styles

parent 338fa0be
No related branches found
No related tags found
3 merge requests!28Merge fix from dev,!27Dev,!24Features/us158 423 harmonize buttons gaz water
...@@ -111,13 +111,13 @@ const KonnectorForm: React.FC<KonnectorFormProps> = ({ ...@@ -111,13 +111,13 @@ const KonnectorForm: React.FC<KonnectorFormProps> = ({
</span> </span>
</div> </div>
<div className="koauthform-button"> <div className="knooauthform-button">
<StyledNoOauthButton type="submit" color="primary"> <StyledNoOauthButton type="submit" color="primary" disabled={loading}>
<div className="oauthform-button-content"> <div className="nooauthform-button-content">
<div className="oauthform-button-content-icon"> <div className="nooauthform-button-content-icon">
{icon && <StyledIcon icon={icon} size={48} />} {icon && <StyledIcon icon={icon} size={48} />}
</div> </div>
<div className="oauthform-button-text text-18-bold"> <div className="nooauthform-button-text text-18-bold">
<div> <div>
{t('nooauth.connection.text')}{' '} {t('nooauth.connection.text')}{' '}
{t('nooauth.' + fluidConfig.name + '.text')} {t('nooauth.' + fluidConfig.name + '.text')}
...@@ -127,7 +127,7 @@ const KonnectorForm: React.FC<KonnectorFormProps> = ({ ...@@ -127,7 +127,7 @@ const KonnectorForm: React.FC<KonnectorFormProps> = ({
</StyledNoOauthButton> </StyledNoOauthButton>
</div> </div>
<br /> <br />
<div className="koauthform-text text-16-bold"> <div className="knooauthform-text text-16-bold">
<div className="text-16-bold"> <div className="text-16-bold">
{t('nooauth.creation.no_account')}{' '} {t('nooauth.creation.no_account')}{' '}
{t('nooauth.' + fluidConfig.name + '.text')} ? {t('nooauth.' + fluidConfig.name + '.text')} ?
......
...@@ -126,6 +126,21 @@ ...@@ -126,6 +126,21 @@
} }
} }
// KonnectorForm
.knooauthform{
margin: 0 1.5rem;
@media #{$large-phone} {
margin: 0;
}
.knooauthform-text{
color: $text-bright;
padding-top: 1rem;
}
.knooauthform-button{
margin-bottom: 1rem;
}
}
// KonnectorLoading // KonnectorLoading
.kload-content { .kload-content {
margin: 0.5rem 1.5rem; margin: 0.5rem 1.5rem;
......
@import '../base/color';
@import '../base/breakpoint';
.nooauthform-button-content{
display: flex;
justify-content: center;
align-items: center;
.nooauthform-button-content-icon{
margin: 0 1.375rem;
}
.nooauthform-button-text{
display: flex;
flex-direction: column;
align-items: flex-start;
text-align: left;
}
}
\ No newline at end of file
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
@import 'components/faq'; @import 'components/faq';
@import 'components/splash'; @import 'components/splash';
@import 'components/oauth'; @import 'components/oauth';
@import 'components/nooauth';
:root { :root {
--blue: #{$blue}; --blue: #{$blue};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment