aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/auth.scss
blob: 817801982220413b5bc732df1444add0b0cb1118 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@import './config.scss';

.theme__dark .auth {
  background: $dark-theme-gray-darkest;

  .auth__container {
    background: $dark-theme-gray-darker;
    box-shadow: 0 0 50px rgba($dark-theme-black, .2);
  }

  .auth__logo.auth__logo--sm {
    border: 4px solid $dark-theme-black;
    box-shadow: 0 0 6px rgba($dark-theme-black, .5);
  }

  .auth__links {
    background: $dark-theme-gray-dark;

    a { color: $dark-theme-text-color; }
  }

  .legal {
    color: $dark-theme-text-color;

    a { color: $dark-theme-gray-lightest; }
  }
}

.auth {
  background: $theme-brand-primary;
  display: flex;
  justify-content: center;

  .auth__layout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .auth__container {
    background: #FFF;
    border-radius: $theme-border-radius;
    box-shadow: 0 0 50px rgba(black, .2);
    height: auto;
    margin: 40px auto 0;
    position: relative;
    width: 350px;

    &.auth__container--signup { width: 450px; }
  }

  .auth__logo {
    border-radius: $theme-border-radius;
    display: block;
    height: auto;
    margin: -105px auto 20px auto;
    width: 150px;

    &.auth__logo--sm {
      border: 4px solid #FFF;
      border-radius: 100%;
      box-shadow: 0 0 6px rgba(black, .5);
    }
  }

  .auth__form {
    padding: 20px;

    h1 { text-align: center; }
  }

  .auth__button {
    width: 100%;

    &.auth__button--skip { margin: 10px auto 0; }
  }

  .auth__links {
    background: $theme-gray-lighter;
    border-bottom-left-radius: $theme-border-radius;
    border-bottom-right-radius: $theme-border-radius;
    padding: 20px;

    a {
      display: block;
      color: $theme-gray;
      margin-bottom: 8px;
      text-align: center;

      &:last-of-type { margin-bottom: 0; }
    }
  }

  .auth__adlk {
    bottom: 15px;
    position: absolute;
    right: 25px;

    img { width: 65px; }
  }

  .auth__letter { margin-bottom: 30px; }
  .scroll-container { z-index: 10; }
  .info-bar { position: absolute; }

  &__scroll-container {
    max-height: 100vh;
    padding: 80px 0;
    overflow: scroll;
    width: 100%;
  }

  .available-services { margin-bottom: 15px; }

  .unavailable-services {
    margin: 15px 0;

    p { text-transform: capitalize; }
  }

  .legal {
    color: $theme-gray-light;
    margin-top: 20px;
    text-align: center;
  }
}