blob: f7d5f67beea080bd647894cab937510656a0d9ec [file] [log] [blame]
Matteo Scandolo5d568612016-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}
76#login-form input[type="text"] {
77 top: -90px;
78}
79#login-form input[type="password"] {
80 top: -35px;
81}
82
83#login-form input[type="text"],
84#login-form input[type="password"] {
85 border: 2px solid rgba(115, 115, 115, 0.7);
86 transition: border 0.1s;
87}
88#login-form input[type="text"]:focus,
89#login-form input[type="password"]:focus,
90#login-form input[type="button"]:focus {
91 outline: none;
92 border: solid 2px rgba(122, 188, 229, 0.5);
93}
94
95#login-form a {
96 text-decoration: none;
97}
98
99#login-form input[type="button"] {
100 top: 25px;
101 width: 245px;
102 height: 30px;
103 cursor: pointer;
104 letter-spacing: 0.02em;
105 font-size: 100%;
106 color: #3C3C3C;
107 background-color: lightgray;
108 transition: background-color 0.4s;
109}
110
111#login-form input[type="button"]:hover {
112 color: white;
113 background-color: rgb(122, 188, 229);
114}
115
116#login-form input.ng-invalid.ng-touched {
117 background-color: #CE5650;
118 color: white;
119}