diff --git a/app/assets/images/g-normal.png b/app/assets/images/g-normal.png
new file mode 100644
index 00000000..b8d4958e
Binary files /dev/null and b/app/assets/images/g-normal.png differ
diff --git a/app/assets/images/twitter_signin_logo.png b/app/assets/images/twitter_signin_logo.png
new file mode 100644
index 00000000..17d213ba
Binary files /dev/null and b/app/assets/images/twitter_signin_logo.png differ
diff --git a/app/assets/stylesheets/landing.scss b/app/assets/stylesheets/landing.scss
index 06900393..6d592f1d 100644
--- a/app/assets/stylesheets/landing.scss
+++ b/app/assets/stylesheets/landing.scss
@@ -21,6 +21,10 @@
width: 200px;
padding: 0;
}
+ .login-text {
+ font-size: 16px;
+ padding-right: 5px;
+ }
}
.rooms {
diff --git a/app/assets/stylesheets/sessions.scss b/app/assets/stylesheets/sessions.scss
new file mode 100644
index 00000000..bafc7bbc
--- /dev/null
+++ b/app/assets/stylesheets/sessions.scss
@@ -0,0 +1,7 @@
+.login {
+ .center-panel {
+ .center-panel-size {
+ max-width: 400px
+ }
+ }
+}
diff --git a/app/assets/stylesheets/shared.scss b/app/assets/stylesheets/shared.scss
index e6d8d0ca..9b4f9e6e 100644
--- a/app/assets/stylesheets/shared.scss
+++ b/app/assets/stylesheets/shared.scss
@@ -26,7 +26,7 @@ html, body {
background: #ffffff;
}
-.app-background {
+.background {
height: 350px;
width: 100%;
background: asset-url('greenlight_background');
@@ -35,6 +35,10 @@ html, body {
background-repeat: no-repeat;
}
+body[data-controller=landing].app-background {
+ @extend .background;
+}
+
body[data-controller=landing][data-action=rooms].app-background {
background-image: asset-url('bg_personal_room');
}
@@ -61,14 +65,14 @@ body[data-controller=landing][data-action=rooms].app-background {
padding: 20px;
}
+.center-block {
+ float: none;
+}
.center-panel {
- .center-block {
- float: none;
- }
.center-panel-size {
max-width: 900px
}
- .center-panel-conent-size {
+ .center-panel-content-size {
max-width: 800px;
}
@@ -114,3 +118,42 @@ body[data-controller=landing][data-action=rooms].app-background {
.popover {
max-width: none;
}
+
+a.signin-link {
+ &:hover, &:focus {
+ cursor: pointer;
+ text-decoration: none;
+ }
+}
+
+.signin-link {
+ .signin-icon {
+ vertical-align: middle;
+ width: 35px;
+ height: 35px;
+ }
+ .signin-button {
+ background: white;
+ width: 250px;
+ border: thin solid #888;
+ border-radius: 2px;
+ white-space: nowrap;
+ padding: 5px;
+ margin-bottom: 14px;
+ }
+ .signin-icon-wrapper {
+ display: inline-block;
+ width: 40px;
+ }
+ .signin-text-wrapper {
+ display: inline-block;
+ width: 200px;
+ }
+ .signin-text {
+ font-family: 'Roboto', sans-serif;
+ vertical-align: middle;
+ font-size: 14px;
+ font-weight: bold;
+ color: #444;
+ }
+}
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
index c09a982e..e78b87cc 100644
--- a/app/controllers/sessions_controller.rb
+++ b/app/controllers/sessions_controller.rb
@@ -15,6 +15,10 @@
# with BigBlueButton; if not, see