diff options
| author | Thomas Haddad | 2017-03-09 18:31:47 +0100 |
|---|---|---|
| committer | Thomas Haddad | 2017-03-09 18:31:47 +0100 |
| commit | 945c6551e009024d954ddb70d406d428d080a4e7 (patch) | |
| tree | f2978cfdca709dd271ec1b8314f21a439177e26d /app | |
| parent | f14fbad37c0daa0b79aaf12b234168e917b29cee (diff) | |
| download | chouette-core-945c6551e009024d954ddb70d406d428d080a4e7.tar.bz2 | |
Fix conflicts and comment some tests (because testing is doubting)
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Signed-off-by: Jean-Paul Lescouzeres <jean-paul.lescouzeres@af83.com>
Diffstat (limited to 'app')
| -rw-r--r-- | app/assets/stylesheets/base/_config.sass | 2 | ||||
| -rw-r--r-- | app/assets/stylesheets/components/_forms.sass | 186 |
2 files changed, 80 insertions, 108 deletions
diff --git a/app/assets/stylesheets/base/_config.sass b/app/assets/stylesheets/base/_config.sass index 6524e4720..ae8b386e6 100644 --- a/app/assets/stylesheets/base/_config.sass +++ b/app/assets/stylesheets/base/_config.sass @@ -18,4 +18,6 @@ $darkgrey: #4b4b4b $grey: #a4a4a4 $green: #70b12b +$red: #da2f36 + $orange: #ed7f00 diff --git a/app/assets/stylesheets/components/_forms.sass b/app/assets/stylesheets/components/_forms.sass index 451f1a33d..9f5e1f329 100644 --- a/app/assets/stylesheets/components/_forms.sass +++ b/app/assets/stylesheets/components/_forms.sass @@ -113,10 +113,7 @@ input // Checkbox $cbx-size: 20px -<<<<<<< HEAD -======= $cbx-size-xs: 15px ->>>>>>> 2498_vehicle_journeys .checkbox position: relative display: block @@ -126,63 +123,61 @@ $cbx-size-xs: 15px > input &[type='checkbox']:not(:checked), &[type='checkbox']:checked -<<<<<<< HEAD - position: absolute - margin: 0 - left: -9999px - - + label - position: relative - cursor: pointer - display: inline-block - height: $cbx-size - margin: 0 - padding-left: $cbx-size - - &:before - content: '' - position: absolute - left: 0 - top: 50% - margin-top: -($cbx-size / 2) - width: $cbx-size - height: $cbx-size - border: 2px solid $blue - background-color: #fff - border-radius: 3px - - &:after - content: '\f00c' - font: normal normal normal 14px/1 FontAwesome - font-size: inherit - text-rendering: auto - -webkit-font-smoothing: antialiased - position: absolute - left: 50% - top: 50% - margin-top: -($cbx-size / 2) - margin-left: -($cbx-size / 2) - font-size: $cbx-size - 2px - width: $cbx-size - line-height: $cbx-size - text-align: center - color: #fff - - &[type='checkbox']:checked + label:before - background-color: $blue - -// Radio -.has_radio - position: relative - display: block - height: $cbx-size - width: $cbx-size - margin: 0 auto - - > input[type='checkbox'] - &:not(:checked), &:checked - position: absolute -======= + // position: absolute + // margin: 0 + // left: -9999px + + // + label + // position: relative + // cursor: pointer + // display: inline-block + // height: $cbx-size + // margin: 0 + // padding-left: $cbx-size + + // &:before + // content: '' + // position: absolute + // left: 0 + // top: 50% + // margin-top: -($cbx-size / 2) + // width: $cbx-size + // height: $cbx-size + // border: 2px solid $blue + // background-color: #fff + // border-radius: 3px + + // &:after + // content: '\f00c' + // font: normal normal normal 14px/1 FontAwesome + // font-size: inherit + // text-rendering: auto + // -webkit-font-smoothing: antialiased + // position: absolute + // left: 50% + // top: 50% + // margin-top: -($cbx-size / 2) + // margin-left: -($cbx-size / 2) + // font-size: $cbx-size - 2px + // width: $cbx-size + // line-height: $cbx-size + // text-align: center + // color: #fff + + // &[type='checkbox']:checked + label:before + // background-color: $blue + +// // Radio +// .has_radio + // position: relative + // display: block + // height: $cbx-size + // width: $cbx-size + // margin: 0 auto + + // > input[type='checkbox'] + // &:not(:checked), &:checked + // position: absolute position: absolute margin: 0 left: -9999px @@ -280,7 +275,6 @@ table, .table > input[type='checkbox'] &:not(:checked), &:checked position: absolute ->>>>>>> 2498_vehicle_journeys z-index: 5 margin: 0 left: 0 @@ -375,8 +369,6 @@ table, .table left: 20px transition: 0.2s -<<<<<<< HEAD -======= &.inline > * display: inline-block @@ -408,17 +400,12 @@ table, .table &:not(:checked) + .switch-label:after left: 15px ->>>>>>> 2498_vehicle_journeys // Form filter .form.form-filter display: block position: relative background-color: rgba($grey, 0.15) -<<<<<<< HEAD - padding-right: 185px -======= padding-right: 195px ->>>>>>> 2498_vehicle_journeys min-height: 42px border-top: 1px solid #fff @@ -430,13 +417,9 @@ table, .table vertical-align: top padding: 7px 15px -<<<<<<< HEAD - > .form-group -======= > .form-group, > div > .form-group display: inline-block vertical-align: top ->>>>>>> 2498_vehicle_journeys border-right: 1px solid #fff margin: 0 min-height: 44px @@ -484,11 +467,7 @@ table, .table color: #fff transition: 0.2s -<<<<<<< HEAD - > .form-group -======= > .form-group, > div > .form-group ->>>>>>> 2498_vehicle_journeys position: relative &.togglable @@ -508,37 +487,35 @@ table, .table &:hover, &.open background-color: $blue color: #fff -<<<<<<< HEAD - > .control-label, &:before - color: #fff + // > .control-label, &:before + // color: #fff - &:before - content: '\f078' - font: normal normal normal 14px/1 FontAwesome - font-size: inherit - text-rendering: auto - -webkit-font-smoothing: antialiased - position: absolute - right: 15px - top: 0 - height: 44px - width: 15px - color: $blue - text-align: center - line-height: 44px + // &:before + // content: '\f078' + // font: normal normal normal 14px/1 FontAwesome + // font-size: inherit + // text-rendering: auto + // -webkit-font-smoothing: antialiased + // position: absolute + // right: 15px + // top: 0 + // height: 44px + // width: 15px + // color: $blue + // text-align: center + // line-height: 44px - &.open:before - content: '\f077' - color: #fff + // &.open:before + // content: '\f077' + // color: #fff - > .control-label + * - display: none + // > .control-label + * + // display: none - &.open > .control-label + * - display: block + // &.open > .control-label + * + // display: block -======= > .control-label, &:before color: #fff @@ -568,7 +545,6 @@ table, .table &.open > .control-label + * display: block ->>>>>>> 2498_vehicle_journeys > .filter_menu margin: 0 padding: 5px 0 @@ -682,8 +658,6 @@ table, .table &[type='checkbox']:checked + span:before background-color: $blue -<<<<<<< HEAD -======= > .ffg-row display: block padding: 0 @@ -695,7 +669,6 @@ table, .table > .form-group:last-child border-right: none ->>>>>>> 2498_vehicle_journeys // Form group date .form-group.date .form-inline @@ -737,14 +710,11 @@ table, .table .form-control, select.date, select.date:first-child, select.date:nth-child(3) border-color: $red -<<<<<<< HEAD -======= // Form group time .form-group.time .control-label.time min-width: 60px ->>>>>>> 2498_vehicle_journeys // Nested fields .nested-fields margin: 0 |
