diff options
| author | Zog | 2018-05-04 16:39:51 +0200 |
|---|---|---|
| committer | Zog | 2018-05-04 16:39:51 +0200 |
| commit | 08aa082e941db7e23d91edb8e48bead2b72e9fe3 (patch) | |
| tree | af79f7f469fdce46b4b48e87fd5e25b4ace756f0 /app/assets | |
| parent | db65c0ffc7ccc76a144689ec3db43fbc2e61ee82 (diff) | |
| download | chouette-core-08aa082e941db7e23d91edb8e48bead2b72e9fe3.tar.bz2 | |
Refs #6923; Implement a consolidated view
Diffstat (limited to 'app/assets')
| -rw-r--r-- | app/assets/stylesheets/components/_forms.sass | 8 | ||||
| -rw-r--r-- | app/assets/stylesheets/modules/_vj_collection.sass | 61 |
2 files changed, 66 insertions, 3 deletions
diff --git a/app/assets/stylesheets/components/_forms.sass b/app/assets/stylesheets/components/_forms.sass index b13c5fc23..e7aa31fab 100644 --- a/app/assets/stylesheets/components/_forms.sass +++ b/app/assets/stylesheets/components/_forms.sass @@ -507,10 +507,10 @@ table, .table right: 15px top: 50% padding: 0 - margin-top: -13px z-index: 1 + transform: translateY(-50%) - .btn + *:not(.btn-group) > .btn color: $blue font-weight: 700 background-color: transparent @@ -718,6 +718,10 @@ table, .table > .form-group:last-child border-right: none + @for $i from 1 through 99 + &.w#{$i} + display: inline-block + // Form group date .form-group.date .form-inline diff --git a/app/assets/stylesheets/modules/_vj_collection.sass b/app/assets/stylesheets/modules/_vj_collection.sass index 3ff0828ea..3a252bfc0 100644 --- a/app/assets/stylesheets/modules/_vj_collection.sass +++ b/app/assets/stylesheets/modules/_vj_collection.sass @@ -2,7 +2,7 @@ // VJ Collection // //-----------------// -#vehicle_journeys_wip +#vehicle_journeys_wip, .consolidated-view .table-2entries .t2e-head > .td @@ -218,3 +218,62 @@ // Reset default behaviour .form-control border-color: #ccc + + +.consolidated-view + $highlighted: #d4ba32 + .line + & > .head + font-size: 2em + text-transform: capitalize + border-top: 3px solid black + border-bottom: 3px solid black + padding-left: 10px + margin-top: 10px + .routes + .route + background: #F9F9F9 + & > .head + padding: 15px + &.highlighted + .pull-right, span.fa + color: $highlighted !important + a + color: black + font-size: 1.2em + text-transform: capitalize + .fa + color: $red + transition: transform 0.1s + &.active .fa + transform: rotate(180deg) + .pull-right + font-size: 0.9em + text-transform: lowercase + .vehicle-journeys + margin-bottom: 40px + + .highlighted + background-color: lighten($highlighted, 20%) !important + .disabled + background-color: #ccc + color: #777 + .t2e-item-list .t2e-item + .th + max-width: 100px + & > div + text-overflow: ellipsis + overflow: hidden + white-space: nowrap + .td + text-align: center + + + .table-2entries > .t2e-head > .td > div > span::after + bottom: -6px !important + + .table.table-2entries .t2e-item-list .t2e-item + background-color: #F9F9F9 + + .table.table-2entries .td > div.headlined::before + border-right-color: #F9F9F9 |
