aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/OpenLayers/custom.sass
blob: 5a3612f992b696205ff504359e1c5be91a8c2f66 (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
.map
  .list-group-item &
    margin-top: 15px

  .routes-labels
    padding: 0
    display: flex
    justify-content: space-between
    flex-wrap: wrap
    margin: 5px -5px
    li
      list-style-type: none
      flex: 1 0 25%
      border: 1px solid $lightgrey
      padding: 5px
      margin: 5px
      border-radius: 5px
      cursor: pointer
      color: $blue
      white-space: nowrap
      max-width: 33%

      &:hover
        background: $orange
        color: white

  .ol-scale-line
    background-color: transparent
    bottom: 5px
    right: 5px
    left: auto
    padding: 3px
    position: absolute

    .ol-scale-line-inner
      position: relative
      border: none
      border-bottom: 2px solid $darkblue
      border-top: none
      color: $darkblue
      font-size: 0.85em
      text-align: center
      font-weight: 700

      &:before
        content: ''
        display: block
        position: absolute
        left: 0
        bottom: 0
        right: 0
        height: 5px
        border-left: 2px solid $darkblue
        border-right: 2px solid $darkblue

  .ol-zoom
    background-color: transparent

    .ol-zoom-in, .ol-zoom-out
      background-color: $darkblue
      color: #fff
      border-radius: 3px
      margin: 0

    .ol-zoom-in
      border-bottom-left-radius: 0
      border-bottom-right-radius: 0

    .ol-zoom-out
      margin-top: 1px
      border-top-left-radius: 0
      border-top-right-radius: 0

  .ol-zoomslider
    margin: 2px
    width: calc(1.375em + 4px)
    background-color: rgba($darkblue, 0.25)

    button.ol-zoomslider-thumb
      margin: 0 -2px 0 -2px
      padding: 0 2px
      background-color: $darkblue
      color: #fff
      border-radius: 0
      z-index: 5