summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/login.scss
blob: 83b866c3a6466f18ffde7359d517774d80a7f373 (plain)
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
/* Login Page */
.login-page {
  .container {
    max-width: 960px;
  }

  .navbar-gitlab .container {
    max-width: none;
  }

  .brand-holder {
    font-size: 18px;
    line-height: 1.5;

    p {
      color: #888;
    }

    h1:first-child {
      font-weight: normal;
      margin-bottom: 30px;
    }

    img {
      max-width: 100%;
      margin-bottom:  30px;
    }

    a {
      font-weight: bold;
    }
  }

  .login-box{
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 0px 2px #CCC;
    padding: 15px;

    .login-heading h3 {
      font-weight: 300;
      line-height: 1.5;
      margin: 0 0 10px 0;
    }

    .login-footer {
      margin-top: 10px;

      p:last-child {
        margin-bottom: 0;
      }
    }

    a.forgot {
      float: right;
      padding-top: 6px
    }

    .nav .active a {
      background: transparent;
    }
  }

  .form-control {
    font-size: 14px;
    padding: 10px 8px;
    width: 100%;
    height: auto;

    &.top {
      @include border-radius(5px 5px 0 0);
      margin-bottom: 0px;
    }

    &.bottom {
      @include border-radius(0 0 5px 5px);
      border-top: 0;
      margin-bottom: 20px;
    }

    &.middle {
      border-top: 0;
      margin-bottom:0px;
      @include border-radius(0);
    }

    &:active, &:focus {
      background-color: #FFF;
    }
  }

  .devise-errors {
    h2 {
      margin-top: 0;
      font-size: 14px;
      color: #a00;
    }
  }

  .remember-me {
    margin-top: -10px;

    label {
      font-weight: normal;
    }
  }
}

@media (max-width: $screen-xs-max) {
  .login-page {
    .col-sm-5.pull-right {
      float: none !important;
    }
  }
}

.oauth-image-link {
  margin-right: 10px;

  img {
    width: 32px;
    height: 32px;
  }
}