style.scss 11.9 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
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
$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%);




/*--------------------------------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
51
52
  padding: 1px;
  margin: 1px;
Krophil's avatar
Krophil committed
53
54
55
56
57
58
59
}

.w_big {
  width: 75%;
}

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

.w_small {
Skia's avatar
Skia committed
64
  width: 23%;
Krophil's avatar
Krophil committed
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
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
}

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

#logo {
  margin-left: 5%;
  display: inline-block;
}

header {
  display: block;
  position: absolute;
  top: 0px;
  right: 2%;
  background-color: $secondary-light-color;
  margin: 0 10px;
  padding: 0 10px;
  border-radius: 0 0 10px 10px;
  ul {
    display: inline-block;
    list-style-type: none;
    margin: 0px;
    padding-right: 3px;
    vertical-align: middle;
  }
  a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    padding: 1em;
    &:hover {
      color: $primary-dark-color;
    }
  }
  form {
    display: inline-block;
    padding: 1em;
    width: 150px;
  }
}

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

#language_chooser {
  position: absolute;
  text-align: center;
  left: 5px;
  top: 5px;
  input {
    margin: 2px;
    width: 3em;
    height: 2em;
  }
}

#notif {
  display: none;
  position: absolute;
  background: lightgrey;
  text-align: center;
  overflow: scroll;
  max-height: 400px;
  li:hover {
    background: #bcc;
  }
}

#alert_box p, #info_box p {
  margin: 0px;
  padding: 0px;
}

#alert_box {
  font-size: smaller;
  display: inline-block;
  border: solid 1px grey;
  vertical-align: top;
  padding: 2px;
  margin: 4px;
  margin-top: 60px;
  min-width: 10%;
  max-width: 30%;
  min-height: 20px;
}

#info_box {
  font-size: smaller;
  display: inline-block;
  border: solid 1px $primary-neutral-light-color;
  vertical-align: top;
  padding: 2px;
  margin: 4px;
  margin-top: 60px;
  min-width: 10%;
  max-width: 30%;
  min-height: 20px;
  background: $white-color;
}

#alert_box {
  background: gold;
}

/*---------------------------------NAV---------------------------------*/

nav {
  display: block;
  width: 90%;
  margin: 0px auto;
  background: $primary-color;
  color: $white-color;
  a {
    color: $white-color;
    font-style: normal;
    font-weight: bolder;
    text-decoration: none;
    display: inline-block;
    padding: 20px;
    &:hover {
      background: $primary-dark-color;
      color: $white-color;
    }
  }
}

/*--------------------------------CONTENT------------------------------*/

196
197
198
199
.helptext {
    display: block;
}

Krophil's avatar
Krophil committed
200
201
202
203
#quick_notif {
  width: 90%;
  margin: 0px auto;
  list-style-type: none;
204
  background: $second-color;
Krophil's avatar
Krophil committed
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
  li {
    padding: 10px;
  }
}

#content {
  width: 88%;
  margin: 0px auto;
  padding: 1em 1%;
  background: $white-color;
  overflow: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-top: 0.5em;
}

h1 {
  font-size: 160%;
  margin-left: 50px;
}

h2 {
  font-size: 150%;
  margin-left: 40px;
}

h3 {
  font-size: 140%;
  margin-left: 30px;
}

h4 {
  font-size: 130%;
  margin-left: 20px;
}

h5 {
  font-size: 120%;
  margin-left: 10px;
}

h6 {
  font-size: 110%;
  margin-left: 0px;
}

p, pre {
  margin-top: 1em;
  margin-left: 0px;
}

Skia's avatar
Skia committed
258
ul, ol, dl {
Krophil's avatar
Krophil committed
259
260
261
262
263
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 25px;
}

Skia's avatar
Skia committed
264
265
266
267
dt {
    margin-top: 25px;
}

Krophil's avatar
Krophil committed
268
269
270
271
272
code {
  font-family: monospace;
}

blockquote {
Skia's avatar
Skia committed
273
274
  margin: 5px;
  padding: 2px;
Krophil's avatar
Krophil committed
275
276
277
  border: solid 1px $black-color;
}

Skia's avatar
Skia committed
278
279
280
281
blockquote h5:first-child {
  font-size: 100%;
}

Krophil's avatar
Krophil committed
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
.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%;
  }
}

329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
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
344
345
346
347
348
349
350
351
  font-style: italic;
}

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

352
u, .underline {
Krophil's avatar
Krophil committed
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
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
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
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
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
  text-decoration: underline;
}

.tool-bar {
  overflow: auto;
  padding: 4px;
}

.tools {
  float: right;
  border: 1px solid $primary-neutral-light-color;
  a {
    padding: 10px;
    display: inline-block;
  }
}

.selected_tab {
  background: $primary-neutral-light-color;
}

#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;
}

487
488
489
490
491
492
493
494
495
/*---------------------------------PAGE--------------------------------*/

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

Krophil's avatar
Krophil committed
496
497
498
499
500
501
502
503
504
505
506
507
508
textarea {
  width: 98%;
  margin-top: 10px;
}

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

#token_form label {
  display: inline;
}

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

Skia's avatar
Skia committed
509
510
511
512
513
514
515
516
517
#forum {
  .topic {
    border: solid $primary-neutral-color 1px;
    padding: 1px;
    margin: 1px;
    p {
      margin: 1px;
      font-size: smaller;
    }
518
519
520
521
522
523
    a {
      color: $black-color;
    }
    a:hover {
      text-decoration: underline;
    }
Skia's avatar
Skia committed
524
  }
Krophil's avatar
Krophil committed
525

Skia's avatar
Skia committed
526
527
528
529
530
531
532
  .tools {
    font-size: x-small;
    border: none;
    a {
      padding: 1px;
    }
  }
Krophil's avatar
Krophil committed
533

Skia's avatar
Skia committed
534
535
536
537
538
  .title {
    font-size: small;
    font-weight: bold;
    padding: 2px;
  }
Krophil's avatar
Krophil committed
539

Skia's avatar
Skia committed
540
541
542
543
544
545
546
547
548
549
550
551
552
  .last_message date {
    white-space: nowrap;
  }

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

  .forum {
553
    background: $primary-neutral-light-color;
Skia's avatar
Skia committed
554
555
556
557
558
559
    padding: 1px;
    margin: 1px;
    p {
      margin: 1px;
      font-size: smaller;
    }
560
561
562
563
564
565
    a {
      color: $black-color;
    }
    a:hover {
      text-decoration: underline;
    }
Krophil's avatar
Krophil committed
566
  }
Skia's avatar
Skia committed
567
568
569
570
571
572
573

  .category {
    margin-top: 5px;
    background: $secondary-color;
    .title {
      text-transform: uppercase;
    }
Krophil's avatar
Krophil committed
574
  }
Skia's avatar
Skia committed
575
576
577
578
579
580
581
582
583
584
585
586

  .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
587
      background: $secondary-neutral-light-color;
Skia's avatar
Skia committed
588
    }
Krophil's avatar
Krophil committed
589
590
  }

Skia's avatar
Skia committed
591
592
593
  .msg_author.deleted {
    background: #ffcfcf;
  }
Krophil's avatar
Krophil committed
594

Skia's avatar
Skia committed
595
596
597
598
599
600
601
  .msg_content {
    &.deleted {
      background: #ffefef;
    }
    display: inline-block;
    width: 80%;
    vertical-align: top;
Krophil's avatar
Krophil committed
602
603
  }

Skia's avatar
Skia committed
604
605
606
607
608
609
610
611
612
  .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
613
614
  }

Skia's avatar
Skia committed
615
616
617
618
  .msg_header {
    display: inline-block;
    width: 100%;
    font-size: small;
Krophil's avatar
Krophil committed
619
620
  }

Skia's avatar
Skia committed
621
622
623
624
625
626
627
628
629
630
  .msg_meta {
    font-size: small;
    list-style-type: none;
    li {
      padding: 1px;
      margin: 1px;
    }
  }

  .forum_signature {
Krophil's avatar
Krophil committed
631
    color: #C0C0C0;
Skia's avatar
Skia committed
632
633
634
635
636
637
    border-top: 1px solid #C0C0C0;
    a {
      color: #C0C0C0;
      &:hover {
        text-decoration: underline;
      }
Krophil's avatar
Krophil committed
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
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
    }
  }
}

/*------------------------------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 {
  text-align: center;
  div {
    margin-top: 25px;
    margin-bottom: 15px;
  }
  a {
    margin: 1px 20px;
  }
}

/*---------------------------------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;
  }
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
795
796

/*-------------------------------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 {
    color: $primary-light-color;
  }
  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;
}