Use the primary color and adjust the width when it's the only option
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1759d2176e
commit
32e1ce8df1
|
|
@ -9,7 +9,9 @@
|
|||
* @copyright Pellaeon Lin 2014
|
||||
*/
|
||||
|
||||
\OCP\Util::addStyle('registration', 'register-button');
|
||||
\OC_App::registerLogIn([
|
||||
'name' => \OC::$server->getL10N('registration')->t('Register'),
|
||||
'href' => \OC::$server->getURLGenerator()->linkToRoute('registration.register.askEmail')
|
||||
'href' => \OC::$server->getURLGenerator()->linkToRoute('registration.register.askEmail'),
|
||||
'style' => 'register-button',
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
#alternative-logins .button.register-button {
|
||||
color: var(--color-primary-element);
|
||||
}
|
||||
|
||||
.register-button:only-child {
|
||||
width: 220px;
|
||||
margin-left: 70px !important;
|
||||
}
|
||||
Loading…
Reference in New Issue