Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDUCP-289: adding Provider Login Buttons pattern #650

Merged
merged 6 commits into from
Jan 12, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@bruno-colaco-os @glc-outsystems @gnbm @rugoncalves
* @bruno-colaco-os @glc-outsystems @os-jsplopes @gnbm @rugoncalves
81 changes: 81 additions & 0 deletions src/scss/04-patterns/06-utilities/_provider-login-button.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
/*! Patterns - Utilities - Provider Login Button */
////
/// @group Utilities-Provider_Login_Button
/// Patterns - Utilities - Provider Login Button

.btn {
&.btn-provider-login {
background: var(--color-neutral-0);
border-color: var(--color-neutral-6);
border-radius: 0;
&-logo {
&-only {
padding: 10px;
.btn-provider-login-text {
display: none;
-servicestudio-display: none !important;
}
}
svg {
height: 100%;
width: 100%;
}
}
&.btn- {
&small {
padding: 0 16px;
&.btn-provider-login-logo-only {
padding: 5px;
}
}
&large {
padding: 10px 15px;
}
}
&.soft {
border-radius: var(--border-radius-soft);
}
&.rounded {
border-radius: var(--border-radius-rounded);
}
.btn-provider-login {
&-logo {
height: 20px;
width: 20px;
border-radius: 50%;
glc-outsystems marked this conversation as resolved.
Show resolved Hide resolved
}
&-text {
color: var(--color-neutral-7);
margin-left: 10px;
white-space: nowrap;
}
}
}
}

.phone {
.layout {
.btn.btn-provider-login {
&.btn-provider-login-logo-only {
width: 50px;
&.btn- {
&small {
width: 40px;
}
&large {
width: 55px;
}
}
}
.btn-provider-login-text-name {
text-align: left;
width: 70px;
-servicestudio-display: inline-block;
}

&.btn-small .btn-provider-login-text-name {
width: 53px;
}
}
}
}
2 changes: 2 additions & 0 deletions src/scss/OutSystemsUI.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
/*! - Button Loading */
/*! - Center Content */
/*! - Margin Container */
/*! - Provider Login Button */
/*! - Separator */
/*! - Pull to Refresh */
/*! - List Updating */
Expand Down Expand Up @@ -331,6 +332,7 @@
@import '04-patterns/06-utilities/center-content';
@import '04-patterns/06-utilities/margin-container';
@import '04-patterns/06-utilities/separator';
@import '04-patterns/06-utilities/provider-login-button';
@import '04-patterns/06-utilities/pull-to-refresh';
@import '04-patterns/06-utilities/list-updating';

Expand Down