diff --git a/app/styles/app/layouts/build-job.sass b/app/styles/app/layouts/build-job.sass index f28cdd66..344469dc 100644 --- a/app/styles/app/layouts/build-job.sass +++ b/app/styles/app/layouts/build-job.sass @@ -28,9 +28,9 @@ // job matrix .tile--jobs + @extend .tile--xs font-size: $font-size-sm - padding: 0.5em 0.4em 0.4em 3.5rem - margin-bottom: 0.35rem + padding-left: 3.5rem p white-space: normal a diff --git a/app/styles/app/layouts/caches.sass b/app/styles/app/layouts/caches.sass index ceb321c3..b35a17a0 100644 --- a/app/styles/app/layouts/caches.sass +++ b/app/styles/app/layouts/caches.sass @@ -1,2 +1,34 @@ .caches @include resetul + font-size: $font-size-sm + color: $grey3 + + .tile-xs + padding-left: 0 + + .icon.push + width: 1.2em; + height: 0.8em; + margin-right: .3em + + .button--delete + transform: translateY(-0.2em); + + @media #{$medium-up} + .caches-branch + position: relative + overflow: hidden + width: grid-calc(4, 13) + &:after + content: "" + @include fadeOut(right, -90deg, $cream-light) + .caches-date + width: grid-calc(4, 13) + .caches-size + width: grid-calc(4, 13) + .caches-button + text-align: right + width: grid-calc(1, 13) + +.delete-repo-caches + margin-top: 1rem \ No newline at end of file diff --git a/app/styles/app/modules/buttons.sass b/app/styles/app/modules/buttons.sass index 53dbb6f7..fe40edd2 100644 --- a/app/styles/app/modules/buttons.sass +++ b/app/styles/app/modules/buttons.sass @@ -86,7 +86,7 @@ $button-border-color: #d4d4d4 .btn @extend .button - border-radius: 4px + @extend %border-radius-4px .button--green border: none font-size: $font-size-small @@ -149,3 +149,15 @@ $button-border-color: #d4d4d4 width: 1.1em height: 0.7em margin-right: .5em + +.button--delete + @extend .button + @extend %border-radius-4px + border: none + font-size: $font-size-small + color: $white + background-color: #CD3A36 + font-weight: 300; + padding: 4px 10px 2px + &:hover + background-color: lighten(#CD3A36, 10) diff --git a/app/styles/app/modules/tiles.sass b/app/styles/app/modules/tiles.sass index f6da8d9a..e9d61a18 100644 --- a/app/styles/app/modules/tiles.sass +++ b/app/styles/app/modules/tiles.sass @@ -51,6 +51,13 @@ height: 70px overflow: hidden +.tile--xs + margin-bottom: 0.35em + padding: .5em .4em .4em + @media #{$medium-up} + height: 36px + overflow: hidden + // todo refactor .tile-main h2, diff --git a/app/templates/caches.hbs b/app/templates/caches.hbs index 959e5f11..7b7220ed 100644 --- a/app/templates/caches.hbs +++ b/app/templates/caches.hbs @@ -1,5 +1,5 @@ {{#if length}} - + Delete all repository caches @@ -8,20 +8,20 @@