summaryrefslogtreecommitdiffstats
path: root/client/styles/main.styl
blob: 0f12e35e2d30029a5992325efd0d27d884f81e6b (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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
196
197
198
199
200
201
202
203
204
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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
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
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
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
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
@import 'nib'

html, body, input, select, textarea, button
  font: 14px "Helvetica Neue", Arial, Helvetica, sans-serif
  line-height: 18px
  color: #4d4d4d

html
  font-size: 100%
  -webkit-text-size-adjust: 100%

p
  margin: 0

ol,
ul
  list-style: none
  margin: 0
  padding: 0

blockquote, q
  quotes: none

  &:before,
  &:after
    content: none

ins
  text-decoration: none

del
  text-decoration: line-through

table
  border-collapse: collapse
  border-spacing: 0
  width: 100%

hr
  height: 1px
  border: 0
  border: none
  width: 100%
  background: #dbdbdb
  color: #dbdbdb
  margin: 15px 0
  padding: 0

article,
aside,
figure,
footer,
header,
hgroup,
nav,
section
  display: block

caption, th, td
  text-align: left
  font-weight: 400

a img
  border: none

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary
  display: block

html
  max-height: 100%

body
  background: darken(white, 10%)
  margin: 0
  position: relative
  z-index: 0
  overflow-y: auto

#surface
  display: flex
  flex-direction: column
  min-height: 100vh

#content
  position: relative
  flex: 1

div::selection
  background: transparent

h1
  font-size: 22px
  line-height: 1.2em
  margin: 0 0 10px

h2
  font-size: 18px
  line-height: 1.2em
  margin: 0 0 9px

h3, h4, h5, h6
  font-size: 16px
  line-height: 1.25em
  margin: 0 0 6px

.quiet, .quiet a
  color: #8c8c8c

.error, .error a
  color: #eb3800

.warning
  background: #f0ecdb
  border-radius: 3px
  color: #aa8f09
  padding: 6px 8px

  a
    color: #aa8f09

a
  color: #444
  cursor: pointer
  text-decoration: none

  &:hover
    color: #111

  &.disabled,
  &.disabled:hover
    color: #8c8c8c
    cursor: default
    text-decoration: none

table, p
  margin-bottom: 8px

pre
  margin: 15px 0
  white-space: pre
  max-height: 516px

pre,
code,
tt
  font-family: bitstream vera sans mono, andale mono, lucida console, monospace
  line-height: 1.25em

blockquote
  margin: 8px 0 8px 8px
  border-left: 1px solid #ccc
  color: #666
  padding: 0 0 0 8px

table, td, th
  vertical-align: top
  border-top: 1px solid #ccc
  border-left: 1px solid #ccc

td, th
  padding: 5px
  border-right: 1px solid #ccc
  border-bottom: 1px solid #ccc

th
  font-weight: 700

thead
  background: #fff
  background: linear-gradient(to bottom, #fff 0, #f0f0f0 100%)

tbody
  background-color: #fff

dl, dt
  margin-bottom: 8px

dd
  margin: 0 0 16px 24px

.emoji
  height: 18px
  width: 18px
  vertical-align: text-bottom

.edit
  display: none
  position: relative

.editable .current
  cursor: pointer

.editable.editing
  cursor: auto

.edits-warning, .edits-error
  display: none
  clear: both

.editing .edit
  display: block
  float: left
  padding-bottom: 9px
  z-index: 100
  width: 100%

.editing .edits-warning
  display: none!important

.editing .edit .field,
.editing .edit .field:active
  background: rgba(0, 0, 0, .03)
  box-shadow: inset 0 1px 6px rgba(0, 0, 0, .1)
  border-color: rgba(0, 0, 0, .15)
  margin-bottom: 4px

.edit-heavy .field
  font-size: 15px
  font-weight: 700
  line-height: 18px


.board-backgrounds-list

  .board-background-select
    box-sizing: border-box
    display: block
    float: left
    width: 50%
    padding-top: 12px
    position: relative
    z-index: 1

    &:nth-child(-n + 2)
      padding-top: 0

    &:nth-child(2n)
      padding-left: 6px

    &:nth-child(2n+1)
      padding-right: 6px

    .background-box
      border-radius: 3px
      background-size: cover
      display: block
      height: 74px
      position: relative
      width: 100%
      cursor: pointer
      display: flex
      align-items: center
      justify-content: center

      i.fa-check
        font-size: 25px
        color: white

.new-comment
  position: relative
  margin: 0 0 20px 38px

  .member
    opacity: .7
    position: absolute
    top: 1px
    left: -38px

  .helper
    bottom: 0
    display: none
    position: absolute
    right: 9px

  &.focus

    .member
      opacity: 1

    .helper
      display: inline-block

    .new-comment-input
      min-height: 108px
      color: #4d4d4d
      cursor: auto
      overflow: hidden
      word-wrap: break-word

  .too-long
    margin-top: 8px

.new-comment-input
  background-color: #fff
  border: 0
  box-shadow: 0 1px 2px rgba(0, 0, 0, .23)
  color: #8c8c8c
  height: 36px
  margin: 4px 4px 6px 0
  padding: 9px 11px
  width: 100%

  &:hover,
  &:focus
    background-color: #fff
    box-shadow: 0 1px 3px rgba(0, 0, 0, .33)
    border: 0
    cursor: pointer

  &:focus
    cursor: auto

.editing-members
  float: right

  .edit-in-progress
    display: inline-block
    border: 1px solid #ccc
    background: #ddd
    margin: 0 4px
    border-radius: 2px

    .inline-member
      cursor: default

    .inline-member-av
      width: 18px
      height: 18px
      margin: 0 0 -4px 0

    .initials
      margin-left: 3px

    .icon
      animation: pulsate 1s ease-in alternate
      animation-iteration-count: infinite

@keyframes pulsate
  0%
    opacity: 1

  to
    opacity: .4

.list-voters.compact .voter
  position: relative
  min-height: 36px

  .member
    left: 0
    position: absolute
    top: 0

  .title
    display: block
    line-height: 30px
    left: 0
    overflow: hidden
    padding-left: 38px
    position: absolute
    text-overflow: ellipsis
    top: 0
    white-space: nowrap
    width: 230px

.list-voters .title
  display: none

.card-composer
  padding-bottom: 8px

.cc-controls
  margin-top: 1px

  input[type="submit"]
    float: left
    margin-top: 0
    padding: 5px 18px

  .icon-lg
    float: left

  .cc-opt
    float: right

.minicard-placeholder,
.minicard.placeholder
  background: silver
  border: none
  min-height: 18px

  .hook
    height: 18px
    position: absolute
    right: 0
    top: 0
    width: 18px

.chrome .minicard.ui-sortable-helper,
.safari .minicard.ui-sortable-helper
  box-shadow: -2px 2px 6px rgba(0, 0, 0, .2)

input[type="text"].attachment-add-link-input
  float: left
  margin: 0 0 8px
  width: 80%

input[type="submit"].attachment-add-link-submit
  float: left
  margin: 0 0 8px 4px
  padding: 6px 12px
  width: 18%

.card-detail-badge
  background-color: #dbdbdb
  border-radius: 3px
  color: #737373
  cursor: default
  display: block
  height: 20px
  line-height: 20px
  margin: 0 4px 4px 0
  padding: 5px 10px
  text-align: center
  text-decoration: none

  &:hover
    color: #737373

  &.badge-state-clickable
    text-decoration: underline

.badge-state-clickable:hover
  color: #262626
  cursor: pointer
  text-decoration: underline

.card-detail-badge-aging:first-letter
  text-transform: uppercase

.badge
  color: #8c8c8c
  float: left
  height: 18px
  margin: 0 3px 3px 0
  padding: 0 4px 0 0
  position: relative
  text-decoration: none

.badge-icon
  float: left

.badge-text
  float: left
  font-size: 12px

.badge-state-image-only
  padding: 0

  .badge-icon
    margin-right: 0

.badge-state-clickable
  cursor: pointer

  .badge-text
    text-decoration: underline

.badge-state-complete
  background-color: #4aba12
  border-radius: 3px
  color: #fff

  .badge-icon
    color: #fff

.badge-state-unread-notification
  background-color: #990f0f
  border-radius: 3px
  color: #fff

  .badge-icon
    color: #fff

.badge-state-voted
  background-color: #dbdbdb
  border-radius: 3px
  color: #8c8c8c

  .badge-icon
    color: #999

.badge-state-due-soon, .badge-state-due-soon:hover
  background-color: #e6bf00
  border-radius: 3px
  color: #fff

  .badge-icon
    color: #fff

.badge-state-due-now, .badge-state-due-now:hover
  background-color: #990f0f
  border-radius: 3px
  color: #fff

  .badge-icon
    color: #fff

.badge-state-due-past, .badge-state-due-past:hover
  background-color: #ad8585
  border-radius: 3px
  color: #fff

  .badge-icon
    color: #fff

.checklist-list:empty
  display: none

.checklist
  margin-bottom: 16px

.checklist.placeholder
  background: #dcdcdc
  border-radius: 3px

.checklist.ui-sortable-helper
  background: rgba(240, 240, 240, .85)
  border-radius: 3px

  .checklist-title,
  .current,
  .window-module-title
    cursor: grabbing

  .icon-menu
    visibility: hidden

.checklist-items-list
  min-height: 2px

.checklist-item
  clear: both
  margin: 0 0 6px
  padding: 0 0 4px 38px
  position: relative
  transform-origin: left bottom
  transition-property: transform, opacity, height, padding, margin
  transition-duration: .14s
  transition-timing-function: ease-in

  &.placeholder
    background: #dcdcdc
    border-radius: 3px
    margin: -5px -5px 5px 5px
    padding: 5px 0

  &.ui-sortable-helper
    background: rgba(240, 240, 240, .85)
    border-radius: 3px
    margin: -3px -3px -3px 7px
    padding: 3px 3px 3px 33px

    .checklist-item-checkbox
      top: 2px
      left: 2px

.hide-completed-items .checklist-item-fade-out
  height: 0
  margin: 0
  opacity: 0
  padding: 0
  transform: rotate(-5deg) translateX(-10px) translateY(-10px)

.checklist-item-checkbox
  background: #fff
  border-radius: 3px
  box-shadow: 0 2px 3px rgba(0, 0, 0, .1)
  border: 1px solid #ccc
  border-bottom-color: #b3b3b3
  font-weight: 700
  position: absolute
  left: 6px
  line-height: 18px
  overflow: hidden
  text-align: center
  text-indent: 100%
  top: -2px
  height: 18px
  width: 18px
  white-space: nowrap

  &.enabled:hover
    background-color: #f0f0f0
    border-color: #ccc
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1)
    color: #8c8c8c
    cursor: pointer
    text-indent: 0

  &.enabled:active
    background-color: #e3e3e3
    border-color: #ccc
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, .1)
    color: #4d4d4d
    text-indent: 0

.checklist-item-details-text
  min-height: 18px
  margin-bottom: 0

  &.enabled:hover
    color: #4d4d4d
    cursor: pointer

  &:empty
    content: "No name"
    color: #8c8c8c

.checklist-item-state-complete

  .checklist-item-details-text
    color: #8c8c8c
    font-style: italic
    text-decoration: line-through

  img
    opacity: .3

  .checklist-item-checkbox
    background-color: #f0f0f0
    border-color: #dbdbdb
    border-bottom-color: #ccc
    box-shadow: none
    text-indent: 0

    &.enabled:hover
      background-color: #e6e6e6
      border-color: #ccc
      box-shadow: none

    &.enabled:active
      background-color: #dbdbdb
      box-shadow: inset 0 3px 6px rgba(0, 0, 0, .1)

.hide-completed-items .checklist-item-state-complete
  display: none

.checklist-new-item-text,
.checklist-new-item-text:hover
  background: transparent
  border-color: transparent
  box-shadow: none
  color: #8c8c8c
  cursor: pointer
  margin-bottom: 4px
  max-height: 32px
  overflow: hidden
  resize: none
  text-decoration: none

  .checklist-new-item.focus &
    background: #fff
    border-color: #2b7cab
    box-shadow: 0 0 3px #2b7cab
    color: #4d4d4d
    cursor: text
    max-height: none
    resize: vertical

.checklist-progress
  margin-bottom: 12px
  position: relative

.checklist-progress-percentage
  color: #8c8c8c
  font-size: 11px
  line-height: 10px
  position: absolute
  left: 0
  top: -1px
  text-align: center
  width: 38px

.checklist-progress-bar
  background: #dbdbdb
  border-radius: 3px
  clear: both
  height: 8px
  margin: 0 0 0 38px
  overflow: hidden
  position: relative

.checklist-progress-bar-current
  background: #479fd1
  background: linear-gradient(to bottom, #479fd1 0, #2288c3 100%)
  bottom: 0
  left: 0
  position: absolute
  top: 0
  transition: width .14s ease-in, background .14s ease-in

.checklist-progress-bar-current-complete
  background: #24a828

.checklist-completed-text
  display: block
  margin: 8px 0 0 38px

.checklist .edit
  clear: both
  margin-top: -5px

.explorer .av-btn
  background: url(about:blank)

.atMention
  background: #dbdbdb
  border-radius: 3px
  padding: 1px 4px
  margin: -1px 0
  display: inline-block

  &.me
    background: #cfdfe8

.helper
  background-color: #e6e6e6
  border-radius: 3px
  color: #8c8c8c
  font-size: 13px
  line-height: 15px
  margin: 4px 0 0
  padding: 6px 8px
  width: auto

  a
    color: #8c8c8c

    &:hover
      color: #666

.empty-list, .empty
  background: #e6e6e6
  border: 1px dashed #ccc
  border-radius: 3px
  color: #8c8c8c
  display: block
  padding: 6px
  text-align: center

.empty-list
  border-radius: 6px
  padding: 25px 6px

.search-results-page-contents .empty-list
  margin: 12px 0 0 52px

.window-module .empty-list
  margin: 8px 0 0 38px

.loading
  margin: 19px auto
  text-align: center

.big-message
  display: block
  margin: 75px auto
  text-align: center
  max-width: 600px

  h1
    font-size: 26px
    margin-bottom: 24px

  p
    font-size: 18px
    line-height: 22px

  &.with-picture
    margin-top: 35px

    h1
      margin-top: 20px

    .callout
      margin: 20px 0

.callout
  background: #e3e3e3
  border-radius: 5px
  padding: 20px

  ol
    text-align: left
    list-style-type: decimal
    margin-left: 25px
    font-size: 16px

  li
    margin: 10px 0

.gutter
  margin-left: 38px