diff options
| author | jpl | 2017-08-23 15:36:29 +0200 |
|---|---|---|
| committer | jpl | 2017-08-23 15:36:39 +0200 |
| commit | fd168f1aa111f915ba2a58e24617267fcb5cbe0c (patch) | |
| tree | 812e7c8751df060e2ec90b6b5643f8ebd3ef25e9 /app/assets | |
| parent | 6fe3c8ac3f4120fcab85a593062a8c0785b50839 (diff) | |
| download | chouette-core-fd168f1aa111f915ba2a58e24617267fcb5cbe0c.tar.bz2 | |
Refs #4258: adding overhead feature to table_builder, with static samples on imports#show
Diffstat (limited to 'app/assets')
| -rw-r--r-- | app/assets/stylesheets/components/_tables.sass | 62 |
1 files changed, 61 insertions, 1 deletions
diff --git a/app/assets/stylesheets/components/_tables.sass b/app/assets/stylesheets/components/_tables.sass index 3fc92d348..b50721f27 100644 --- a/app/assets/stylesheets/components/_tables.sass +++ b/app/assets/stylesheets/components/_tables.sass @@ -85,6 +85,67 @@ border-top: 2px solid $darkgrey margin-top: 15px + // Overhead + > thead > tr.overhead + > th + font-size: 1.4rem + text-align: center + + &.overheaded-default + background-color: rgba($grey, 0.15) + background-clip: padding-box + border-left: 2px solid rgba($grey, 0.15) + border-right: 2px solid rgba($grey, 0.15) + + &.overheaded-danger + background-color: $red + border-left: 2px solid $red + border-right: 2px solid $red + color: #fff + + &.overheaded-warning + background-color: $orange + border-left: 2px solid $orange + border-right: 2px solid $orange + color: #fff + + &.overheaded-success + background-color: $green + border-left: 2px solid $green + border-right: 2px solid $green + color: #fff + + td, th + &.overheaded-default + border-left: 2px solid rgba($grey, 0.15) + border-right: 2px solid rgba($grey, 0.15) + + &.overheaded-danger + border-left: 2px solid $red + border-right: 2px solid $red + + &.overheaded-warning + border-left: 2px solid $orange + border-right: 2px solid $orange + + &.overheaded-success + border-left: 2px solid $green + border-right: 2px solid $green + + tr:last-child + td + &.overheaded-default + border-bottom: 2px solid rgba($grey, 0.15) + + &.overheaded-danger + border-bottom: 2px solid $red + + &.overheaded-warning + border-bottom: 2px solid $orange + + &.overheaded-success + border-bottom: 2px solid $green + // Specific for tables displaying stop points &.has-stoppoints tbody @@ -144,7 +205,6 @@ margin-top: -8px - // select_toolbox .select_toolbox padding: 10px |
