Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-02-23 00:46:33 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-02-23 00:46:33 +0300
commit8f5e1b9fb5d377778a0254869e2129a70c2cf7ec (patch)
tree94a175622e489ab1e38b649ef5a7e006ed23f221 /app/assets/stylesheets/framework/selects.scss
parent80fbb8af7ccdda727d19192e3bd61c61fd6dc782 (diff)
Do not use calc and fix background spinner for high density displays
Diffstat (limited to 'app/assets/stylesheets/framework/selects.scss')
-rw-r--r--app/assets/stylesheets/framework/selects.scss8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/selects.scss b/app/assets/stylesheets/framework/selects.scss
index 3d265879100..7bf04e4ad74 100644
--- a/app/assets/stylesheets/framework/selects.scss
+++ b/app/assets/stylesheets/framework/selects.scss
@@ -151,7 +151,7 @@
padding: 2px 25px 2px 5px;
background: #fff image-url('select2.png');
background-repeat: no-repeat;
- background-position: calc(100% - 3px) -23px;
+ background-position: right 0px bottom 6px;
border: 1px solid $input-border;
@include border-radius($border-radius-default);
@include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
@@ -162,9 +162,11 @@
}
.select2-search input.select2-active {
- background: #fff image-url('select2-spinner.gif');
+ background-color: #fff;
+ background-image: image-url('select2-spinner.gif') !important;
background-repeat: no-repeat;
- background-position: calc(100% - 5px) 4px;
+ background-position: right 5px center !important;
+ background-size: 16px 16px !important;
}
/** Branch/tag selector **/