diff options
Diffstat (limited to 'app/assets')
| -rw-r--r-- | app/assets/stylesheets/OpenLayers/custom.sass | 57 | ||||
| -rw-r--r-- | app/assets/stylesheets/components/_modals.sass | 6 | ||||
| -rw-r--r-- | app/assets/stylesheets/components/_referential_overview.sass | 19 | 
3 files changed, 51 insertions, 31 deletions
| diff --git a/app/assets/stylesheets/OpenLayers/custom.sass b/app/assets/stylesheets/OpenLayers/custom.sass index fa874d924..013c056d6 100644 --- a/app/assets/stylesheets/OpenLayers/custom.sass +++ b/app/assets/stylesheets/OpenLayers/custom.sass @@ -2,15 +2,20 @@    .list-group-item &      margin-top: 15px -  .routes-labels +  .ol-routes-layers +    position: absolute +    right: 42px +    top: .5em      padding: 0 -    display: flex -    justify-content: space-between -    flex-wrap: wrap      margin: 5px -5px -    li -      list-style-type: none -      flex: 1 0 25% +    width: 30% +    background-color: transparentize(white, 0.2) +    border-radius: 3px +    max-height: 90% +    overflow-y: scroll +    a +      display: block +      width: calc(100% - 10px)        border: 1px solid $lightgrey        padding: 5px        margin: 5px @@ -18,11 +23,21 @@        cursor: pointer        color: $blue        white-space: nowrap - +      text-overflow: ellipsis +      overflow: hidden +      font-size: 0.6em        &:hover -        background: $orange +        text-decoration: none + +      &.active +        background: $blue          color: white +  .ol-routes-layers-button-wrapper +    position: absolute +    right: .5em +    top: .5em +    .ol-scale-line      background-color: transparent      bottom: 5px @@ -55,20 +70,20 @@    .ol-zoom      background-color: transparent -    .ol-zoom-in, .ol-zoom-out -      background-color: $darkblue -      color: #fff -      border-radius: 3px -      margin: 0 +  .ol-zoom-in, .ol-zoom-out, .ol-routes-layers-button +    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-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-zoom-out +    margin-top: 1px +    border-top-left-radius: 0 +    border-top-right-radius: 0    .ol-zoomslider      margin: 2px diff --git a/app/assets/stylesheets/components/_modals.sass b/app/assets/stylesheets/components/_modals.sass index e52a2e125..14b783c51 100644 --- a/app/assets/stylesheets/components/_modals.sass +++ b/app/assets/stylesheets/components/_modals.sass @@ -50,3 +50,9 @@ $modalW: 600px      .modal-footer        border-color: rgba($blue, 0.25)        padding: 15px 30px + +    .has-error .form-group +      margin-bottom: -10px + +    .form-group +      margin-bottom: 25px diff --git a/app/assets/stylesheets/components/_referential_overview.sass b/app/assets/stylesheets/components/_referential_overview.sass index 0beb8ab67..7a0cc98c5 100644 --- a/app/assets/stylesheets/components/_referential_overview.sass +++ b/app/assets/stylesheets/components/_referential_overview.sass @@ -22,7 +22,7 @@        box-shadow: 0 0 10px rgba(0,0,0,0.5)        z-index: 1    .time-travel -    padding-top: 4px +    padding-top: 3px      padding-bottom: 4px      a.btn:first-child        margin-right: 1px @@ -61,7 +61,7 @@          border-color: $grey          width: auto          flex: 1 1 -        padding: 4px 11px 5px +        padding: 6px 11px          .input-group-btn            right: 10px          &.togglable @@ -117,6 +117,7 @@          padding: 7px 10px          border-bottom: 1px solid $grey          font-size: 0.8em +        display: block          &:last-child            border-bottom: none          .number @@ -135,10 +136,9 @@            overflow: hidden          .name            display: inline-block -          width: $left-size - 50px() +          width: $left-size - 10px            white-space: nowrap            line-height: 20px -          margin-left: 5px            text-overflow: ellipsis            overflow: hidden            vertical-align: bottom @@ -182,8 +182,8 @@            height: 100%            transition: margin 0.5s            background: white -          &:last-child -            box-shadow: 0 -10px 10px rgba(0,0,0,0.5) +          // &:last-child +          //   box-shadow: 0 -10px 10px rgba(0,0,0,0.5)            .week-span              left: 15px              top: 15px @@ -246,18 +246,17 @@              &.selected, &:hover                color: $blue                background-color: transparentize($blue, 0.7) + +            &:hover +              background-color: transparentize(white, 0.7)                &:after                  content: ""                  left: -1px                  right: -1px                  top: 100%                  height: 10000px -                background-color: transparentize($blue, 0.7)                  position: absolute                  z-index: 4 -            &:hover -              background-color: transparentize(white, 0.7) -              &:after                  background-color: transparentize(white, 0.7)        .line | 
