barra-copa.scss
2.52 KB
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
$borderPadrao: 1px solid #D3A725;
$widthPadrao: 960px;
#barra-brasil {
div, a, ul, li {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
line-height: 32px;
}
ul {
list-style: none;
}
height: 32px;
background: #FCCA00;
font-weight: bold;
font-size: 13px;
line-height: 32px;
font-family: "Open Sans",Arial,Helvetica,sans-serif;
border-bottom: $borderPadrao;
a {
text-decoration: none;
}
}
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
src: local("Open Sans Bold"), local("OpenSans-Bold"), url("//barra.brasil.gov.br/static/opensans-bold.woff") format("woff");
}
div#wrapper-barra-brasil {
position: relative;
overflow: hidden;
margin: 0 auto;
width: 100%;
max-width: $widthPadrao;
}
#barra-brasil {
.brasil-flag {
float: left;
padding: 7px 0 6px;
width: 116px;
height: 19px;
border-right: $borderPadrao;
.link-barra {
display: block;
padding-left: 42px;
width: 43px;
background:embed("imagens/bandeira-brasil.png") 8px center no-repeat;
text-transform: uppercase;
line-height: 19px;
}
}
.acesso-info {
float: left;
padding: 0 13px;
border-right: $borderPadrao;
}
.copa-counter {
position: absolute;
top: 0;
left: 343px;
padding: 0;
color: #138542;
width: 210px;
text-align: center;
> span {
margin: 0 2px 0 1px;
}
span span {
background:embed("imagens/counter-bg.png") no-repeat;
color: #FCCA00;
display: inline-block;
width: 16px;
height: 22px;
margin-left: 1px;
text-align: center;
line-height: 22px;
}
}
.portal-copa {
float: left;
padding: 0 13px;
color: #138542;
border-right: $borderPadrao;
}
.list {
position: absolute;
top: 0;
right: 0;
border-left: $borderPadrao;
.first! {}
}
.list-item {
display: inline-block;
padding: 0 15px 0 14px;
height: 32px;
float: left;
border-right: $borderPadrao;
}
.list! .last {}
.link-barra {
color: #138542;
}
}
@media screen and (max-width: 870px) {
#barra-brasil {
.list {
top: -100px;
}
.copa-counter, .portal-copa {
display: none;
}
}
}
@media screen and (min-width: $widthPadrao) {
#wrapper-barra-brasil {
width: $widthPadrao;
}
}