-
Notifications
You must be signed in to change notification settings - Fork 0
/
buttons.less
129 lines (109 loc) · 2.41 KB
/
buttons.less
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
125
126
127
128
129
/*
Reset Default behavior for focused inputs and links Chrome;
*/
a:focus,
input[type="text"]:focus,
button:focus{
outline: none;
}
/*
Adding Button States: on hover + active;
*/
.slide-small__link{
overflow: hidden;
//background-color: transparent;
background-image: url(images/buttons-overlay.png);
background-position: -300px 0;
background-repeat: no-repeat;
border-radius: 20px;
transition: background-position linear 0.25s;
&:hover{
transition: background-position linear 0.25s;
background-position: 0 0;
}
&:hover,
&:focus{
}
&:active,
&.active{
top: 2px;
}
}
.slide-long__link:nth-child(2),
.slide-long__btn,
.login__social-block .login__social-link,
.login__sign-in{
max-width: 250px;
}
.slide-long__link:nth-child(2),
.slide-long__btn,
.login__social-block .login__social-link,
.login__sign-in{
overflow: hidden;
position: relative;
//background-color: transparent;
background-image: url(images/buttons-overlay.png);
background-position: -300px 0;
background-repeat: no-repeat;
//border-radius: 20px;
transition: background-position linear 0.25s;
&:hover{
transition: background-position linear 0.25s;
background-position: 0px 0;
}
&:hover,
&:focus{
}
&:active,
&.active{
top: 2px;
}
}
.slide-long__link:nth-child(2){
background-image: url(images/buttons-overlay-green.png);
}
.slide-long__btn{
background-image: url(images/buttons-overlay-lred.png);
}
.login__social-block .login__social-link{
&.facebook{
background-image: url(images/buttons-overlay-fb.png);
}
&.google{
background-image: url(images/buttons-overlay-gp.png);
}
&.linkedin{
background-image: url(images/buttons-overlay-lnkin.png);
}
&:active,
&.active{
top: 2px;
}
}
.login__sign-in{
background-image: url(images/buttons-overlay-lred-small.png);
}
.table__footer-link{
border-radius: 18px;
background: #d71036 url(images/buttons-overlay-lred-small.png) -300px 0 no-repeat;
transition: background-position linear 0.25s;
white-space: nowrap;
&:hover{
transition: background-position linear 0.25s;
background-position: 0px 0;
}
&:hover,
&:focus{
}
&:active,
&.active{
top: 2px;
}
}
.table__footer-link.table__footer-link--green{
background-color: #58ab3b;
background-image: url(images/buttons-overlay-green.png);
}
input[type="text"]:focus{
text-shadow: 0 0 10px #fff;
}