style.scss 22 KB
Newer Older
Krophil's avatar
Krophil committed
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
$first-color: hsl(220, 100%, 50%);
$second-color: hsl(40, 100%, 50%);
$primary-color: hsl(219.9, 53.7%, 50%);
$secondary-color: hsl(40.1, 78.0%, 50%);
$primary-color-text: hsl(0, 0%, 100%);
$secondary-color-text: hsla(0, 0%, 0%, 0.87);

$primary-light-color: hsl(219.8, 46.4%, 64.9%);
$primary-dark-color: hsl(219.8, 46.4%, 35.1%);

$secondary-light-color: hsl(40, 68%, 65%);
$secondary-dark-color: hsl(40, 68%, 35%);


$primary-neutral-color: hsl(219.6, 20.8%, 50%);
$primary-neutral-light-color: hsl(219.6, 20.8%, 83%);
$primary-neutral-dark-color: hsl(219.6, 20.8%, 17%);

$secondary-neutral-color: hsl(40, 57.6%, 50%);
$secondary-neutral-light-color: hsl(40, 57.6%, 83%);
$secondary-neutral-dark-color: hsl(40, 57.6%, 17%);

$white-color: hsl(219.6, 20.8%, 98%);
$black-color: hsl(40.0, 0%, 17%);

Krophil's avatar
Krophil committed
26
27
$faceblue: #3B5998;
$twitblue: #55acee;
Krophil's avatar
Krophil committed
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



/*--------------------------------GENERAL------------------------------*/

body {
  background-color: $primary-neutral-light-color;
  position: relative;
  width: 100%;
  font-family: sans-serif;
}

a {
  text-decoration: none;
  color: $primary-dark-color;
  &:hover {
    color: $primary-light-color;
  }
  &:active {
    color: $primary-color;
  }
}

.ib {
  display: inline-block;
Skia's avatar
Skia committed
53
54
  padding: 1px;
  margin: 1px;
Krophil's avatar
Krophil committed
55
56
57
58
59
60
61
}

.w_big {
  width: 75%;
}

.w_medium {
Skia's avatar
Skia committed
62
  width: 47%;
Krophil's avatar
Krophil committed
63
64
65
}

.w_small {
Skia's avatar
Skia committed
66
  width: 23%;
Krophil's avatar
Krophil committed
67
68
69
70
}

/*--------------------------------HEADER-------------------------------*/

Skia's avatar
Skia committed
71
72
#header_language_chooser {
  position: absolute;
Skia's avatar
Skia committed
73
74
75
  top: 0.2em;
  right: 0.5em;
  width: 3%;
Skia's avatar
Skia committed
76
77
78
79
80
81
82
83
84
  text-align: center;
  input {
    display: block;
    width: 100%;
    padding: 0px;
    margin: 0px;
  }
  form {
    display: block;
Skia's avatar
Skia committed
85
86
    margin: 0.2em 0em;
    width: 100%;
Skia's avatar
Skia committed
87
  }
Krophil's avatar
Krophil committed
88
89
90
}

header {
Skia's avatar
Skia committed
91
  width: 90%;
Skia's avatar
Skia committed
92
  margin: 0px auto;
Skia's avatar
Skia committed
93
  display: flex;
Krophil's avatar
Krophil committed
94
95
  box-shadow: grey 1px 1px 5px;
  border: solid 1px grey;
Skia's avatar
Skia committed
96
97
  border-top: none;
  background-color: $primary-neutral-dark-color;
Skia's avatar
Skia committed
98
99

  #header_logo {
Krophil's avatar
Krophil committed
100
    display: inline-block;
Skia's avatar
Skia committed
101
102
    flex: none;
    background-size: 100% 100%;
Skia's avatar
Skia committed
103
    background-color: $white-color;
Skia's avatar
Skia committed
104
105
106
107
108
109
110
    padding: 0.2em;
    a {
      display: inline-block;
      margin: 0px;
      width: 100%;
      height: 100%;
    }
Krophil's avatar
Krophil committed
111
  }
Skia's avatar
Skia committed
112
113
114

  #header_connect_links {
    margin: 0.6em 0.6em 0em auto;
Skia's avatar
Skia committed
115
    color: $white-color;
Skia's avatar
Skia committed
116
117
118
119
120
121
122
123
124
    form {
      display: inline;
      width: 100%;
      label {
        display: inline;
      }
    }
    a {
      display: button;
Krophil's avatar
Krophil committed
125
126
    }
  }
Skia's avatar
Skia committed
127
128
129
130
131
132

  #header_bar {
    display: flex;
    flex: auto;
    width: 80%;

Skia's avatar
Skia committed
133
134
135
136
137
138
139
140
141
    a {
      text-decoration: none;
      margin: 0em 1em;
      color: $white-color;
      &:hover {
        color: $secondary-color;
      }
    }

Skia's avatar
Skia committed
142
143
144
145
146
147
148
149
150
151
152
153
154
155
    #header_bars_infos {
      width: 35ch;
      flex: initial;
      list-style-type: none;
      margin: 0.2em 0.2em;
    }

    #header_search {
      display: inline-block;
      flex: auto;
      margin: 0.8em 0em;
    }

    #header_user_links {
Skia's avatar
Skia committed
156
      display: flex;
Skia's avatar
Skia committed
157
158
159
      width: 120ch;
      flex: initial;
      text-align: right;
Skia's avatar
Skia committed
160
161
162
163
164
165
166
167
168
169
      margin: 0em;
      div {
        display: inline;
        padding: 1.2em 0em;
        &:first-child {
          flex: auto;
        }
      }
      .white {
        background: $white-color;
Skia's avatar
Skia committed
170
171
172
        a {
          color: $black-color;
        }
Skia's avatar
Skia committed
173
174
175
176
177
178
179
180
      }
      #header_notif {
        display: none;
        position: absolute;
        max-height: 20em;
        width: 22em;
        overflow: auto;
        list-style-type: none;
Krophil's avatar
Krophil committed
181
        box-shadow: grey 1px 1px 5px;
Skia's avatar
Skia committed
182
183
184
185
186
187
188
189
190
191
        background: white;
        text-align: left;
        font-size: 80%;
        margin: 1.5em 0em 0em -14em;
        .header_notif_date {
          font-weight: bold;
        }
        .header_notif_time {
          color: grey;
        }
Skia's avatar
Skia committed
192
193
194
195
196
197
198
        a {
          margin: 0em;
          color: $black-color;
          &:hover {
            color: $primary-dark-color;
          }
        }
Skia's avatar
Skia committed
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
        li {
          padding: 0.2em;
          &:hover {
            background: #bcc;
          }
        }
        li:last-child {
          text-align: center;
          a {
            color: $primary-dark-color;
            &:hover {
              color: $primary-light-color;
            }
          }
        }
      }
Skia's avatar
Skia committed
215
    }
Krophil's avatar
Krophil committed
216
217
218
219
220
221
222
223
224
  }
}

#popupheader {
  width: 88%;
  margin: 0px auto;
  padding: 0.3em 1%;
}

Skia's avatar
Skia committed
225
226
227
#info_boxes {
  display: flex;
  width: 90%;
Skia's avatar
Skia committed
228
  margin: 1em auto;
Skia's avatar
Skia committed
229
230
231
232
233
234
235
236
237
238
239
240
241
  p {
    margin: 0px;
    padding: 0px;
  }
  #alert_box, #info_box {
    font-size: smaller;
    display: inline-block;
    flex: auto;
    padding: 2px;
    margin: 0.2em 1.5%;
    min-width: 10%;
    max-width: 46%;
    min-height: 20px;
Krophil's avatar
Krophil committed
242
    box-shadow: grey 1px 1px 5px;
Skia's avatar
Skia committed
243
244
245
246
247
    &:before {
      float: left;
      margin: 0.2em;
      margin-right: 0.5em;
    }
Skia's avatar
Skia committed
248
249
250
    .markdown {
      margin-top: 0.5em;
    }
Skia's avatar
Skia committed
251
252
  }
  #info_box {
Krophil's avatar
Krophil committed
253
    border: solid 1px grey;
Skia's avatar
Skia committed
254
    background: $white-color;
Skia's avatar
Skia committed
255
    &:before {
Krophil's avatar
Krophil committed
256
257
258
259
      font-family: FontAwesome;
      font-size: 4em;
      content: "\f05a";
      color: darkblue;
Skia's avatar
Skia committed
260
    }
Skia's avatar
Skia committed
261
262
  }
  #alert_box {
Krophil's avatar
Krophil committed
263
    border: solid 1px grey;
Skia's avatar
Skia committed
264
    background: $second-color;
Skia's avatar
Skia committed
265
    &:before {
Krophil's avatar
Krophil committed
266
267
268
269
      font-family: FontAwesome;
      font-size: 4em;
      content: "\f06a";
      color: $white-color;
Skia's avatar
Skia committed
270
    }
Skia's avatar
Skia committed
271
  }
Krophil's avatar
Krophil committed
272
273
274
}


Skia's avatar
Skia committed
275
#page {
Krophil's avatar
Krophil committed
276
  box-shadow: grey 1px 1px 5px;
Krophil's avatar
Krophil committed
277
  width: 90%;
Skia's avatar
Skia committed
278
  margin: 0em auto;
Krophil's avatar
Krophil committed
279
  border: solid 1px grey;
Skia's avatar
Skia committed
280
281
282
283
284
285

/*---------------------------------NAV---------------------------------*/
  nav {
    display: flex;
    flex-wrap: wrap;
    background-color: $primary-dark-color;
Krophil's avatar
Krophil committed
286
    color: $white-color;
Skia's avatar
Skia committed
287
288
289
290
    a {
      flex: auto;
      text-align: center;
      padding: 20px;
Krophil's avatar
Krophil committed
291
      color: $white-color;
Skia's avatar
Skia committed
292
293
294
295
296
297
298
      font-style: normal;
      font-weight: bolder;
      text-decoration: none;
      &:hover {
        background: $secondary-neutral-color;
        color: $white-color;
      }
Krophil's avatar
Krophil committed
299
300
301
302
    }
  }

/*--------------------------------CONTENT------------------------------*/
Skia's avatar
Skia committed
303
  #quick_notif {
304
    width: 100%;
Skia's avatar
Skia committed
305
306
307
308
309
310
311
    margin: 0px auto;
    list-style-type: none;
    background: $second-color;
    li {
      padding: 10px;
    }
  }
Krophil's avatar
Krophil committed
312

313

Skia's avatar
Skia committed
314
315
316
317
  #content {
    padding: 1em 1%;
    background: $white-color;
    overflow: auto;
Krophil's avatar
Krophil committed
318
  }
Skia's avatar
Skia committed
319

320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
  .tool_bar {
    overflow: auto;
    padding: 4px;
    .tools {
      display: flex;
      flex-wrap: wrap;
      float: right;
      background: $white-color;
      border: 1px solid $black-color;
      text-align: center;
      a {
        padding: 10px;
        display: inline-block;
        color: $black-color;
        flex: 1;
        flex-wrap: nowrap;
        white-space: nowrap;
        &.selected_tab {
          background: $second-color;
          color: $black-color;
        }
        &:hover {
          background: $primary-color;
          color: $white-color;
        }
      }
    }
  }
Skia's avatar
Skia committed
348

349
350
/*---------------------------------NEWS--------------------------------*/
  #news {
Skia's avatar
Skia committed
351
352
353
354
    .news_column {
      display: inline-block;
      margin: 0px;
      vertical-align: top;
355
    }
Skia's avatar
Skia committed
356
357
358
359
360
361
    #news_admin {
      margin-bottom: 1em;
    }
    #right_column {
      width: 20%;
      float: right;
362
    }
Skia's avatar
Skia committed
363
364
365
366
367
368
369
370
371
    #left_column {
      width: 79%;
      h3 {
        background: $second-color;
        box-shadow: grey 2px 2px 2px;
        padding: 0.4em;
        margin: 0em 0em 0.5em 0em;
        text-transform: uppercase;
        font-size: 1.1em;
Krophil's avatar
Krophil committed
372
        border: solid 1px grey;
Skia's avatar
Skia committed
373
        &:not(:first-of-type) {
Skia's avatar
Skia committed
374
375
376
          margin: 2em 0em 1em 0em;
        }
      }
377
    }
Skia's avatar
Skia committed
378

Skia's avatar
Skia committed
379
380
/* AGENDA/BIRTHDAYS */
    #agenda,#birthdays {
381
      display: block;
Skia's avatar
Skia committed
382
      width: 100%;
383
      background: white;
Skia's avatar
Skia committed
384
      box-shadow: grey 2px 2px 2px;
385
      font-size: 70%;
Krophil's avatar
Krophil committed
386
      border: solid 1px grey;
Skia's avatar
Skia committed
387
388
      margin-bottom: 1em;
      #agenda_title,#birthdays_title {
389
390
391
392
393
394
        margin: 0em;
        padding: 0.5em;
        font-weight: bold;
        font-size: 150%;
        text-align: center;
        text-transform: uppercase;
Krophil's avatar
Krophil committed
395
        border-bottom: solid 1px grey;
396
397
398
399
400
        background: $second-color;
      }
      #agenda_content {
        overflow: auto;
        height: 20em;
Skia's avatar
Skia committed
401
402
      }
      #agenda_content,#birthdays_content {
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
        .agenda_item {
          padding: 0.5em;
          margin-bottom: 0.5em;
          &:nth-of-type(even) {
            background: $secondary-neutral-light-color;
          }
          .agenda_time {
            font-size: 90%;
            color: grey;
          }
          .agenda_item_content {
            p {
              margin-top: 0.2em;
            }
          }
        }
Skia's avatar
Skia committed
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
        ul.birthdays_year {
          margin: 0em;
          list-style-type: none;
          font-weight: bold;
          >li {
            padding: 0.5em;
            &:nth-child(even) {
              background: $secondary-neutral-light-color;
            }
          }
          ul {
            margin: 0em;
            margin-left: 1em;
            list-style-type: square;
            list-style-position: inside;
            font-weight: normal;
          }
        }
437
438
      }
    }
Skia's avatar
Skia committed
439
/* END AGENDA/BIRTHDAYS */
Skia's avatar
Skia committed
440
441
442

/* EVENTS TODAY AND NEXT FEW DAYS */
    .news_events_group {
Krophil's avatar
Krophil committed
443
      border: solid 1px grey;
Skia's avatar
Skia committed
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
      box-shadow: grey 2px 2px 2px;
      margin-left: 1em;
      margin-bottom: 0.5em;
      .news_events_group_date {
        display: table-cell;
        padding: 0.6em;
        vertical-align: middle;
        background: $primary-dark-color;
        color: $white-color;
        text-transform: uppercase;
        text-align: center;
        font-weight: bold;
        font-family: monospace;
        font-size: 1.4em;
        div {
          margin: 0px auto;
          .day {
            font-size: 1.5em;
          }
        }
      }
      .news_events_group_items {
        display: table-cell;
        width: 100%;
Krophil's avatar
Krophil committed
468
        border-left: solid 1px grey;
Skia's avatar
Skia committed
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
        .news_event:nth-of-type(odd) {
          background: white;
        }
        .news_event:nth-of-type(even) {
          background: $primary-neutral-light-color;
        }
        .news_event {
          display: block;
          padding: 0.4em;
          &:not(:last-child) {
            border-bottom: 1px solid grey;
          }
          div {
            margin: 0.2em;
          }
          h4 {
            margin-top: 1em;
            text-transform: uppercase;
          }
          .club_logo {
            float: left;
Skia's avatar
Skia committed
490
            min-width: 7em;
Krophil's avatar
Krophil committed
491
            max-width: 9em;
Skia's avatar
Skia committed
492
493
            margin: 0em;
            margin-right: 1em;
Skia's avatar
Skia committed
494
            margin-top: 0.8em;
Skia's avatar
Skia committed
495
496
            img {
              max-height: 6em;
Skia's avatar
Skia committed
497
              max-width: 8em;
Skia's avatar
Skia committed
498
499
500
501
502
503
504
505
506
              display: block;
              margin: 0em auto;
            }
          }
          .news_date {
            font-size: 100%;
          }
          .news_content {
            clear: left;
Krophil's avatar
Krophil committed
507
508
509
510
511
512
513
514
515
            .button_bar {
                text-align: right;
              .fb {
                  color: $faceblue;
                }
              .twitter {
                color: $twitblue;
              }
            }
Skia's avatar
Skia committed
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
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
          }
        }
      }
    }
/* END EVENTS TODAY AND NEXT FEW DAYS */

/* COMING SOON */
    .news_coming_soon {
      display: list-item;
      list-style-type: square;
      list-style-position: inside;
      margin-left: 1em;
      padding-left: 0em;
      a {
        font-weight: bold;
        text-transform: uppercase;
      }
      .news_date {
        font-size: 0.9em;
      }
    }
/* END COMING SOON */

/* NOTICES */
    .news_notice {
      margin: 0em 0em 1em 1em;
      padding: 0.4em;
      padding-left: 1em;
      background: lightgrey;
      border: 1px solid grey;
      box-shadow: grey 2px 2px 2px;
      h4 {
        margin: 0em;
      }
      .news_content {
        margin-left: 1em;
      }
    }
/* END NOTICES */

/* CALLS */
    .news_call {
      margin: 0em 0em 1em 1em;
      padding: 0.4em;
      padding-left: 1em;
      background: $secondary-neutral-light-color;
      border: 1px solid grey;
      box-shadow: grey 2px 2px 2px;
      h4 {
        margin: 0em;
      }
      .news_date {
        font-size: 0.9em;
      }
      .news_content {
        margin-left: 1em;
      }
    }
/* END CALLS */

    .news_empty {
      margin-left: 1em;
578
579
580
581
582
    }
    .news_date {
      color: grey;
    }
  }
Krophil's avatar
Krophil committed
583
584
}

Krophil's avatar
Krophil committed
585
#news_details {
Krophil's avatar
Krophil committed
586
  display: inline-block;
Krophil's avatar
Krophil committed
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
  padding: 0.4em;
  width: 80%;
  background: $white-color;
  h4 {
    margin-top: 1em;
    text-transform: uppercase;
  }
  .club_logo {
    display: inline-block;
    text-align: center;
    width: 19%;
    float: left;
    min-width: 10em;
    margin: 0em;
    margin-right: 0.5em;
    margin-top: 0.5em;
    img {
      max-height: 15em;
      max-width: 12em;
      display: block;
      margin: 0em auto;
    }
  }
  .share_button {
    border: none;
    color: white;
    padding: 0.5em 1em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 2px;
    float: right;
    display: block;
    margin-left: 0.3em;
    &:hover {
      color: lightgrey;
    }
  }
Krophil's avatar
Krophil committed
626

Krophil's avatar
Krophil committed
627
628
629
  .facebook {
    background: $faceblue;
  }
Krophil's avatar
Krophil committed
630

Krophil's avatar
Krophil committed
631
632
633
  .twitter {
    background: $twitblue;
  }
Krophil's avatar
Krophil committed
634

Krophil's avatar
Krophil committed
635
636
637
638
  .news_meta {
    margin-top: 10em;
    font-size: small;
  }
Krophil's avatar
Krophil committed
639
640
}

Skia's avatar
Skia committed
641
642
.helptext {
    display: block;
Krophil's avatar
Krophil committed
643
644
}

Krophil's avatar
Krophil committed
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
/*---------------------------ACCOUNTING----------------------------*/
#accounting {
  .journal-table {
    tbody {
      .neg-amount {
        color: red;
        &:before {
          font-family: FontAwesome;
          font-size: 1em;
          content: "\f063";
        }
      }
      .pos-amount {
        color: green;
        &:before {
          font-family: FontAwesome;
          font-size: 1em;
          content: "\f062";
        }
      }
    }
  }
}

/*-----------------------------GENERAL-----------------------------*/
Krophil's avatar
Krophil committed
670
671
672
673
674
675
676
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-top: 0.5em;
}

h1 {
  font-size: 160%;
Skia's avatar
Skia committed
677
  margin-left: 0px;
Krophil's avatar
Krophil committed
678
679
680
681
}

h2 {
  font-size: 150%;
Skia's avatar
Skia committed
682
  margin-left: 10px;
Krophil's avatar
Krophil committed
683
684
685
686
}

h3 {
  font-size: 140%;
Skia's avatar
Skia committed
687
  margin-left: 20px;
Krophil's avatar
Krophil committed
688
689
690
691
}

h4 {
  font-size: 130%;
Skia's avatar
Skia committed
692
  margin-left: 30px;
Krophil's avatar
Krophil committed
693
694
695
696
}

h5 {
  font-size: 120%;
Skia's avatar
Skia committed
697
  margin-left: 40px;
Krophil's avatar
Krophil committed
698
699
700
701
}

h6 {
  font-size: 110%;
Skia's avatar
Skia committed
702
  margin-left: 50px;
Krophil's avatar
Krophil committed
703
704
705
}

p, pre {
Skia's avatar
Skia committed
706
  margin-top: 0.8em;
Krophil's avatar
Krophil committed
707
708
709
  margin-left: 0px;
}

Skia's avatar
Skia committed
710
ul, ol, dl {
Krophil's avatar
Krophil committed
711
712
713
714
715
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 25px;
}

Skia's avatar
Skia committed
716
717
718
719
dt {
    margin-top: 25px;
}

Krophil's avatar
Krophil committed
720
721
code {
  font-family: monospace;
Skia's avatar
Skia committed
722
723
  overflow: auto;
  max-width: 100%;
Krophil's avatar
Krophil committed
724
725
726
}

blockquote {
Skia's avatar
Skia committed
727
728
  margin: 5px;
  padding: 2px;
Krophil's avatar
Krophil committed
729
730
731
  border: solid 1px $black-color;
}

Skia's avatar
Skia committed
732
733
734
735
blockquote h5:first-child {
  font-size: 100%;
}

Krophil's avatar
Krophil committed
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
.edit-bar {
  display: block;
  margin: 4px;
  a {
    display: inline-block;
    margin: 4px;
  }
}

.important {
  font-size: 1.2em;
  font-weight: bold;
  color: red;
}

table {
  width: 100%;
  font-size: 0.90em;
}

td {
  padding: 4px;
  margin: 5px;
  border: solid 1px $primary-neutral-color;
  border-collapse: collapse;
  vertical-align: top;
  overflow: hidden;
  text-overflow: ellipsis;
  > ul {
    margin-top: 0px;
  }
}

thead {
  font-weight: bold;
}

tbody > tr {
  &:nth-child(even) {
    background: $primary-neutral-light-color;
  }
  &:hover {
    background: $secondary-neutral-light-color;
    width: 100%;
  }
}

783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
sup {
  vertical-align: super;
  font-size: smaller;
}

sub {
  vertical-align: sub;
  font-size: smaller;
}

b, strong {
  font-weight: bold;
}

i, em {
Krophil's avatar
Krophil committed
798
799
800
801
802
803
804
805
  font-style: italic;
}

.highlight {
  background: $second-color;
  font-weight: bold;
}

806
u, .underline {
Krophil's avatar
Krophil committed
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
  text-decoration: underline;
}

#basket {
  width: 40%;
  background: $primary-neutral-light-color;
  float: right;
  padding: 10px;
}

#products {
  width: 90%;
  margin: 0px auto;
  overflow: auto;
}

#bar_ui {
  float: left;
  min-width: 57%;
}

#user_info_container {}

#user_info {
  float: right;
  padding: 5px;
  width: 40%;
  margin: 0px auto;
  background: $secondary-neutral-light-color;
}

/*-----------------------------USER PROFILE----------------------------*/

#user_profile_container {
  width: 80%;
  margin: 0px auto;
}

#user_profile {
  width: 100%;
  margin: 0px auto;
  padding: 10px;
  overflow: auto;
  h4 {
    border-bottom: 1px solid $primary-light-color;
    max-width: 60%;
  }
  #left_column {
    width: 59%;
  }
  #right_column {
    width: 40%;
    float: right;
    font-style: italic;
  }
  #pictures {
    max-width: 250px;
    max-height: 300px;
    margin: 0px auto;
  }
  #nickname {
    font-style: italic;
  }
  #pictures img {
    max-width: 96%;
    max-height: 96%;
  }
  .promo_pict {
    height: 45px;
  }
}

.mini_profile_link {
  display: block;
  text-decoration: none;
  span {
    display: inline-block;
    width: 50px;
    vertical-align: middle;
  }
  em {
    vertical-align: middle;
  }
  img {
    max-width: 40px;
    max-height: 60px;
    margin: 2px auto;
    display: block;
  }
}

#notifications li {
  padding: 5px;
  margin: 2px;
  list-style: none;
}

#moderation {
  div {
    margin: 2px;
    padding: 2px;
    border: solid 1px red;
    text-align: center;
  }
  img {
    width: 500px;
  }
}

#pict {
  display: inline-block;
  width: 80%;
  background: #333;
  border: solid #333 2px;
}

923
924
925
926
927
928
929
930
931
/*---------------------------------PAGE--------------------------------*/

.page_content {
  display: block;
  margin: 10px;
  padding: 10px;
  background: $white-color;
}

Krophil's avatar
Krophil committed
932
933
934
935
936
937
938
939
940
941
942
943
944
textarea {
  width: 98%;
  margin-top: 10px;
}

/*---------------------------LAUNDERETTE-------------------------------*/

#token_form label {
  display: inline;
}

/*------------------------------FORUM----------------------------------*/

Skia's avatar
Skia committed
945
946
947
948
949
950
951
952
953
#forum {
  .topic {
    border: solid $primary-neutral-color 1px;
    padding: 1px;
    margin: 1px;
    p {
      margin: 1px;
      font-size: smaller;
    }
954
955
956
957
958
959
    a {
      color: $black-color;
    }
    a:hover {
      text-decoration: underline;
    }
Skia's avatar
Skia committed
960
  }
Krophil's avatar
Krophil committed
961

Skia's avatar
Skia committed
962
963
964
965
966
967
968
  .tools {
    font-size: x-small;
    border: none;
    a {
      padding: 1px;
    }
  }
Krophil's avatar
Krophil committed
969

Skia's avatar
Skia committed
970
971
972
973
974
  .title {
    font-size: small;
    font-weight: bold;
    padding: 2px;
  }
Krophil's avatar
Krophil committed
975

Skia's avatar
Skia committed
976
977
978
979
980
981
982
983
984
985
986
987
988
  .last_message date {
    white-space: nowrap;
  }

  .last_message span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow:hidden;
    width: 100%;
    display: block;
  }

  .forum {
989
    background: $primary-neutral-light-color;
Skia's avatar
Skia committed
990
991
992
993
994
995
    padding: 1px;
    margin: 1px;
    p {
      margin: 1px;
      font-size: smaller;
    }
996
997
998
999
1000
1001
    a {
      color: $black-color;
    }
    a:hover {
      text-decoration: underline;
    }
Krophil's avatar
Krophil committed
1002
  }
Skia's avatar
Skia committed
1003
1004
1005
1006
1007
1008
1009

  .category {
    margin-top: 5px;
    background: $secondary-color;
    .title {
      text-transform: uppercase;
    }
Krophil's avatar
Krophil committed
1010
  }
Skia's avatar
Skia committed
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022

  .message {
    padding: 1px;
    margin: 1px;
    background: $white-color;
    &:nth-child(odd) {
      background: $primary-neutral-light-color;
    }
    .title {
      font-size: 100%;
    }
    &.unread {
Skia's avatar
Skia committed
1023
      background: $secondary-neutral-light-color;
Skia's avatar
Skia committed
1024
    }
Krophil's avatar
Krophil committed
1025
1026
  }

Skia's avatar
Skia committed
1027
1028
1029
  .msg_author.deleted {
    background: #ffcfcf;
  }
Krophil's avatar
Krophil committed
1030

Skia's avatar
Skia committed
1031
1032
1033
1034
1035
1036
1037
  .msg_content {
    &.deleted {
      background: #ffefef;
    }
    display: inline-block;
    width: 80%;
    vertical-align: top;
Krophil's avatar
Krophil committed
1038
1039
  }

Skia's avatar
Skia committed
1040
1041
1042
1043
1044
1045
1046
1047
1048
  .msg_author {
    display: inline-block;
    width: 19%;
    text-align: center;
    background: $primary-light-color;
    img {
      max-width: 70%;
      margin: 0px auto;
    }
Krophil's avatar
Krophil committed
1049
1050
  }

Skia's avatar
Skia committed
1051
1052
1053
1054
  .msg_header {
    display: inline-block;
    width: 100%;
    font-size: small;
Krophil's avatar
Krophil committed
1055
1056
  }

Skia's avatar
Skia committed
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
  .msg_meta {
    font-size: small;
    list-style-type: none;
    li {
      padding: 1px;
      margin: 1px;
    }
  }

  .forum_signature {
Krophil's avatar
Krophil committed
1067
    color: #C0C0C0;
Skia's avatar
Skia committed
1068
1069
1070
1071
1072
1073
    border-top: 1px solid #C0C0C0;
    a {
      color: #C0C0C0;
      &:hover {
        text-decoration: underline;
      }
Krophil's avatar
Krophil committed
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
    }
  }
}

/*------------------------------SAS------------------------------------*/

.album {
  display: inline-block;
  border: solid 1px $black-color;
  text-align: center;
  padding: 5px;
  width: 200px;
  height: 140px;
  background: #eee;
  box-shadow: black 2px 2px 10px;
  margin: 10px;
  vertical-align: top;
  img {
    max-height: 100px;
  }
}

.picture {
  display: inline-block;
  border: solid 1px $black-color;
  width: 150px;
  height: 100px;
  margin: 5px;
  background: #eee;
  box-shadow: grey 2px 2px 5px;
  padding: 2px;
  vertical-align: middle;
  img {
    max-width: 100%;
    max-height: 100px;
    display: block;
    margin: auto;
  }
}

.not_moderated {
  border: solid 1px red;
  box-shadow: red 2px 2px 10px;
}

/*--------------------------------FOOTER-------------------------------*/

footer {
Skia's avatar
Skia committed
1122
1123
1124
1125
  width: 90%;
  margin: 2em auto;

  font-size: 80%;
Krophil's avatar
Krophil committed
1126
  text-align: center;
Skia's avatar
Skia committed
1127
  vertical-align: middle;
Krophil's avatar
Krophil committed
1128
  div {
Skia's avatar
Skia committed
1129
1130
1131
1132
    margin: 0.6em 0em;
    color: $white-color;
    display: flex;
    background-color: $primary-neutral-dark-color;
Krophil's avatar
Krophil committed
1133
1134
    box-shadow: grey 1px 1px 5px;
    border: solid 1px grey;
Skia's avatar
Skia committed
1135
1136
1137
1138
1139
1140
1141
1142
    a {
      padding: 0.8em;
      flex: 1;
      color: $white-color;
      &:hover {
        color: $secondary-color;
      }
    }
Krophil's avatar
Krophil committed
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
  }
}

/*---------------------------------FORMS-------------------------------*/

form {
  margin: 0px auto;
  width: 60%;
}

label {
  display: block;
}

.choose_file_widget {
  display: none;
}

.ui-dialog .ui-dialog-buttonpane {
  bottom: 0px;
  position: absolute;
  width: 97%;
}

#user_edit {
  * {
    text-align: center;
  }
  img {
    width: 100px;
  }
}

#cash_summary_form label, .inline {
  display: inline;
}

.form_button {
  width: 150px;
  height: 120px;
  padding: 2px;
  display: inline-block;
  font-size: 0.8em;
  span {
    width: 70px;
    float: right;
  }
  img {
    max-width: 50px;
    max-height: 50px;
    float: left;
  }
  strong {
    font-weight: bold;
    font-size: 1.2em;
  }
  button {
    width: 100%;
    height: 100%;
    vertical-align: middle;
  }
1204
}
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219

/*-------------------------------MARKDOWN------------------------------*/

.markdown {
  margin: 0px;
  padding: 0px;
  code {
    font-family: monospace;
    color: $white-color;
    background: $black-color;
    display: inline-block;
    padding: 4px;
    line-height: 120%;
  }
  a {
Skia's avatar
Skia committed
1220
    color: $primary-dark-color;
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
  }
  a:hover {
    text-decoration: underline;
  }
}

.markdown_editor {
  margin-top: 5px;
}

.markdown_editor a {
  border: solid 1px $black-color;
  padding: 2px;
  min-width: 1em;
  display: inline-block;
  text-align: center;
  margin: 0px 1px;
}

.markdown_editor a:hover {
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0px 0px 1px 1px $secondary-light-color;
  transition: all 0.1s linear;
}

Skia's avatar
Skia committed
1247
1248
1249
1250
1251
1252
1253
1254
/*--------------------------------JQuery-------------------------------*/

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header
.ui-state-active, a.ui-button:active, .ui-button:active,
.ui-button.ui-state-active:hover {
  background: $primary-color;
  border-color: $primary-color;
}
1255
1256
1257
1258
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-top,
.ui-corner-left {
  border-radius: 0px;
}
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270

#club_detail {
  .club_logo {
    float: right;
    img {
      display: block;
      max-height: 10em;
      max-width: 10em;
    }
  }

}