blob: b4275c5c1419a28310b5cc8fa1a3063303503f9a [file] [log] [blame]
Matteo Scandolo4eb4ccb2016-01-26 11:02:16 -08001/*
2 * Copyright 2015 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17div#login {
18 background: url("/imgs/login.jpg") no-repeat center;
19 background-size: contain;
20 position: absolute;
21 top: 3%;
22 left: 5%;
23}
24
25div#login-wrapper {
26 text-align: center;
27}
28
29#login h2 {
30 margin: 1%;
31 color: rgb(115, 115, 115);
32 font-size: xx-large;
33 font-weight: lighter;
34 text-align: left;
35 position: absolute;
36 top: -140px;
37}
38
39div#login-form {
40 display: inline-block;
41}
42
43#login div.outline {
44 position: absolute;
45 border: 1px solid rgba(115, 115, 115, 0.7);
46 background-color: white;
47 opacity: .6;
48 top: -160px;
49 left: -25px;
50 width: 300px;
51 height: 245px;
52 border-radius: 1px;
53}
54
55div#login-form {
56 margin-left: 2.5%;
57 position: relative;
58 width: 255px;
59 margin-top: 33.5%;
60}
61
62#login-form form {
63 line-height: 250%;
64}
65
66#login-form input {
67 display: block;
68 height: 40px;
69 width: 230px;
70 font-size: 19px;
71 padding: 0 5px;
72 margin-bottom: 3.5%;
73 border-radius: 1px;
74 position: absolute;
75}
Matteo Scandolob0e65a62016-01-28 11:05:15 -080076
77#login-form .login-error{
78 background: red;
79 border: 2px solid darkred;
80 color: white;
81 position: absolute;
82 height: 40px;
83 width: 230px;
84 padding: 0 5px;
85 border-radius: 1px;
86 top: 70px;
87 font-size: 10px;
88}
89
Matteo Scandolo4eb4ccb2016-01-26 11:02:16 -080090#login-form input[type="text"] {
91 top: -90px;
92}
93#login-form input[type="password"] {
94 top: -35px;
95}
96
97#login-form input[type="text"],
98#login-form input[type="password"] {
99 border: 2px solid rgba(115, 115, 115, 0.7);
100 transition: border 0.1s;
101}
102#login-form input[type="text"]:focus,
103#login-form input[type="password"]:focus,
104#login-form input[type="button"]:focus {
105 outline: none;
106 border: solid 2px rgba(122, 188, 229, 0.5);
107}
108
109#login-form a {
110 text-decoration: none;
111}
112
113#login-form input[type="button"] {
114 top: 25px;
115 width: 245px;
116 height: 30px;
117 cursor: pointer;
118 letter-spacing: 0.02em;
119 font-size: 100%;
120 color: #3C3C3C;
121 background-color: lightgray;
122 transition: background-color 0.4s;
123}
124
125#login-form input[type="button"]:hover {
126 color: white;
127 background-color: rgb(122, 188, 229);
128}
129
130#login-form input.ng-invalid.ng-touched {
131 background-color: #CE5650;
132 color: white;
133}