Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 52b74f24

Přidáno uživatelem Martin Sebela před více než 3 roky(ů)

Re #8159 - full height clickable dropdown dataset, fixed tests

Zobrazit rozdíly:

website/public/css/style.css
143 143
  font-size: 16px;
144 144
  text-transform: uppercase;
145 145
  font-weight: 800;
146
  letter-spacing: 0.4px;
146
  letter-spacing: .4px;
147 147
  border-radius: 0;
148 148
  border: #0048A9;
149 149
  background: #004fb3;
......
227 227
  text-transform: uppercase;
228 228
  font-size: 21px;
229 229
  font-weight: 700;
230
  letter-spacing: 0.53px;
230
  letter-spacing: .53px;
231 231
}
232 232

  
233 233
@media (min-width: 992px) {
......
239 239
h2 {
240 240
  font-size: 16px;
241 241
  font-weight: 400;
242
  letter-spacing: 0.4px;
242
  letter-spacing: .4px;
243 243
}
244 244

  
245 245
@media (min-width: 992px) {
......
251 251
h3 {
252 252
  font-size: 38px;
253 253
  font-weight: 800;
254
  letter-spacing: 0.95px;
254
  letter-spacing: .95px;
255 255
}
256 256

  
257 257
@media (max-width: 575.98px) {
......
1206 1206
}
1207 1207

  
1208 1208
header.map .nav-item:nth-child(3) {
1209
  margin-top: 0;
1210
  margin-bottom: 0;
1209 1211
  border: 0;
1210 1212
}
1211 1213

  
1214
header.map .nav-item:nth-child(3) .dropdown {
1215
  display: flex;
1216
  height: 100%;
1217
}
1218

  
1212 1219
header.map .nav-item:last-child {
1213 1220
  margin-top: 0;
1214 1221
  margin-bottom: 0;
website/public/css/style.scss
118 118
        border-radius: 20px;
119 119

  
120 120
        &:hover {
121
          background: #004fb3;
121
          background: $primary-bg-color-darker;
122 122
        }
123 123
      }
124 124
    }
......
136 136
    }
137 137

  
138 138
    &:hover {
139
      background: #004fb3;
139
      background: $primary-bg-color-darker;
140 140
    }
141 141
  }
142 142

  
......
145 145
    font-size: 16px;
146 146
    text-transform: uppercase;
147 147
    font-weight: 800;
148
    letter-spacing: 0.4px;
148
    letter-spacing: .4px;
149 149
    border-radius: 0;
150 150
    border: $primary-bg-color;
151
    background: #004fb3;
151
    background: $primary-bg-color-darker;
152 152

  
153 153
    &:hover {
154 154
      background: $primary-bg-color !important;
......
223 223
  text-transform: uppercase;
224 224
  font-size: 21px;
225 225
  font-weight: 700;
226
  letter-spacing: 0.53px;
226
  letter-spacing: .53px;
227 227

  
228 228
  @include media-breakpoint-up(lg) {
229 229
    line-height: 55px;
......
233 233
h2 {
234 234
  font-size: 16px;
235 235
  font-weight: 400;
236
  letter-spacing: 0.4px;
236
  letter-spacing: .4px;
237 237

  
238 238
  @include media-breakpoint-up(lg) {
239 239
    margin: 0;
......
243 243
h3 {
244 244
  font-size: 38px;
245 245
  font-weight: 800;
246
  letter-spacing: 0.95px;
246
  letter-spacing: .95px;
247 247

  
248 248
  @include media-breakpoint-down(xs) {
249 249
    font-size: 28px;
......
279 279
  position: relative;
280 280
}
281 281

  
282
// OBRÁZKY VE SLIDECH NA ÚVODNÍ STRÁNCE
282 283
.swiper-slide {
283 284
  display: flex;
284 285
  justify-content: center;
......
312 313
  }
313 314
}
314 315

  
315
// TEXT VE SLIDU
316
// TEXT VE SLIDU NA ÚVODNÍ STRÁNCE
316 317
.slide-text {
317 318
  width: 600px;
318 319
  padding-bottom: 160px;
......
1116 1117
  margin-bottom: auto;
1117 1118

  
1118 1119
  &:nth-child(3) {
1120
    margin-top: 0;
1121
    margin-bottom: 0;
1119 1122
    border: 0;
1123

  
1124
    .dropdown {
1125
      display: flex;
1126
      height: 100%;
1127
    }
1120 1128
  }
1121 1129

  
1122 1130
  &:last-child {
website/tests/Controller/HeatmapControllerTest.php
31 31
        $this->assertTrue($client->getResponse()->isSuccessful());
32 32
    }
33 33

  
34
    /*     public function testFormSubmit() {
35
            $client = static::createClient();
36
            $client->request('GET', '/heatmap');
37

  
38
            $crawler = $client->submitForm('Potvrdit výběr');
39
            $this->assertTrue($client->getResponse()->isSuccessful());
40

  
41
            $crawler = $client->submitForm(
42
                'Potvrdit výběr',
43
                [
44
                    'date' => '2019-04-11',
45
                    'time' => '0',
46
                    'type[1]' => 'JIS',
47
                ]
48
            );
49
            $this->assertTrue($client->getResponse()->isSuccessful());
50
        }
51

  
52
        public function testFormSubmitInvalid() {
53
            $client = static::createClient();
54
            $client->request('GET', '/heatmap');
55

  
56
            $crawler = $client->submitForm(
57
                'Potvrdit výběr',
58
                [
59
                    'date' => '11-04-2019',
60
                    'time' => '0',
61
                    'type[1]' => 'JIS',
62
                ]
63
            );
64
            $this->assertTrue($client->getResponse()->isSuccessful());
65
        } */
34
    public function testFormSubmit() {
35
        $client = static::createClient();
36
        $client->request('GET', '/heatmap');
37

  
38
        $crawler = $client->submitForm('btn-update-heatmap');
39
        $this->assertTrue($client->getResponse()->isSuccessful());
40

  
41
        $crawler = $client->submitForm(
42
            'btn-update-heatmap',
43
            [
44
                'date' => '2019-04-11',
45
                'time' => '0',
46
                'type[1]' => 'JIS',
47
            ]
48
        );
49
        $this->assertTrue($client->getResponse()->isSuccessful());
50
    }
51

  
52
    public function testFormSubmitInvalid() {
53
        $client = static::createClient();
54
        $client->request('GET', '/heatmap');
55

  
56
        $crawler = $client->submitForm(
57
            'btn-update-heatmap',
58
            [
59
                'date' => '11-04-2019',
60
                'time' => '0',
61
                'type[1]' => 'JIS',
62
            ]
63
        );
64
        $this->assertTrue($client->getResponse()->isSuccessful());
65
    }
66 66

  
67 67
    public function testOpenDataAjax() {
68 68
        $client = static::createClient();

Také k dispozici: Unified diff