summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/builds.scss
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-26 12:48:27 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-26 12:54:00 -0500
commita31053af3d3efdcf03da1115452aadd2927a9f83 (patch)
tree4995a3afda73476ea78cefd5f4f63f1d8e3d0b9a /app/assets/stylesheets/pages/builds.scss
parentb7f66d1af1b4759d2fd11e820e43454d57ad84fd (diff)
downloadgitlab-ce-a31053af3d3efdcf03da1115452aadd2927a9f83.tar.gz
Align header items; put retry button back in sidebar on mobile
Diffstat (limited to 'app/assets/stylesheets/pages/builds.scss')
-rw-r--r--app/assets/stylesheets/pages/builds.scss30
1 files changed, 27 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss
index b40ecd09e09..48e25b3312e 100644
--- a/app/assets/stylesheets/pages/builds.scss
+++ b/app/assets/stylesheets/pages/builds.scss
@@ -52,10 +52,21 @@
.build-header {
position: relative;
- padding-right: 40px;
+ padding: 0;
+ display: flex;
+ min-height: 58px;
+ align-items: center;
- @media (min-width: $screen-sm-min) {
- padding-right: 0;
+ @media (max-width: $screen-sm-max) {
+ padding-right: 40px;
+
+ .btn-primary {
+ display: none;
+ }
+ }
+
+ .header-content {
+ flex: 1;
}
a {
@@ -135,6 +146,19 @@
}
}
+ .retry-link {
+ color: $gl-link-color;
+ display: none;
+
+ &:hover {
+ text-decoration: underline;
+ }
+
+ @media (max-width: $screen-sm-max) {
+ display: inline-block;
+ }
+ }
+
.stage-item {
cursor: pointer;