decrease font-size on tooltips, rearrange settings switches, more spacing between settings sections

This commit is contained in:
Lisa Passing 2015-07-22 17:15:05 +02:00
parent 183b4bf966
commit 4ca636caf1
3 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@
.settings-section
padding: 0 0 1em
margin-bottom: 1.5em
margin-bottom: 3em
border-bottom: 2px solid #f2f3ef
&:last-of-type
border-bottom: none

View File

@ -5,15 +5,17 @@
.tooltip-bubble
position: absolute
top: -3.2em
top: -2.8em
width: auto
height: 1.9em
margin: auto
padding: .2em .4em .3em
padding: .3em .4em .3em
z-index: 5
background-color: #818383
border-radius: 4px
color: $white
font-size: $font-size-sm
line-height: 1.5
text-align: center
white-space: nowrap
@ -41,11 +43,9 @@
.tooltip-bubble
right: 0
left: 0
max-width: 8.6em
max-width: 5em
&:before
left: 46%
@media #{$medium-up}
left: 45%
left: 40%
.tooltip--height
@extend %tooltip

View File

@ -5,8 +5,8 @@
<ul class="settings-list--columns">
<li>{{settings-switch active=model.settings.builds_only_with_travis_yml repo=repo description="Build only if .travis.yml is present" key="builds_only_with_travis_yml"}}</li>
<li>{{limit-concurrent-builds value=model.settings.maximum_number_of_builds enabled=concurrentBuildsLimit repo=repo}}</li>
<li>{{settings-switch active=model.settings.build_pushes repo=repo description="Build pushes" key="build_pushes"}}</li>
<li>{{limit-concurrent-builds value=model.settings.maximum_number_of_builds enabled=concurrentBuildsLimit repo=repo}}</li>
<li>{{settings-switch active=model.settings.build_pull_requests repo=repo description="Build pull requests" key="build_pull_requests"}}</li>
</ul>