Merge pull request #219 from nextcloud/bugfix/68/use-primary-color-for-button-and-adjust-width-when-only-option
Use the primary color and adjust the width when it's the only option
This commit is contained in:
commit
39f298c43e
|
|
@ -9,7 +9,9 @@
|
||||||
* @copyright Pellaeon Lin 2014
|
* @copyright Pellaeon Lin 2014
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
\OCP\Util::addStyle('registration', 'register-button');
|
||||||
\OC_App::registerLogIn([
|
\OC_App::registerLogIn([
|
||||||
'name' => \OC::$server->getL10N('registration')->t('Register'),
|
'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