forked from ericwoodruff/passwordhasherplus
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathui.css
64 lines (63 loc) · 1.57 KB
/
ui.css
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
.hidden {
display: none;
}
.form-group ul {
list-style: none;
padding: 0;
margin: 0;
}
.form-group li {
padding:0;
margin:0;
padding-left:6px;
}
.form-group label {
padding:0px;
margin:0px;
width: auto;
}
.form-group input {
vertical-align: middle;
}
.col {
float: left;
}
/* XXX: the following should be applied by the browser, all rules below this
* comment are copied directly from chrome://browser/content/extension.css
*
* However, even though according to the inspector, the styles are applied, on
* Linux the textboxes retain their ubuntu-esque look, so we replicate the rules
* here
*/
.browser-style > input[type="password"]{
height: 24px;
}
.browser-style > input[type="password"],
.browser-style > input[type="text"] {
border:1px solid #b1b1b1;
box-shadow:0 0 0 rgba(97, 181, 255, 0);
padding:0 6px 0;
transition-duration:250ms;
transition-property:box-shadow;
}
.browser-style > input[type="password"].hover,
.browser-style > input[type="text"].hover {
border: 1px solid #858585;
}
.browser-style > input[type="password"].disabled,
.browser-style > input[type="text"].disabled {
color: #999;
opacity: .5;
}
/* Interactive States */
.browser-style > input[type="password"]:not(disabled):hover,
.browser-style > input[type="text"]:not(disabled):hover {
border: 1px solid #858585;
}
.browser-style > input[type="password"]:focus,
.browser-style > input[type="password"]:focus:hover,
.browser-style > input[type="text"]:focus,
.browser-style > input[type="text"]:focus:hover {
border-color: #0996f8;
box-shadow: 0 0 0 2px rgba(97, 181, 255, 0.75);
}