-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (80 loc) · 1.91 KB
/
style.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
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
body{
background: #343d46;
background-image: url('bg.jpg');
}
.title{
margin-top: 5%;
margin-left: auto;
margin-right: auto;
}
.box{
margin-top: 5%;
margin-left: auto;
margin-right: auto;
width: 300px;
height: 50px;
}
.container{
overflow: hidden;
width: 300px;
vertical-align: middle;
white-space: nowrap;
}
.container input#longurl{
width: 300px;
height: 50px;
background: #fff;
border: none;
font-size: 10pt;
float: left;
color: #4f5b66;
padding-left: 15px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-transition: background .55s ease;
-moz-transition: background .55s ease;
-ms-transition: background .55s ease;
-o-transition: background .55s ease;
transition: background .55s ease;
}
.container input#longurl::-webkit-input-placeholder {
color: #fff;
}
.container input#longurl::-moz-placeholder { /* Firefox 18- */
color: #fff;
}
.container input#longurl::-moz-placeholder { /* Firefox 19+ */
color: #fff;
}
.container input#longurl:-ms-input-placeholder {
color: #fff;
}
.container button.icon{
-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
-moz-border-radius-topright: 5px;
-moz-border-radius-bottomright: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border: none;
background: #fff;
height: 50px;
width: 50px;
color: #4f5b66;
opacity: 0;
font-size: 10pt;
-webkit-transition: all .55s ease;
-moz-transition: all .55s ease;
-ms-transition: all .55s ease;
-o-transition: all .55s ease;
transition: all .55s ease;
}
.container:hover button.icon, .container-4:active button.icon, .container-4:focus button.icon{
outline: none;
opacity: 1;
margin-left: -50px;
}
.container:hover button.icon:hover{
background: white;
}