CSS Login: Minor tweaks and maintenance
This commit is contained in:
parent
450dde56b7
commit
f236845374
@ -1,14 +1,12 @@
|
|||||||
.login-container
|
.login-container
|
||||||
align-items: center
|
align-items: center
|
||||||
display: flex
|
|
||||||
// height: 100%
|
|
||||||
justify-content: center
|
|
||||||
// width: 100%
|
|
||||||
position: fixed
|
|
||||||
top: 0
|
|
||||||
bottom: 0
|
bottom: 0
|
||||||
|
display: flex
|
||||||
|
justify-content: center
|
||||||
left: 0
|
left: 0
|
||||||
|
position: fixed
|
||||||
right: 0
|
right: 0
|
||||||
|
top: 0
|
||||||
|
|
||||||
.login-box
|
.login-box
|
||||||
+container-box
|
+container-box
|
||||||
@ -19,7 +17,6 @@
|
|||||||
|
|
||||||
.login-title,
|
.login-title,
|
||||||
.settings-title
|
.settings-title
|
||||||
color: $color-primary
|
|
||||||
font:
|
font:
|
||||||
size: 2.2em
|
size: 2.2em
|
||||||
weight: 300
|
weight: 300
|
||||||
@ -31,6 +28,9 @@
|
|||||||
font-weight: 300
|
font-weight: 300
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
$provider-color-facebook: #3b5998
|
||||||
|
$provider-color-google: #dd4b39
|
||||||
|
$provider-color-blender_id: #00bcef
|
||||||
.login-providers
|
.login-providers
|
||||||
align-items: center
|
align-items: center
|
||||||
display: flex
|
display: flex
|
||||||
@ -39,57 +39,72 @@
|
|||||||
margin: 15px
|
margin: 15px
|
||||||
|
|
||||||
.login-provider-button
|
.login-provider-button
|
||||||
background-color: $color-primary
|
background-color: $provider-color-blender_id
|
||||||
border: thin solid $color-primary
|
|
||||||
border-radius: 3px
|
border-radius: 3px
|
||||||
color: #fff
|
color: white
|
||||||
display: block
|
display: block
|
||||||
|
font-weight: bold
|
||||||
margin-bottom: 10px
|
margin-bottom: 10px
|
||||||
min-width: 200px
|
min-width: 200px
|
||||||
padding: 5px 10px
|
padding: 8px 10px
|
||||||
text-align: center
|
text-align: center
|
||||||
|
text-decoration: none
|
||||||
|
text-shadow: 1px 1px rgba(black, .2)
|
||||||
|
transition: background-color 150ms ease-in-out
|
||||||
|
|
||||||
|
&:hover
|
||||||
|
background-color: lighten($provider-color-blender_id, 7%)
|
||||||
|
|
||||||
&.facebook
|
&.facebook
|
||||||
background-color: #3b5998
|
background-color: $provider-color-facebook
|
||||||
border-color: transparent
|
|
||||||
|
&:hover
|
||||||
|
background-color: lighten($provider-color-facebook, 7%)
|
||||||
|
|
||||||
&.google
|
&.google
|
||||||
background-color: #dd4b39
|
background-color: $provider-color-google
|
||||||
border-color: transparent
|
|
||||||
|
&:hover
|
||||||
|
background-color: lighten($provider-color-google, 7%)
|
||||||
|
|
||||||
#settings
|
#settings
|
||||||
+media-xs
|
+media-xs
|
||||||
flex-direction: column
|
flex-direction: column
|
||||||
|
|
||||||
display: flex
|
|
||||||
align-items: stretch
|
align-items: stretch
|
||||||
|
display: flex
|
||||||
margin: 25px auto
|
margin: 25px auto
|
||||||
|
|
||||||
#settings-sidebar
|
#settings-sidebar
|
||||||
+media-xs
|
+media-xs
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
width: 30%
|
|
||||||
+container-box
|
+container-box
|
||||||
|
background-color: $color-background-light
|
||||||
|
color: $color-text
|
||||||
margin-right: 15px
|
margin-right: 15px
|
||||||
|
width: 30%
|
||||||
|
|
||||||
.settings-content
|
.settings-content
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
||||||
ul
|
ul
|
||||||
padding: 0
|
|
||||||
margin: 0
|
|
||||||
list-style: none
|
list-style: none
|
||||||
|
margin: 0
|
||||||
|
padding: 0
|
||||||
|
|
||||||
a
|
a
|
||||||
&:hover
|
&:hover
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
|
|
||||||
li
|
li
|
||||||
background-color: lighten($color-background, 5%)
|
background-color: lighten($color-background, 5%)
|
||||||
|
|
||||||
li
|
li
|
||||||
padding: 25px
|
|
||||||
margin: 0
|
|
||||||
border-bottom: thin solid $color-background
|
border-bottom: thin solid $color-background
|
||||||
border-left: thick solid transparent
|
border-left: thick solid transparent
|
||||||
|
margin: 0
|
||||||
|
padding: 25px
|
||||||
transition: all 100ms ease-in-out
|
transition: all 100ms ease-in-out
|
||||||
|
|
||||||
i
|
i
|
||||||
@ -106,9 +121,9 @@
|
|||||||
+media-xs
|
+media-xs
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
width: 70%
|
|
||||||
+container-box
|
+container-box
|
||||||
|
background-color: $color-background-light
|
||||||
|
width: 70%
|
||||||
|
|
||||||
.settings-header
|
.settings-header
|
||||||
background-color: $color-background
|
background-color: $color-background
|
||||||
@ -116,17 +131,14 @@
|
|||||||
border-top-right-radius: 3px
|
border-top-right-radius: 3px
|
||||||
|
|
||||||
.settings-title
|
.settings-title
|
||||||
padding: 25px 15px 5px 15px
|
|
||||||
font:
|
font:
|
||||||
size: 2em
|
size: 1.5em
|
||||||
weight: 300
|
weight: 300
|
||||||
|
padding: 10px 15px 10px 25px
|
||||||
|
|
||||||
.settings-content
|
.settings-content
|
||||||
padding: 25px
|
padding: 25px
|
||||||
|
|
||||||
p
|
|
||||||
color: $color-text-dark-primary
|
|
||||||
|
|
||||||
.settings-billing-info
|
.settings-billing-info
|
||||||
font-size: 1.2em
|
font-size: 1.2em
|
||||||
|
|
||||||
@ -141,8 +153,8 @@
|
|||||||
margin-top: 0
|
margin-top: 0
|
||||||
|
|
||||||
.button-submit
|
.button-submit
|
||||||
display: block
|
|
||||||
clear: both
|
clear: both
|
||||||
|
display: block
|
||||||
min-width: 200px
|
min-width: 200px
|
||||||
margin: 0 auto
|
margin: 0 auto
|
||||||
+button($color-primary, 3px, true)
|
+button($color-primary, 3px, true)
|
||||||
@ -151,9 +163,11 @@
|
|||||||
#settings-container
|
#settings-container
|
||||||
#settings-form
|
#settings-form
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
|
|
||||||
.settings-form
|
.settings-form
|
||||||
display: flex
|
|
||||||
align-items: center
|
align-items: center
|
||||||
|
display: flex
|
||||||
justify-content: center
|
justify-content: center
|
||||||
|
|
||||||
.left, .right
|
.left, .right
|
||||||
@ -168,9 +182,14 @@
|
|||||||
float: right
|
float: right
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
label
|
||||||
|
color: $color-text
|
||||||
|
display: block
|
||||||
|
|
||||||
.settings-avatar
|
.settings-avatar
|
||||||
img
|
img
|
||||||
border-radius: 3px
|
border-radius: 3px
|
||||||
|
|
||||||
span
|
span
|
||||||
display: block
|
display: block
|
||||||
padding: 15px 0
|
padding: 15px 0
|
||||||
@ -215,4 +234,3 @@
|
|||||||
color: $color-success
|
color: $color-success
|
||||||
&.fail
|
&.fail
|
||||||
color: $color-danger
|
color: $color-danger
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user