~cadence/cloudtube

ref: 739f537bc7f09d3a8f65de444076e71d87922d14 cloudtube/sass/includes/nav.sass -rw-r--r-- 871 bytes
739f537bCadence Ember Setting to alter recommended videos display 10 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
@use "colors.sass" as c
@use "buttons.sass" as *
@use "_dimensions.sass" as dimensions

.main-nav
  background-color: c.$bg-accent
  display: flex
  padding: 8px
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.1)

  +dimensions.thin
    display: block

  .links
    display: flex

    +dimensions.thin
      margin-bottom: 4px
      padding: 1px

  .link
    @include button-base
    text-decoration: none
    margin: 1px 8px 1px 0px
    font-size: 20px
    display: flex
    align-items: center

    &.home
      font-weight: bold

    &, &:visited
      color: #fff

    &:focus, &:hover
      background-color: c.$bg-accent-x

  .search-form
    display: flex
    flex: 1
    align-items: center

    .search
      @include button-bg
      padding: 10px
      flex: 1
      margin: 1px

      &:hover, &:focus
        border: 1px solid c.$edge-grey
        margin: 0px