diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-06-19 18:59:10 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-05 12:36:19 +0300 |
commit | 5576214d0fbbc8b7f208367e3eedd6347b21151b (patch) | |
tree | 3526e353bfa743033c343faacdbdfebc511d3772 /app/assets/stylesheets/pages/pipeline_schedules.scss | |
parent | d7cd3c3635bc6200cd9c8668a025826818f19a80 (diff) |
Schedule pipelines with variables
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32568
Diffstat (limited to 'app/assets/stylesheets/pages/pipeline_schedules.scss')
-rw-r--r-- | app/assets/stylesheets/pages/pipeline_schedules.scss | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/pipeline_schedules.scss b/app/assets/stylesheets/pages/pipeline_schedules.scss index 595eb40fec7..b3743a7c88d 100644 --- a/app/assets/stylesheets/pages/pipeline_schedules.scss +++ b/app/assets/stylesheets/pages/pipeline_schedules.scss @@ -74,3 +74,65 @@ margin-right: 3px; } } + +.pipeline-variable-list { + margin-left: 0; + margin-bottom: 0; + padding-left: 0; +} + +.pipeline-variable-row { + display: flex; + + &:not(:last-child) { + margin-bottom: $gl-btn-padding; + } + + @media (max-width: $screen-xs-max) { + flex-wrap: wrap; + } + + &:last-child { + & > .pipeline-variable-row-remove-button { + display: none; + } + + & > .pipeline-variable-value-input { + margin-right: $pipeline-variable-remove-button-width; + } + } +} + +.pipeline-variable-key-input { + margin-right: $gl-btn-padding; + + @media (max-width: $screen-xs-max) { + margin-right: $pipeline-variable-remove-button-width; + margin-bottom: $gl-btn-padding; + } +} + +.pipeline-variable-value-input { + @media (max-width: $screen-xs-max) { + flex: 1; + } +} + +.pipeline-variable-row-remove-button { + flex-shrink: 0; + display: flex; + justify-content: center; + align-items: center; + width: $pipeline-variable-remove-button-width; + padding: 0; + background: transparent; + border: 0; + color: $gl-text-color-secondary; + @include transition(color); + + &:hover, + &:focus { + outline: none; + color: $gl-text-color; + } +} |