1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 08:11:27 +02:00

Improve LoginButton styles, make popup window smaller

This commit is contained in:
Toby Zerner
2015-12-05 15:19:24 +10:30
parent cda00550aa
commit f81c489eee
2 changed files with 8 additions and 2 deletions

View File

@@ -13,8 +13,8 @@ export default class LogInButton extends Button {
props.className = (props.className || '') + ' LogInButton'; props.className = (props.className || '') + ' LogInButton';
props.onclick = function() { props.onclick = function() {
const width = 1000; const width = 600;
const height = 500; const height = 400;
const $window = $(window); const $window = $(window);
window.open(app.forum.attribute('baseUrl') + props.path, 'logInPopup', window.open(app.forum.attribute('baseUrl') + props.path, 'logInPopup',

View File

@@ -1,5 +1,11 @@
.LogInButton { .LogInButton {
&:extend(.Button--block); &:extend(.Button--block);
.Button-icon {
font-size: 18px;
vertical-align: -1px;
margin-right: 5px;
}
} }
.LogInButtons { .LogInButtons {
width: 200px; width: 200px;