style.less 13.6 KB
Newer Older
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
/* COLORS */

@black: #000000;
@orange: #FF6633;
@blue: #0000FF;
@white: #FFFFFF;

/* SIZES*/

@xxs: 8px;
@xs: 10px;
@s: 12px;
@m: 16px;
@l: 20px;
@xl: 36px;
@xxl: 60px;
@xxxl: 80px;

@player-width: 210px;
@content-width: 498px;
@breves-width: 370px;
/*@wrapper-width: @player-width + 60px + @content-width + 50px + @breves-width;*/
@wrapper-width:auto;
@import "mixins";
@import "forms";
@import "tags";

/* Mixins & USEFUL CLASSES */
.squash(@x, @y: 1) {
    transform: scale(@x, @y);
    -webkit-transform: scale(@x, @y);
    -moz-transform: scale(@x, @y);
    -ms-transform: scale(@x, @y);
    -o-transform: scale(@x, @y);
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
	width:200%;
    }

.focusFade {
    -webkit-transition-property: color;
    -webkit-transition-duration: 0.2s;
    -webkit-transition-timing-function: ease;
    }

.extra-margin {
    margin-bottom: 16px;
}
51
52
53
54
55
.ellipsis{
   white-space: nowrap;
   text-overflow: ellipsis;
   overflow: hidden;
}
56
57
58
59
60
    
.wrapper {
    width: @wrapper-width;
    .clearfix
}
61
62
.symbol, .control, .controls {
    font-family: RE06;line-height: 1em;
63
64
}    

Simon Daron's avatar
Simon Daron committed
65
.symbol:hover,.control:hover{
Simon Daron's avatar
Simon Daron committed
66
    color: @blue;
67
    }
Simon Daron's avatar
Simon Daron committed
68
69
70
71
72
73
74
75
76
77
78
79
80
81


.label {
    text-transform: uppercase;
    font-family: Reglo;
    letter-spacing:1px;
    font-size:@m;
    background-color:@black;
    position: absolute;
    left:10px;
    top:-5px;
    color:white;
    padding:5px 7px 0px 7px;
}
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/*
.symbol {
    font-family: RE06;
    font-size: @xxl*1.5;
    line-height: 80%;
}

.symbol-absolute {
    position:absolute;
    font-family: RE06;
    font-size: @xxl*2;
    line-height: 80%;
    float: left;
    top:21px;
    left:68px;
}
*/
.block {display:block;}
Simon Daron's avatar
Simon Daron committed
100
button.control, button.symbol{background:transparent;border:none;margin:0;padding:0;}
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
nav.menu{
	width:100%;
	text-align: justify;
	text-justify: distribute-all-lines;
}
nav.menu li{
	display: inline-block;
	margin-right:2em;
}
/* GLOBAL STYLES */

body {
    background-color: @white;
    color: #000305;
    font-size: @s;
    font-family: RE01;
    line-height: 1.5;
    text-align: left;
    margin:@l+5px auto;
    /*padding: 0px 10px;*/
    clear: both;
}
Simon Daron's avatar
Simon Daron committed
123
#main {padding:2em 1em;}
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210

/* GLOBAL SITE NAV */

#search-form{content:'Rechercher';}
#search-form:focus{content:'';}
#metaNav {
	color:white;
	background-color: lighten(@black, 10%);
	position:fixed;
	top:0px;
	width:100%;
	font-family: Reglo;
	text-transform: uppercase;
	font-size: @s*1.2;
}
#metaNav input {float:right;width:150px;margin:0.3em;}
#metaNav nav{
	padding: 0.3em;
	margin-right:150px;
}

#metaNav nav{
}
#metaNav ul,#metaNav li{margin:0 !important;padding:0 !important;}
#metaNav ul li{
	display: inline-block;
	max-width:20%;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow:hidden;
}
#metaNav ul li a{
	color:white;
	margin-right:1em;
	letter-spacing:1px;
}


#siteNav > div {
    float:left;
    }

#advanced > div {
    float: left;
}

#siteNav h2 {
    font-size: 120px;
    font-family: Reglo;
    text-transform: uppercase;
    .squash(.5);
    }
    
.menuMedia {
    color: @orange;
    width: @player-width;
    a, a:active, a:visited {
        color: @orange;
    }
}

.menuEmissions {
    color: @black;
    width: @content-width;
    margin-left:60px;
}

.menuNews {
    color: @blue;
    width: @breves-width;
    margin-left:50px;
    a, a:active, a:visited {
      color: @blue;
    }
}


.absolute {
    background-color:@orange;
    position: absolute;
    left:10px;
    top:-5px;
    color:white;
    padding:5px 7px 0px 7px;
}


211
212
/****************************************************/
/**** PLAYER ****/
Simon Daron's avatar
Simon Daron committed
213
214
215
216
217
218
219
220
221
222
223
224
225
#player{
    color: @orange;    
}
#player .label {
	background:@orange;  
}
#player .symbol{
    color: @orange;    
    font-size: @xxl;
}
#player .direct .control {
	font-size: @xxxl;
	position:absolute;
226
	left:50%;
Simon Daron's avatar
Simon Daron committed
227
	top:30px;
228
	margin-left:-@xxl/2;
Simon Daron's avatar
Simon Daron committed
229
}
230

Simon Daron's avatar
Simon Daron committed
231
#Home #player{
232
233
    float: left;
    width: @player-width;
Simon Daron's avatar
Simon Daron committed
234
235
236
237
}

#player .direct {
	position:relative;
238
239
240
241
}

#player a, #player a:visited, #player a:active {
    color: lighten(@orange, 20%);
Simon Daron's avatar
Simon Daron committed
242
}
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266

#player .date {
    font-size: @m;
    clear: both;
    margin-top:5px;
}

#player .meta {
        font-size: @m;
    }

#player .time {
    font-family: RE01;
    font-size: @m;
    line-height: 115%;
    margin-bottom:12px;
}

#player .controls {
    text-align: center;
    margin: 0px 0 15px 0;
    border-top: 3px solid @orange;
}

Simon Daron's avatar
Simon Daron committed
267

268
269
270
271
272
#player hr {
    height: 1px;
    border: 0;
    border-top: 3px solid @orange;
}
Simon Daron's avatar
Simon Daron committed
273
274
275
#player .current{
	margin-top:1em;
}
276
277

.previousNext {
Simon Daron's avatar
Simon Daron committed
278
279
280
	margin: 40px 0 16px 0;
	height: 22px;
}
281
282
    
.previousNext .symbol {
Simon Daron's avatar
Simon Daron committed
283
284
285
286
287
288
289
290
291
	width:50px;
	height: 22px;
	background-color:@orange;
	color:white;
	font-size:@l;
	text-align:center;
	margin-right:2px;
	padding-top:6px;
}
292
293
    
.playlist .item {
Simon Daron's avatar
Simon Daron committed
294
295
296
	min-height:60px;
	margin:20px 0;
}
297
298
   
#player img {
Simon Daron's avatar
Simon Daron committed
299
	border: 2px solid @orange;
300
301
302
} 
.direct img {
	width:100%;
Simon Daron's avatar
Simon Daron committed
303
304
305
306
}
.playlist .item img{
	float:left;
}
307
308
309



310
311
312
/****************************************************/
/**** EMISSIONS ****/
/**** Detail	****/
313
314
315
316
317
318
319
320
321
322
.emission{max-width:600px;margin:auto;}
.emission nav{
	margin-bottom:2em;
	font-family: RE03;
	text-transform: uppercase;
	font-size: @s;
}
.emission nav a.active, .emission nav a:hover{
    border-bottom: 3px solid @black;text-decoration:none;
}
Simon Daron's avatar
Simon Daron committed
323
324
325
326
327
328

.emission-detail .title{
	.squash(0.5);
	text-transform: uppercase;
}
.emission-detail .metas {
329
330
331
332
    float: left;
    width: 40%;
    margin: 0 1em 1em 0 ;
    }
Simon Daron's avatar
Simon Daron committed
333
.emission-detail .logo{max-width:50%;}
334
335
336
337
338
339
340
341
@media screen and (max-width: 300px) {
	.emission-metas {
		float: none;
		width: auto;
		margin: 0;
	}
	.emission .logo{max-width:100%;}
}
Simon Daron's avatar
Simon Daron committed
342
.emission-detail .schedule{
343
344
345
346
347
	font-family: RE03;
	line-height: 175%;
	font-size: 17.6px;
	text-transform: inherit;
}
Simon Daron's avatar
Simon Daron committed
348
.emission-detail .control {
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
    text-transform: uppercase;
    font-family: Reglo;
    font-size:@m;    
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.emission .control .symbol{
    font-size: @xxl*1.5;
    line-height: 80%;
	float:left;
}
.emission .control .listen{
	line-height:5em;
}
Simon Daron's avatar
Simon Daron committed
364
.emission .website{
365
366
367
368
369
370
371
372
373
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.emission .contact{
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402

.emission .mainHeader {
    overflow: hidden;
    margin-bottom:1.5em;
}

.emission .mainHeader nav {
    height: 65px;
    margin-top: 20px;
}

.emission .mainHeader nav ul {
    font-size: @l;
    font-family: Reglo;
    text-transform: uppercase;
    margin-bottom: 45px;
    transform : scale(1,2);
    -webkit-transform:scale(1,2);
    -moz-transform:scale(1,2);
    -ms-transform:scale(1,2);
    -o-transform:scale(1,2);
    line-height:1%;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    letter-spacing:1px;
}

403
.emission .mainHeader nav ul li {
404
405
406
407
408
    float: left;
    display: inline;
    width:50%;
}

409
410
.emission .mainHeader nav a:link,
 .emission  .mainHeader nav a:visited {
411
412
413
414
415
416
417
    color: @black;
    display: inline-block;
    width: 249px;
    padding: 20px 0px;
    text-align: center;
}

418
419
420
.emission .mainHeader nav a:hover,
 .emission .mainHeader nav a:active, .mainHeader nav .active a:link,
  .emission  .mainHeader nav .active a:visited {
421
422
423
424
    color: white;
    background-color: @black;
}

425
/**** Inline	****/
426
427
428
429
430
431
432
.emission-inline {
    padding:0.5em;
    min-height: 2.5em;
    border-bottom: 1px solid #000000;
    overflow:hidden;
}

433
.emission-inline div.date {
434
435
436
437
438
439
440
	min-height: 3em;
	text-align: center;
	display:inline-block;
	float:left;
	margin-right:1em;
}

441
.emission-inline .date span {
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
	display:inline-block;
	font-family: RE03;
	text-transform: uppercase;
	font-size: @s;
	line-height: 100%;
}

.emission-inline .controls {
    margin-top:0px;
    text-align: center;
    float:right;
}

.emission-inline .controls .symbols {
    font-size:@xl;
    width:20px;
    margin-right:5px;
    float:left;
}
.emission-inline .link {
	display:block;
    padding-right: 50px;
}
.emission-inline .archived *{
	color:#aaa;
}

.emission-inline .link .description {
470
471
472
473
	font-size: @s;
	margin: 0px 0 5px 0;
	font-family: RE02;
	line-height: 115%;
474
475
}

476
477
478
479
ul.tagsArchives {
	margin-top:5px;
	overflow:hidden;
	margin-bottom:15px;
480
481
}

482
483
484
485
486
487
488
489
490
491
492
493
ul.tagsArchives li {
	font-size: @xxs;
	font-family: RE03;
	letter-spacing: 1px;
	text-transform: uppercase;
	float: left;
	border: 1px solid @black;
	margin: 2px 2px;
	padding: 3px 3px 0px 3px;
	border-radius: 7px;
	-moz-border-radius: 7px;
}
494

495
496
497
498
499
/**** EPISODE ****/
/**** Detail	****/
.episode-detail {
	border-top: 3px solid @black;
	min-height: 100px;
500
501
}

502
503
504
.episode-detail img {
	margin-top: 17px;
	border: 2px solid @black;
505
506
}

Simon Daron's avatar
Simon Daron committed
507
508
509
.episode-detail .title{

}
510
511
512
513
514
.episode-detail .date{
	float: left;
}
.episode-detail .logo,.episode-detail .controls{
	float: right;
515
516
}

517
.episode-detail .date {
518
519
	font-family: Reglo;
	text-transform: uppercase;
520
521
522
	width: 50px;
	text-align: center;
	margin-right: 5px;
523
}
524
525
526
.episode-detail .date *{
	line-height: 100%;
}
527
528
.episode-detail .date .day, .emission-detail .date .day {
	margin-top: 20px;
529
	font-size: @l*1.6;
530
}
531

532
533
.episode-detail .date .number {
	font-size: @l*1.6;
534
535
}

536
537
538
539
.episode-detail .date .month {
	font-size: @s*0.9;
	margin-bottom:1em;
}
540
541
.episode-detail .date .time, .emission-details .time {
	margin: 5px 0 10px 0;
542
	font-size: @m;
543
}
544

545
546
547
548
549
550
551
552
.episode-detail .content {
	padding-right: 100px;
	padding-left: 60px;
}

.episode-detail .content .title {
	margin: 16px 0 10px 0;	
}
553

554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
.episode-detail .episode-detail .credits dt {
	letter-spacing:1px;
	font-size: @s*1.1;
	font-family: RE03;
	line-height: 133%;
}

.episode-detail .episode-detail .credits dd {
	letter-spacing:1px;
	font-size: @s;
	font-family: RE01;
	line-height: 150%;
	margin-left: 4px;
}

.episode-detail div.header-image {
	width: 104px;
	margin-right:10px;
}

.episode-detail div.controls {
	width: 77px;
	text-align: center;
	font-size: @xxl;
}




/****************************************************/
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
/**** Breves ****/

.breves, #content.breve {
    color:@blue;
    a, a:visited, a:active {
        color:@blue;
    }
    a:hover{
        color: lighten(@blue, 30%);
    }
}

.breves {
    width: @breves-width;
    float: left;
    margin-left: 50px;
}

.breves img {
    border: 2px solid @blue;
}

.breves-header span {
    background-color: @blue;
    color: white;
    padding: 10px @s;
    height: @s;
    font-size: @s;
    font-family: RE03;
    text-transform: uppercase;
    display: inline-block;
}

.breves h4 {
  clear:both;
    margin:10px 0 16px 0;
    }
    

    
.label p{
  margin-top:5px;
  margin-right:5px;
  float:left;
  text-decoration:underline;
  }
    
.breves-big {
    width:350px;
    margin:0 10px;
    float:left
}
    


.breves-small {
    width:165px;
    margin:0 10px;
    float:left
    }

.breves .suite {
    margin:10px 0 40px 0;
    height:20px;
    width:124px;
    background-color: @blue;
    clear:both;
    margin-left: 10px;
    }
    
.breves .symbol {
    margin:2px 5px;
    color:white;
    font-size:@l;
    }


.breves .suite p {
    color: white;
    text-transform: uppercase;
    letter-spacing:1px;
    font-family: RE02;
    font-size:@xs;
    padding-top:4px;
    }
    
.breves-image {
    position: relative;
}
    
.breves .trans {
    text-transform: uppercase;
    font-family: Reglo;
    letter-spacing:1px;
    font-size:@m;
    background-color:@blue;
    position: absolute;
    left:10px;
    top:-5px;
    color:white;
    padding:5px 7px 0px 7px;
}
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794



/**** TO REWRITE ****/

#content {
    width: @content-width;
    float: left;
    margin-left: 60px;
}

#content.wide {
    width: 498px + 50px + 370px;
}
/* The h1 needs to be two times bigger, than it’s containing box, because with the matrix transform we’re going to squash it in 2 */
#content h1 {
    width: 996px;    
    }
    
#content h3 {
    margin-bottom:30px;
    }

a, .menuEmissions a, a:visited, .menuEmissions a:visited, a:active, .menuEmissions a:active {
    color: lighten(@black, 20%);
    }

#content hr {
    display: block;
    height: 1px;
    border-top: 3px solid @black;
}




.accordion {
    margin-bottom:50px;
    }

.accordion .slide-out {
    display: none;
    }

    
 .accordion .strip {
     margin:2px 0;
     height:20px;
    background-color: @black;
    color: white;
    font-family:RE02;
    text-transform: uppercase;
    letter-spacing:1px;
    font-size:@xs;
    padding-top:4px;
    .focusFade();
    cursor: pointer;
    }
    
.accordion .strip:hover {
    background-color: @black;
    }
    
.accordion .symbol {
        color: white;
        font-size:@l;
        margin: 0px 5px;
}

.a-propos {
    margin: 30px 10px;
    }

.a-propos p {
    margin-bottom:15px;
    }
    
.a-propos h4 {
    margin:15px 0;
    height: 12px;
    background-color:@black;
    color:white;
    font-family:RE02;
    padding:4px;
    letter-spacing:1px;
    font-size:@xs;
    display:inline-block;
    }
    


.associated-sounds {
    margin: 30px 0;
    .symbols {
        font-size:@xl*1.3;
        float: right;
        line-height:50%;
    }
    .soundGrey {
        background-color:#D0D0D0;
    }
   div.item {
       margin-top: 20px;
       padding: 10px;
       }
    h3 {
        margin-bottom:30px;
    }
    }
Simon Daron's avatar
Simon Daron committed
795
796
797
798
799
800
   

.todo:hover, .todo *:hover{
	text-decoration: line-through;
	color:red !important;
} 
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before, .cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}