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


  .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