forked from scala/docs.scala-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscala-ecosystem.scss
executable file
·125 lines (105 loc) · 3.09 KB
/
scala-ecosystem.scss
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
// SCALA ECOSISTEM
//------------------------------------------------
//------------------------------------------------
#site-main {
.scala-ecosystem {
padding-bottom: 0;
background: url("../img/frontpage/background-scala-ecosystem.png") no-repeat center bottom $gray-li;
@include image-size();
.heading-line {
@include clearfix;
h2 {
span {
background: #234D57;
}
}
}
.browser {
.header-browser {
background: $gray-dark;
padding: 14px 20px;
@include display(flex);
@include align-items(center);
@include justify-content(space-between);
img {
width: 116px;
height: auto;
}
img:last-child {
width: 86px;
height: auto;
}
}
.main-browser {
background: rgba($gray, 0.5);
transition: $base-transition;
text-align: center;
padding: 70px 0 80px;
h2 {
color: #fff;
font-size: 2.5rem;
margin-bottom: 24px;
}
.input-control {
position: relative;
background: #333;
width: 550px;
margin-left: auto;
margin-right: auto;
color: $base-font-color-light;
span {
position: absolute;
left: 20px;
top: 8px;
}
input {
padding: 12px 18px 12px 50px;
border-radius: $border-radius-small;
width: 100%;
font-weight: $font-bold;
}
}
@include bp(medium) {
padding-left: 20px;
padding-right: 20px;
h2 {
font-size: 1.4rem;
}
.input-control {
width: 100%;
}
}
}
}
&:hover {
.main-browser {
background: $gray;
padding-bottom: 140px;
}
}
}
.autocomplete-suggestions {
border: 1px solid $gray-light;
background: #FFF;
overflow: auto;
}
.autocomplete-suggestion {
padding: 2px 5px;
white-space: nowrap;
overflow: hidden;
}
.autocomplete-selected {
background: $gray-lighter;
}
.autocomplete-suggestions strong {
font-weight: normal;
color: $gray-dark;
}
.autocomplete-group {
padding: 2px 5px;
}
.autocomplete-group strong {
display: block;
border-bottom: 1px solid $gray-light;
}
}