-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RDUCP-289: adding Provider Login Buttons pattern (#650)
* Adding Provider Login Button pattern * Bug fixing * Fixes on preview * Update CODEOWNERS * Small change to keep alphabetic order * improving based on feedback
- Loading branch information
1 parent
7b0278f
commit 36f6f59
Showing
2 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
77 changes: 77 additions & 0 deletions
77
src/scss/04-patterns/06-utilities/_provider-login-button.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
/*! 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 { | ||
border-radius: 50%; | ||
height: 20px; | ||
width: 20px; | ||
} | ||
&-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; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters