~cadence/cloudtube

ref: 7f756d5762710c8284407c6cc6ed69ce16f9392d cloudtube/sass/includes/cant-think-page.sass -rw-r--r-- 1.3 KiB
7f756d57Cadence Ember Add narration to "can't think" page 5 months ago
                                                                                
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
@use "sass:list"
@use "colors.sass" as c

.cant-think-page
  .main-nav
    display: none

  .encouraging-message
    text-align: left
    max-width: 572px
    padding-top: 40px
    border-radius: 0px 0px 16px 16px
    box-sizing: border-box

  .page-narration
    background-color: c.$bg-accent
    border: 1px solid #aaa
    color: #fff
    border-radius: 0
    padding: 16px
    margin: 40px auto 60px

    &__audio-container
      margin-top: 20px

    &__audio
      width: 100%

  .leave
    margin: 26px 32px !important
    color: #aaa

    $sizes: 14px 16px 21px 30px 72px
    @each $size in $sizes
      &.leave__stage-#{list.index($sizes, $size)}
        font-size: $size

    &.leave__final
      font-weight: bold
      color: #f2f2f2
      text-align: center

      .leave__actions
        display: block

    .leave__actions
      margin-left: 5px
      font-family: monospace
      font-size: 0.9em

      & a, & a:visited
        color: #fb8460

  .ultimatum
    margin-top: 32px !important

  #i-understand
    display: flex
    height: 20px
    justify-content: center
    align-items: center
    font-size: 60px
    font-weight: bold
    color: #fff

    &:target
      position: fixed
      top: 0
      bottom: 0
      left: 0
      right: 0
      height: unset
      background: black

      &::after
        content: "Good."