style.scss 44 KB
Newer Older
Krophil's avatar
Krophil committed
1
$first-color: hsl(220, 100%, 50%);
Soldat's avatar
Soldat committed
2
$second-color: hsl(48, 100%, 67%);
Krophil's avatar
Krophil committed
3
$primary-color: hsl(219.9, 53.7%, 50%);
Soldat's avatar
Soldat committed
4
$secondary-color: hsl(204, 64%, 44%);
Krophil's avatar
Krophil committed
5 6 7 8
$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%);
Soldat's avatar
Soldat committed
9
$primary-dark-color: hsl(203, 75%, 40%);
Krophil's avatar
Krophil committed
10 11 12 13 14 15

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


$primary-neutral-color: hsl(219.6, 20.8%, 50%);
Soldat's avatar
Soldat committed
16 17
$primary-neutral-light-color: hsl(0, 0%, 94%);
$primary-neutral-dark-color: hsl(210, 29%, 29%);
Krophil's avatar
Krophil committed
18

Soldat's avatar
Soldat committed
19 20
$secondary-neutral-color: hsl(204, 64%, 44%);
$secondary-neutral-light-color: hsl(0, 0%, 91%);
Krophil's avatar
Krophil committed
21 22 23
$secondary-neutral-dark-color: hsl(40, 57.6%, 17%);

$white-color: hsl(219.6, 20.8%, 98%);
Soldat's avatar
Soldat committed
24
$black-color: hsl(0, 0%, 17%);
Krophil's avatar
Krophil committed
25

Soldat's avatar
Soldat committed
26 27
$faceblue: hsl(221, 44%, 41%);
$twitblue: hsl(206, 82%, 63%);
Krophil's avatar
Krophil committed
28

Soldat's avatar
Soldat committed
29
$shadow-color: rgb(223, 223, 223);
Krophil's avatar
Krophil committed
30

Soldat's avatar
Soldat committed
31
$background-bouton-color: hsl(0, 0%, 90%);
Krophil's avatar
Krophil committed
32

Sli's avatar
Sli committed
33 34 35 36 37 38
/*--------------------------MEDIA QUERY HELPERS------------------------*/
$small-devices: 576px;
$medium-devices: 768px;
$large-devices: 992px;
$extra-large-devices: 1200px;

Krophil's avatar
Krophil committed
39 40 41 42 43 44 45 46
/*--------------------------------GENERAL------------------------------*/

body {
  position: relative;
  width: 100%;
  font-family: sans-serif;
}

Soldat's avatar
Soldat committed
47 48 49 50 51 52 53 54 55 56 57 58
input[type=button], input[type=submit], input[type=reset],input[type=file] {
  border: none;
  text-decoration: none;
  background-color: $background-bouton-color;
  padding: 10px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: $shadow-color 0px 0px 1px;

  &:hover {
Soldat's avatar
Soldat committed
59
    background: hsl(0, 0%, 83%);
Soldat's avatar
Soldat committed
60 61 62 63 64 65 66 67 68 69 70 71
  }
}
button{
  border: none;
  text-decoration: none;
  background-color: $background-bouton-color;
  padding: 10px;
  font-size: 14px;
  border-radius: 5px;
  box-shadow: $shadow-color 0px 0px 1px;
  cursor: pointer;
  &:hover {
Soldat's avatar
Soldat committed
72
    background: hsl(0, 0%, 83%);
Soldat's avatar
Soldat committed
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
  }
}
input,textarea[type=text],[type=number]{
  border: none;
  text-decoration: none;
  background-color: $background-bouton-color;
  padding: 7px;
  font-size: 16px;
  border-radius: 5px;
}
textarea{
  border: none;
  text-decoration: none;
  background-color: $background-bouton-color;
  padding: 7px;
  font-size: 16px;
  border-radius: 5px;
}
select{
  border: none;
  text-decoration: none;
  font-size: 15px;
  background-color: $background-bouton-color;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}
Krophil's avatar
Krophil committed
100 101 102 103 104 105 106 107 108 109 110 111 112
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
113 114
  padding: 1px;
  margin: 1px;
Krophil's avatar
Krophil committed
115 116 117 118 119 120 121
}

.w_big {
  width: 75%;
}

.w_medium {
Skia's avatar
Skia committed
122
  width: 47%;
Krophil's avatar
Krophil committed
123 124 125
}

.w_small {
Skia's avatar
Skia committed
126
  width: 23%;
Krophil's avatar
Krophil committed
127 128 129 130
}

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

Skia's avatar
Skia committed
131 132
#header_language_chooser {
  position: absolute;
Skia's avatar
Skia committed
133 134 135
  top: 0.2em;
  right: 0.5em;
  width: 3%;
Skia's avatar
Skia committed
136 137 138 139
  text-align: center;
  input {
    display: block;
    width: 100%;
Soldat's avatar
Soldat committed
140
    padding: 4px;
Skia's avatar
Skia committed
141 142 143 144
    margin: 0px;
  }
  form {
    display: block;
Skia's avatar
Skia committed
145 146
    margin: 0.2em 0em;
    width: 100%;
Skia's avatar
Skia committed
147
  }
Krophil's avatar
Krophil committed
148 149 150
}

header {
Skia's avatar
Skia committed
151
  width: 90%;
Skia's avatar
Skia committed
152
  margin: 0px auto;
Skia's avatar
Skia committed
153
  display: flex;
Soldat's avatar
Soldat committed
154
  box-shadow: $shadow-color 0px 0px 15px;
Skia's avatar
Skia committed
155 156
  border-top: none;
  background-color: $primary-neutral-dark-color;
Soldat's avatar
Soldat committed
157
  border-radius: 0px 0px 10px 10px;
Skia's avatar
Skia committed
158 159

  #header_logo {
Krophil's avatar
Krophil committed
160
    display: inline-block;
Skia's avatar
Skia committed
161 162
    flex: none;
    background-size: 100% 100%;
Skia's avatar
Skia committed
163
    background-color: $white-color;
Skia's avatar
Skia committed
164
    padding: 0.2em;
Soldat's avatar
Soldat committed
165 166
    border-radius: 0px 0px 0px 9px;

Skia's avatar
Skia committed
167 168 169 170 171 172
    a {
      display: inline-block;
      margin: 0px;
      width: 100%;
      height: 100%;
    }
Krophil's avatar
Krophil committed
173
  }
Skia's avatar
Skia committed
174 175 176

  #header_connect_links {
    margin: 0.6em 0.6em 0em auto;
Skia's avatar
Skia committed
177
    color: $white-color;
Skia's avatar
Skia committed
178 179 180 181 182 183 184 185 186
    form {
      display: inline;
      width: 100%;
      label {
        display: inline;
      }
    }
    a {
      display: button;
Krophil's avatar
Krophil committed
187 188
    }
  }
Skia's avatar
Skia committed
189 190 191 192 193

  #header_bar {
    display: flex;
    flex: auto;
    width: 80%;
Soldat's avatar
Soldat committed
194
    
Skia's avatar
Skia committed
195 196 197
    a {
      text-decoration: none;
      margin: 0em 1em;
Soldat's avatar
Soldat committed
198
      font-weight: bold;
Skia's avatar
Skia committed
199 200 201 202 203 204
      color: $white-color;
      &:hover {
        color: $secondary-color;
      }
    }

Skia's avatar
Skia committed
205 206 207 208 209 210 211 212 213 214 215 216 217 218
    #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
219
      display: flex;
Skia's avatar
Skia committed
220 221 222
      width: 120ch;
      flex: initial;
      text-align: right;
Skia's avatar
Skia committed
223 224 225 226 227 228 229 230 231 232
      margin: 0em;
      div {
        display: inline;
        padding: 1.2em 0em;
        &:first-child {
          flex: auto;
        }
      }
      .white {
        background: $white-color;
Skia's avatar
Skia committed
233 234 235
        a {
          color: $black-color;
        }
Skia's avatar
Skia committed
236 237 238 239 240 241 242 243
      }
      #header_notif {
        display: none;
        position: absolute;
        max-height: 20em;
        width: 22em;
        overflow: auto;
        list-style-type: none;
Krophil's avatar
Krophil committed
244
        box-shadow: grey 1px 1px 5px;
Skia's avatar
Skia committed
245 246 247 248 249 250 251 252 253 254
        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
255 256 257 258 259 260 261
        a {
          margin: 0em;
          color: $black-color;
          &:hover {
            color: $primary-dark-color;
          }
        }
Skia's avatar
Skia committed
262 263 264
        li {
          padding: 0.2em;
          &:hover {
Soldat's avatar
Soldat committed
265
            background: hsl(180, 14%, 77%);
Skia's avatar
Skia committed
266 267 268 269 270 271 272 273 274 275 276 277
          }
        }
        li:last-child {
          text-align: center;
          a {
            color: $primary-dark-color;
            &:hover {
              color: $primary-light-color;
            }
          }
        }
      }
Skia's avatar
Skia committed
278
    }
Krophil's avatar
Krophil committed
279 280 281 282 283 284 285 286 287
  }
}

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

Skia's avatar
Skia committed
288 289 290
#info_boxes {
  display: flex;
  width: 90%;
Skia's avatar
Skia committed
291
  margin: 1em auto;
Skia's avatar
Skia committed
292 293
  p {
    margin: 0px;
Soldat's avatar
Soldat committed
294
    padding: 7px;
Skia's avatar
Skia committed
295 296
  }
  #alert_box, #info_box {
Soldat's avatar
Soldat committed
297
    font-size: 14px;
Skia's avatar
Skia committed
298 299 300 301 302 303 304
    display: inline-block;
    flex: auto;
    padding: 2px;
    margin: 0.2em 1.5%;
    min-width: 10%;
    max-width: 46%;
    min-height: 20px;
Skia's avatar
Skia committed
305 306 307
    &:before {
      float: left;
      margin: 0.2em;
Skia's avatar
Skia committed
308
    }
Skia's avatar
Skia committed
309 310
  }
  #info_box {
Soldat's avatar
Soldat committed
311 312
    border-radius: 10px;
    background: $primary-neutral-light-color;
Skia's avatar
Skia committed
313
    &:before {
Krophil's avatar
Krophil committed
314 315 316
      font-family: FontAwesome;
      font-size: 4em;
      content: "\f05a";
Soldat's avatar
Soldat committed
317
      color: hsl(210, 100%, 56%);
Skia's avatar
Skia committed
318
    }
Skia's avatar
Skia committed
319 320
  }
  #alert_box {
Soldat's avatar
Soldat committed
321
    border-radius: 10px;
Skia's avatar
Skia committed
322
    background: $second-color;
Skia's avatar
Skia committed
323
    &:before {
Krophil's avatar
Krophil committed
324 325 326 327
      font-family: FontAwesome;
      font-size: 4em;
      content: "\f06a";
      color: $white-color;
Skia's avatar
Skia committed
328
    }
Skia's avatar
Skia committed
329
  }
Krophil's avatar
Krophil committed
330 331 332
}


Skia's avatar
Skia committed
333
#page {
Krophil's avatar
Krophil committed
334
  width: 90%;
Skia's avatar
Skia committed
335 336 337 338 339 340
  margin: 0em auto;
/*---------------------------------NAV---------------------------------*/
  nav {
    display: flex;
    flex-wrap: wrap;
    background-color: $primary-dark-color;
Krophil's avatar
Krophil committed
341
    color: $white-color;
342
    border-radius: 6px 6px 0px 0px;
Soldat's avatar
Soldat committed
343 344
    box-shadow: $shadow-color 0px 0px 15px;

Soldat's avatar
Soldat committed
345
    a {
Skia's avatar
Skia committed
346 347 348
      flex: auto;
      text-align: center;
      padding: 20px;
Krophil's avatar
Krophil committed
349
      color: $white-color;
Skia's avatar
Skia committed
350 351 352
      font-style: normal;
      font-weight: bolder;
      text-decoration: none;
353
      
Skia's avatar
Skia committed
354 355 356
      &:hover {
        background: $secondary-neutral-color;
        color: $white-color;
357 358 359 360 361 362
        &:first-of-type {
          border-radius: 6px 0px 0px 0px;
        }
        &:last-of-type {
          border-radius: 0px 6px 0px 0px;
        }
Skia's avatar
Skia committed
363
      }
Krophil's avatar
Krophil committed
364
    }
Soldat's avatar
Soldat committed
365

Soldat's avatar
Soldat committed
366
    .dropdown {
Soldat's avatar
Soldat committed
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383
      flex: auto;
      text-align: center;
      position: relative;
    }

    .dropbtn {
      all: unset;
      padding: 20px;
      font-weight: bolder;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      overflow: auto;
      width: 100%;
      background-color: #f9f9f9;
Soldat's avatar
Soldat committed
384
      box-shadow: 3px 3px 3px 0px $shadow-color;
Soldat's avatar
Soldat committed
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403
      z-index: 1;
    }

    .dropdown-content a {
      float: none;
      color: black;
      padding: 12px 16px;
      display: block;
      text-align: center;
      &:hover {
        border-radius: unset;
        color: white;
        background: $secondary-neutral-color;
      }
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }
Krophil's avatar
Krophil committed
404 405 406
  }

/*--------------------------------CONTENT------------------------------*/
Skia's avatar
Skia committed
407
  #quick_notif {
408
    width: 100%;
Skia's avatar
Skia committed
409 410 411 412 413 414 415
    margin: 0px auto;
    list-style-type: none;
    background: $second-color;
    li {
      padding: 10px;
    }
  }
Krophil's avatar
Krophil committed
416

417

Skia's avatar
Skia committed
418 419
  #content {
    padding: 1em 1%;
Soldat's avatar
Soldat committed
420
    box-shadow: $shadow-color 0px 5px 10px;
Skia's avatar
Skia committed
421 422
    background: $white-color;
    overflow: auto;
Krophil's avatar
Krophil committed
423
  }
Skia's avatar
Skia committed
424

425 426 427 428 429 430 431
  .tool_bar {
    overflow: auto;
    padding: 4px;
    .tools {
      display: flex;
      flex-wrap: wrap;
      float: right;
Soldat's avatar
Soldat committed
432 433
      background: $primary-neutral-light-color;
      padding: 5px;
434
      border-radius: 6px;
435 436
      text-align: center;
      a {
437
        padding: 7px;
438
        display: inline-block;
Soldat's avatar
Soldat committed
439
        color: $black-color;
Soldat's avatar
Soldat committed
440
        font-weight: bold;
441
        margin: 2px;
442 443 444 445
        flex: 1;
        flex-wrap: nowrap;
        white-space: nowrap;
        &.selected_tab {
Soldat's avatar
Soldat committed
446 447
          background: $primary-color;
          color: $white-color;
448
          border-radius: 6px;
449 450 451 452
        }
        &:hover {
          background: $primary-color;
          color: $white-color;
453
          border-radius: 6px;
454 455 456 457
        }
      }
    }
  }
Skia's avatar
Skia committed
458

459 460
/*---------------------------------NEWS--------------------------------*/
  #news {
Skia's avatar
Skia committed
461 462 463 464
    .news_column {
      display: inline-block;
      margin: 0px;
      vertical-align: top;
465
    }
Skia's avatar
Skia committed
466 467 468 469 470 471
    #news_admin {
      margin-bottom: 1em;
    }
    #right_column {
      width: 20%;
      float: right;
472
    }
Skia's avatar
Skia committed
473 474 475 476
    #left_column {
      width: 79%;
      h3 {
        background: $second-color;
Soldat's avatar
Soldat committed
477
        box-shadow: $shadow-color 1px 1px 1px;
Skia's avatar
Skia committed
478 479 480 481
        padding: 0.4em;
        margin: 0em 0em 0.5em 0em;
        text-transform: uppercase;
        font-size: 1.1em;
Skia's avatar
Skia committed
482
        &:not(:first-of-type) {
Skia's avatar
Skia committed
483 484 485
          margin: 2em 0em 1em 0em;
        }
      }
486
    }
Skia's avatar
Skia committed
487

Skia's avatar
Skia committed
488 489
/* AGENDA/BIRTHDAYS */
    #agenda,#birthdays {
490
      display: block;
Skia's avatar
Skia committed
491
      width: 100%;
492 493
      background: white;
      font-size: 70%;
Skia's avatar
Skia committed
494 495
      margin-bottom: 1em;
      #agenda_title,#birthdays_title {
496
        margin: 0em;
497
        border-radius: 5px 5px 0px 0px;
Soldat's avatar
Soldat committed
498
        box-shadow: $shadow-color 1px 1px 1px;
499 500 501 502 503 504 505 506 507
        padding: 0.5em;
        font-weight: bold;
        font-size: 150%;
        text-align: center;
        text-transform: uppercase;
        background: $second-color;
      }
      #agenda_content {
        overflow: auto;
Soldat's avatar
Soldat committed
508
        box-shadow: $shadow-color 1px 1px 1px;
509
        height: 20em;
Skia's avatar
Skia committed
510 511
      }
      #agenda_content,#birthdays_content {
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527
        .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
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545
        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;
          }
        }
546 547
      }
    }
Skia's avatar
Skia committed
548
/* END AGENDA/BIRTHDAYS */
Skia's avatar
Skia committed
549 550 551

/* EVENTS TODAY AND NEXT FEW DAYS */
    .news_events_group {
Soldat's avatar
Soldat committed
552
      box-shadow: $shadow-color 1px 1px 1px;
Skia's avatar
Skia committed
553 554 555 556 557 558
      margin-left: 1em;
      margin-bottom: 0.5em;
      .news_events_group_date {
        display: table-cell;
        padding: 0.6em;
        vertical-align: middle;
Soldat's avatar
Soldat committed
559
        background: $primary-neutral-dark-color;
Skia's avatar
Skia committed
560 561 562 563 564 565
        color: $white-color;
        text-transform: uppercase;
        text-align: center;
        font-weight: bold;
        font-family: monospace;
        font-size: 1.4em;
566
        border-radius: 7px 0px 0px 7px;
Soldat's avatar
Soldat committed
567

Skia's avatar
Skia committed
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598
        div {
          margin: 0px auto;
          .day {
            font-size: 1.5em;
          }
        }
      }
      .news_events_group_items {
        display: table-cell;
        width: 100%;
        .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
599
            min-width: 7em;
Krophil's avatar
Krophil committed
600
            max-width: 9em;
Skia's avatar
Skia committed
601 602
            margin: 0em;
            margin-right: 1em;
Skia's avatar
Skia committed
603
            margin-top: 0.8em;
Skia's avatar
Skia committed
604 605
            img {
              max-height: 6em;
Skia's avatar
Skia committed
606
              max-width: 8em;
Skia's avatar
Skia committed
607 608 609 610 611 612 613 614 615
              display: block;
              margin: 0em auto;
            }
          }
          .news_date {
            font-size: 100%;
          }
          .news_content {
            clear: left;
Krophil's avatar
Krophil committed
616 617 618 619 620 621 622 623 624
            .button_bar {
                text-align: right;
              .fb {
                  color: $faceblue;
                }
              .twitter {
                color: $twitblue;
              }
            }
Skia's avatar
Skia committed
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
          }
        }
      }
    }
/* 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;
Soldat's avatar
Soldat committed
653 654 655
      background: $secondary-neutral-light-color;
      box-shadow: $shadow-color 0px 0px 2px;
      border-radius: 18px 5px 18px 5px;
Skia's avatar
Skia committed
656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671
      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;
Soldat's avatar
Soldat committed
672
      box-shadow: $shadow-color 1px 1px 1px;
Skia's avatar
Skia committed
673 674 675 676 677 678 679 680 681 682 683 684 685 686
      h4 {
        margin: 0em;
      }
      .news_date {
        font-size: 0.9em;
      }
      .news_content {
        margin-left: 1em;
      }
    }
/* END CALLS */

    .news_empty {
      margin-left: 1em;
687 688 689 690 691
    }
    .news_date {
      color: grey;
    }
  }
Krophil's avatar
Krophil committed
692 693
}

Krophil's avatar
Krophil committed
694
#news_details {
Krophil's avatar
Krophil committed
695
  display: inline-block;
Soldat's avatar
Soldat committed
696
  margin-top: 20px;
Krophil's avatar
Krophil committed
697 698 699 700 701 702 703 704 705 706 707 708
  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;
709
    min-width: 15em;
Krophil's avatar
Krophil committed
710 711 712 713 714 715
    margin: 0em;
    img {
      max-height: 15em;
      max-width: 12em;
      display: block;
      margin: 0em auto;
Soldat's avatar
Soldat committed
716
      margin-bottom: 10px;
Krophil's avatar
Krophil committed
717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734
    }
  }
  .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
735

Krophil's avatar
Krophil committed
736 737 738
  .facebook {
    background: $faceblue;
  }
Krophil's avatar
Krophil committed
739

Krophil's avatar
Krophil committed
740 741 742
  .twitter {
    background: $twitblue;
  }
Krophil's avatar
Krophil committed
743

Krophil's avatar
Krophil committed
744 745 746 747
  .news_meta {
    margin-top: 10em;
    font-size: small;
  }
Krophil's avatar
Krophil committed
748 749
}

Skia's avatar
Skia committed
750
.helptext {
Soldat's avatar
Soldat committed
751
    margin-top: 10px;
Skia's avatar
Skia committed
752
    display: block;
Krophil's avatar
Krophil committed
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
/*---------------------------POSTERS----------------------------*/

#poster_list, #screen_list, #poster_edit, #screen_edit{
    position: relative;
    #title{
        position: relative;
        padding: 10px;
        margin: 10px;
        border-bottom: 2px solid black;
        h3{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        #links{
            position: absolute;
            display: flex;
            bottom: 5px;
            &.left{
                left: 0;
            }
            &.right{
                right: 0;
            }
            .link{
                padding: 5px;
                padding-left: 20px;
                padding-right: 20px;
                margin-left: 5px;
                border-radius: 20px;
Soldat's avatar
Soldat committed
785
                background-color: hsl(40, 100%, 50%);
786 787 788
                color: black;
                &:hover{
                    color: black;
Soldat's avatar
Soldat committed
789
                    background-color: hsl(40, 58%, 50%);
790 791
                }
                &.delete{
Soldat's avatar
Soldat committed
792
                    background-color: hsl(0, 100%, 40%);
793 794 795 796 797 798 799 800 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 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
                }
            }
        }
    }
    #posters, #screens{
        position: relative;
        display: flex;
        flex-wrap: wrap;
        #no-posters, #no-screens{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .poster, .screen{
            min-width: 10%;
            max-width: 20%;
            display: flex;
            flex-direction: column;
            margin: 10px;
            border: 2px solid darkgrey;
            border-radius: 4px;
            padding: 10px;
            background-color: lightgrey;
            *{
                display: flex;
                justify-content: center;
                align-items: center;
            }
            .name{
                padding-bottom: 5px;
                margin-bottom: 5px;
                border-bottom: 1px solid whitesmoke;
            }
            .image{
                flex-grow: 1;
                position: relative;
                padding-bottom: 5px;
                margin-bottom: 5px;
                border-bottom: 1px solid whitesmoke;
                img{
                    max-height: 20vw;
                    max-width: 100%;
                }
                &:hover{
                    &::before{
                        position: absolute;
                        width: 100%;
                        height: 100%;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        flex-wrap: wrap;
                        top: 0;
                        left: 0;
                        z-index: 10;
                        content: "Click to expand";
                        color: white;
                        background-color: rgba(black, 0.5);
                    }
                }
            }
            .dates{
                padding-bottom: 5px;
                margin-bottom: 5px;
                border-bottom: 1px solid whitesmoke;
                *{
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-wrap: wrap;
                    margin-left: 5px;
                    margin-right: 5px;
                }
                .begin, .end{
                    width: 48%;
                }
                .begin{
                    border-right: 1px solid whitesmoke;
                    padding-right: 2%;
                }
            }
            .edit, .moderate, .slideshow{
                padding: 5px;
                border-radius: 20px;
Soldat's avatar
Soldat committed
877
                background-color: hsl(40, 100%, 50%);
878 879 880
                color: black;
                &:hover{
                    color: black;
Soldat's avatar
Soldat committed
881
                    background-color: hsl(40, 58%, 50%);
882 883 884 885 886 887
                }
                &:nth-child(2n){
                    margin-top: 5px;
                    margin-bottom: 5px;
                }
            }
888 889 890
            .tooltip{
                visibility: hidden;
                width: 120px;
Soldat's avatar
Soldat committed
891 892
                background-color: hsl(210, 20%, 98%);
                color: hsl(0, 0%, 0%);
893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913
                text-align: center;
                padding: 5px 0;
                border-radius: 6px;
                position: absolute;
                z-index: 10;
                ul{
                    margin-left: 0;
                    display: inline-block;
                    li{
                        display: list-item;
                        list-style-type: none;
                    }
                }
            }
            &.not_moderated
            {
                border: 1px solid red;
            }
            &:hover .tooltip{
                visibility: visible;
            }
914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948
        }
    }
    #view{
        position: fixed;
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 0;
        left: 0;
        z-index: 10;
        visibility: hidden;
        background-color: rgba(10, 10, 10, 0.9);
        overflow: hidden;
        &.active{
            visibility: visible;
        }
        #placeholder{
            width: 80vw;
            height: 80vh;
            display: flex;
            justify-content: center;
            align-items: center;
            top: 0;
            left: 0;
            img{
                max-width: 100%;
                max-height: 100%;
            }
        }
    }
}


Krophil's avatar
Krophil committed
949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973
/*---------------------------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
974 975 976 977 978 979 980
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-top: 0.5em;
}

h1 {
  font-size: 160%;
Skia's avatar
Skia committed
981
  margin-left: 0px;
Krophil's avatar
Krophil committed
982 983 984 985
}

h2 {
  font-size: 150%;
Skia's avatar
Skia committed
986
  margin-left: 10px;
Krophil's avatar
Krophil committed
987 988 989 990
}

h3 {
  font-size: 140%;
Skia's avatar
Skia committed
991
  margin-left: 20px;
Krophil's avatar
Krophil committed
992 993 994 995
}

h4 {
  font-size: 130%;
Skia's avatar
Skia committed
996
  margin-left: 30px;
Krophil's avatar
Krophil committed
997 998 999 1000
}

h5 {
  font-size: 120%;
Skia's avatar
Skia committed
1001
  margin-left: 40px;
Krophil's avatar
Krophil committed
1002 1003 1004 1005
}

h6 {
  font-size: 110%;
Skia's avatar
Skia committed
1006
  margin-left: 50px;
Krophil's avatar
Krophil committed
1007 1008 1009
}

p, pre {
Skia's avatar
Skia committed
1010
  margin-top: 0.8em;
Krophil's avatar
Krophil committed
1011 1012 1013
  margin-left: 0px;
}

Skia's avatar
Skia committed
1014
ul, ol, dl {
Krophil's avatar
Krophil committed
1015 1016 1017 1018 1019
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 25px;
}

Skia's avatar
Skia committed
1020 1021 1022 1023
dt {
    margin-top: 25px;
}

Krophil's avatar
Krophil committed
1024 1025
code {
  font-family: monospace;
1026 1027
  overflow: auto;
  max-width: 100%;
Krophil's avatar
Krophil committed
1028 1029 1030
}

blockquote {
Skia's avatar
Skia committed
1031 1032
  margin: 5px;
  padding: 2px;
Krophil's avatar
Krophil committed
1033 1034 1035
  border: solid 1px $black-color;
}

Skia's avatar
Skia committed
1036 1037 1038 1039
blockquote h5:first-child {
  font-size: 100%;
}

Krophil's avatar
Krophil committed
1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086
.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%;
  }
}

1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101
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
1102 1103 1104 1105 1106 1107 1108 1109
  font-style: italic;
}

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

1110
u, .underline {
Krophil's avatar
Krophil committed
1111 1112 1113 1114 1115 1116 1117 1118
  text-decoration: underline;
}

#basket {
  width: 40%;
  background: $primary-neutral-light-color;
  float: right;
  padding: 10px;
Soldat's avatar
Soldat committed
1119
  border-radius: 10px;
Krophil's avatar
Krophil committed
1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144
}

#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----------------------------*/

Skia's avatar
Skia committed
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 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215
#user_profile_page {
    #user_profile {
        display: flex;
        justify-content: center;
        margin-top: 2em;
        margin-bottom: 4em;
        #user_profile_infos {
            flex-basis: 30%;
            border-right: solid 1px grey;
            div {
                margin: 0.5em;
            }
            #user_profile_infos_items {
                margin-top: 3em;
            }
            .user_profile_infos_item, .user_profile_infos_item_value {
                vertical-align: top;
                display: inline-block;
                width: 49%;
            }
            .user_profile_infos_item {
                color: grey;
            }
            #user_profile_infos_promo {
                display: flex;
                align-items: center;
                img {
                    margin: 0.5em;
                }
            }
            #user_profile_infos_quote {
                text-align: right;
                color: grey;
                font-style: italic;
                &:after, &:before {
                    content: "\201C";
                    vertical-align: middle;
                }
            }
        }
        #user_profile_pictures {
            height: 20em;
            flex-basis: 30%;
            display: flex;
            justify-content: flex-end;
            #user_profile_pictures_bigone {
                flex-grow: 9;
                flex-basis: 20em;
                display: flex;
                justify-content: center;
                align-items: center;
                img {
                    max-width: 100%;
                    max-height: 100%;
                    object-fit: contain;
                }
            }
            #user_profile_pictures_thumbnails {
                flex-grow: 1;
                flex-basis: 50px;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                img {
                    margin: 0.1em;
                    width: 50px;
                }
            }
        }
    }
Krophil's avatar
Krophil committed
1216 1217
}

Skia's avatar
Skia committed
1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228
.user_mini_profile {
    height: 100%;
    width: 100%;
    img {
        max-width: 100%;
        max-height: 100%;
    }
    .user_mini_profile_infos {
        padding: 0.2em;
        height: 20%;
        display: flex;
1229
        flex-wrap: nowrap;
Skia's avatar
Skia committed
1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249
        justify-content: space-around;
        font-size: 0.9em;
        div {
            max-height: 100%;
        }
        .user_mini_profile_infos_text {
            text-align: center;
            .user_mini_profile_nick {
                font-style: italic;
            }
        }
    }
    .user_mini_profile_picture {
        height: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

Krophil's avatar
Krophil committed
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286
.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;
  }
}

Skia's avatar
Skia committed
1287
/* XXX This seems to be used in the SAS */
Krophil's avatar
Krophil committed
1288 1289 1290
#pict {
  display: inline-block;
  width: 80%;
Soldat's avatar
Soldat committed
1291 1292
  background: hsl(0, 0%, 20%);
  border: solid hsl(0, 0%, 20%) 2px;
Krophil's avatar
Krophil committed
1293
}
Skia's avatar
Skia committed
1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304
/*--------------------------------MATMAT-------------------------------*/
.matmat_results {
    display: flex;
    flex-wrap: wrap;
    .matmat_user {
        flex-basis: 14em;
        align-self: flex-start;
        margin: 0.5em;
        height: 18em;
        overflow: hidden;
        border: 1px solid black;
Soldat's avatar
Soldat committed
1305
        box-shadow: $shadow-color 1px 1px 1px;
Skia's avatar
Skia committed
1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319
        &:hover {
            box-shadow: 1px 1px 5px $second-color;
        }
    }
    .matmat_user a {
        color: $primary-neutral-dark-color;
        height: 100%;
        width: 100%;
        margin: 0em;
        padding: 0em;
        display: block;
    }
}

Krophil's avatar
Krophil committed
1320

1321 1322 1323 1324 1325 1326 1327 1328 1329
/*---------------------------------PAGE--------------------------------*/

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

Krophil's avatar
Krophil committed
1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342
textarea {
  width: 98%;
  margin-top: 10px;
}

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

#token_form label {
  display: inline;
}

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

Skia's avatar
Skia committed
1343
#forum {
Skia's avatar
Skia committed
1344
  .button {
Soldat's avatar
Soldat committed
1345
    background-color: rgb(230, 230, 230);
Soldat's avatar
Soldat committed
1346
    padding: 10px;
Soldat's avatar
Soldat committed
1347 1348
    font-weight: bold;
    border-radius: 5px;
Skia's avatar
Skia committed
1349
    &:hover {
Soldat's avatar
Soldat committed
1350
      background-color: rgb(211, 211, 211);
Skia's avatar
Skia committed
1351 1352
    }
  }
Skia's avatar
Skia committed
1353 1354 1355 1356 1357 1358 1359 1360
  .topic {
    border: solid $primary-neutral-color 1px;
    padding: 1px;
    margin: 1px;
    p {
      margin: 1px;
      font-size: smaller;
    }
1361 1362 1363 1364 1365 1366
    a {
      color: $black-color;
    }
    a:hover {
      text-decoration: underline;
    }
Skia's avatar
Skia committed
1367
  }
Krophil's avatar
Krophil committed
1368

Skia's avatar
Skia committed
1369 1370 1371
  .tools {
    font-size: x-small;
    border: none;
Soldat's avatar
Soldat committed
1372
    font-weight: bold;
Skia's avatar
Skia committed
1373 1374 1375 1376
    a {
      padding: 1px;
    }
  }
Krophil's avatar
Krophil committed
1377

Skia's avatar
Skia committed
1378 1379 1380 1381 1382
  .title {
    font-size: small;
    font-weight: bold;
    padding: 2px;
  }
Krophil's avatar
Krophil committed
1383

Skia's avatar
Skia committed
1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396
  .last_message date {
    white-space: nowrap;
  }

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

  .forum {
1397
    background: $primary-neutral-light-color;
Skia's avatar
Skia committed
1398 1399 1400 1401 1402 1403
    padding: 1px;
    margin: 1px;
    p {
      margin: 1px;
      font-size: smaller;
    }
1404 1405 1406 1407 1408 1409
    a {
      color: $black-color;
    }
    a:hover {
      text-decoration: underline;
    }
Krophil's avatar
Krophil committed
1410
  }
Skia's avatar
Skia committed
1411

Soldat's avatar
Soldat committed
1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423
  .search_bar {
    margin: 10px 0px;
    display: flex;
    height: 20p;
    align-items: center;
  }
  .search_check {
    margin-left: 10px;
  }
  .search_bouton {
    margin-left: 10px;
  }
Skia's avatar
Skia committed
1424 1425 1426
  .category {
    margin-top: 5px;
    background: $secondary-color;
Soldat's avatar
Soldat committed
1427
    color: white;
Soldat's avatar
Soldat committed
1428
    border-radius: 10px 10px 0px 0px;
Skia's avatar
Skia committed
1429 1430 1431
    .title {
      text-transform: uppercase;
    }
Krophil's avatar
Krophil committed
1432
  }
Skia's avatar
Skia committed
1433 1434 1435 1436

  .message {
    padding: 1px;
    margin: 1px;
Soldat's avatar
Soldat committed
1437
    background: $secondary-neutral-light-color;
Skia's avatar
Skia committed
1438 1439 1440 1441 1442 1443 1444
    &:nth-child(odd) {
      background: $primary-neutral-light-color;
    }
    .title {
      font-size: 100%;
    }
    &.unread {
Soldat's avatar
Soldat committed
1445
      background: #e9eea1;
Skia's avatar
Skia committed
1446
    }
Krophil's avatar
Krophil committed
1447 1448
  }

Skia's avatar
Skia committed
1449 1450 1451
  .msg_author.deleted {
    background: #ffcfcf;
  }
Krophil's avatar
Krophil committed
1452

Skia's avatar
Skia committed
1453 1454 1455 1456 1457 1458 1459
  .msg_content {
    &.deleted {
      background: #ffefef;
    }
    display: inline-block;
    width: 80%;
    vertical-align: top;
Krophil's avatar
Krophil committed
1460 1461
  }

Skia's avatar
Skia committed
1462 1463 1464 1465 1466 1467 1468 1469
  .msg_author {
    display: inline-block;
    width: 19%;
    text-align: center;
    img {
      max-width: 70%;
      margin: 0px auto;
    }
Krophil's avatar
Krophil committed
1470 1471
  }

Skia's avatar
Skia committed
1472 1473 1474 1475
  .msg_header {
    display: inline-block;
    width: 100%;
    font-size: small;
Krophil's avatar
Krophil committed
1476 1477
  }

Skia's avatar
Skia committed
1478 1479 1480 1481 1482 1483 1484 1485 1486 1487
  .msg_meta {
    font-size: small;
    list-style-type: none;
    li {
      padding: 1px;
      margin: 1px;
    }
  }

  .forum_signature {
Soldat's avatar
Soldat committed
1488 1489
    color: hsl(0, 0%, 75%);
    border-top: 1px solid hsl(0, 0%, 75%);
Skia's avatar
Skia committed
1490
    a {
Soldat's avatar
Soldat committed
1491
      color: hsl(0, 0%, 75%);
Skia's avatar
Skia committed
1492 1493 1494
      &:hover {
        text-decoration: underline;
      }
Krophil's avatar
Krophil committed
1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507
    }
  }
}

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

.album {
  display: inline-block;
  border: solid 1px $black-color;
  text-align: center;
  padding: 5px;
  width: 200px;
  height: 140px;
Soldat's avatar
Soldat committed
1508
  background: hsl(0, 0%, 93%);
Krophil's avatar
Krophil committed
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522
  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;
Soldat's avatar
Soldat committed
1523
  background: #eeeeee;
Krophil's avatar
Krophil committed
1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542
  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
1543 1544 1545
  width: 90%;
  margin: 2em auto;

Soldat's avatar
Soldat committed
1546
  font-size: 90%;
Krophil's avatar
Krophil committed
1547
  text-align: center;
Skia's avatar
Skia committed
1548
  vertical-align: middle;
Krophil's avatar
Krophil committed
1549
  div {
Skia's avatar
Skia committed
1550 1551
    margin: 0.6em 0em;
    color: $white-color;
Soldat's avatar
Soldat committed
1552
    border-radius: 5px;
Skia's avatar
Skia committed
1553 1554
    display: flex;
    background-color: $primary-neutral-dark-color;
Soldat's avatar
Soldat committed
1555
    box-shadow: $shadow-color 0px 0px 15px;
Skia's avatar
Skia committed
1556 1557 1558
    a {
      padding: 0.8em;
      flex: 1;
Soldat's avatar
Soldat committed
1559
      font-weight: bold;
Skia's avatar
Skia committed
1560 1561
      color: $white-color;
      &:hover {
Soldat's avatar
Soldat committed
1562
        color: $primary-dark-color;
Skia's avatar
Skia committed
1563 1564
      }
    }
Krophil's avatar
Krophil committed
1565 1566 1567 1568 1569 1570 1571
  }
}

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

form {
  margin: 0px auto;
Soldat's avatar
Soldat committed
1572
  margin-bottom: 10px;
Krophil's avatar
Krophil committed
1573 1574 1575 1576
}

label {
  display: block;
Soldat's avatar
Soldat committed
1577
  margin-bottom: 8px;
Krophil's avatar
Krophil committed
1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624
}

.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 {
    vertical-align: middle;
  }
1625
}
1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638

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

.markdown {
  margin: 0px;
  padding: 0px;
  code {
    font-family: monospace;
    color: $white-color;
    background: $black-color;
    display: inline-block;
    padding: 4px;
    line-height: 120%;
1639
    vertical-align: middle;
1640 1641
  }
  a {
Skia's avatar
Skia committed
1642
    color: $primary-dark-color;
1643 1644 1645 1646
  }
  a:hover {
    text-decoration: underline;
  }
Skia's avatar
Skia committed
1647 1648 1649
  .footnotes {
      font-size: 85%;
  }
1650 1651
}

1652 1653 1654 1655 1656 1657 1658 1659
/*--------------------------------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;
}
1660 1661 1662 1663
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-top,
.ui-corner-left {
  border-radius: 0px;
}
1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675

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

}
1676 1677 1678

/* --------------------------------------pedagogy-----------------------------------*/

Sli's avatar
Sli committed
1679
$pedagogy-blue: #1bb9ea;
Sli's avatar
Sli committed
1680 1681
$pedagogy-orange: #ea7900;
$pedagogy-hover-blue: #0e97ce;
Sli's avatar
Sli committed
1682 1683 1684
$pedagogy-light-blue: #caf0ff;
$pedagogy-white-text: #f0f0f0;

1685
.pedagogy {
1686
    &.star-not-checked {
1687 1688 1689
      color : #f7f7f7;
      margin-bottom: 0px;
      margin-top: 0px;
1690 1691
    }
    &.star-checked {
1692 1693 1694
      color: $pedagogy-orange;
      margin-bottom: 0px;
      margin-top: 0px;
1695
    }
Sli's avatar
Sli committed
1696

1697 1698 1699 1700
    &.grade-without-star {
      display: none
    }

1701 1702 1703 1704 1705 1706 1707 1708 1709 1710
    @media screen and (max-width: $large-devices){
      &.star-not-checked {
        margin-left: 5px;
        margin-right: 5px;
      }
      &.star-checked {
        margin-left: 5px;
        margin-right: 5px;
      }
    }
Sli's avatar
Sli committed
1711

1712 1713 1714 1715 1716 1717 1718 1719 1720
    @media screen and (max-width: $small-devices){
      &.grade-without-star {
        display: block;
      }
      &.grade-with-star {
        display: none;
      }
    }

1721 1722
  #dynamic_view {
    font-size: 1.1em;
Sli's avatar
Sli committed
1723