settings view rabbit hole

This commit is contained in:
Lisa Passing 2015-02-10 17:40:45 +01:00
parent 96aff03599
commit 72dace6f11
10 changed files with 45 additions and 49 deletions

View File

@ -1,12 +1,6 @@
html, body html, body
font-family: 'Source Sans Pro', Helvetica, sans-serif
font-size: $font-size-small
line-height: $line-height
margin: 0
padding: 0
height: 100% height: 100%
color: $color-text
a a
color: $color-link color: $color-link

View File

@ -63,10 +63,10 @@
// Since the typical default browser font-size is 16px, that makes the calculation for grid size. // Since the typical default browser font-size is 16px, that makes the calculation for grid size.
// If you want your base font-size to be different and not have it affect the grid breakpoints, // If you want your base font-size to be different and not have it affect the grid breakpoints,
// set $rem-base to $base-font-size and make sure $base-font-size is a px value. // set $rem-base to $base-font-size and make sure $base-font-size is a px value.
$base-font-size: 13px; $base-font-size: $font-size-small;
// The $base-font-size is 100% while $base-line-height is 150% // The $base-font-size is 100% while $base-line-height is 150%
// $base-line-height: 150%; $base-line-height: $line-height;
// We use this to control whether or not CSS classes come through in the gem files. // We use this to control whether or not CSS classes come through in the gem files.
$include-html-classes: true; $include-html-classes: true;
@ -125,7 +125,7 @@ $font-weight-normal: normal !default;
// We use these to control various global styles // We use these to control various global styles
// $body-bg: $white; // $body-bg: $white;
// $body-font-color: $jet; $body-font-color: $color-text;
// $body-font-family: $font-family-sans-serif; // $body-font-family: $font-family-sans-serif;
// $body-font-weight: $font-weight-normal; // $body-font-weight: $font-weight-normal;
// $body-font-style: normal; // $body-font-style: normal;

View File

@ -2,7 +2,7 @@
#left #left
#search_box #search_box
height: 87px height: 87px
padding: 30px 20px 90px 20px padding: 35px 20px 90px 20px
background-color: $left-bg background-color: $left-bg
input[type=text] input[type=text]

View File

@ -1,8 +1,9 @@
#main #main
h3 h3
margin: 0 5px 0 0 margin: 13px 5px 0 0
font-size: $font-size-huge font-size: $font-size-huge
line-height: 1
a a
color: $main-repo-link-color color: $main-repo-link-color
text-decoration: none text-decoration: none

View File

@ -81,13 +81,14 @@
padding-right: 16px padding-right: 16px
@media #{$medium-up} @media #{$large-up}
h3 h3
display: inline-block display: inline-block
.github-icon .github-icon
display: inline-block display: inline-block
top: 12px top: 17px
margin-right: 1em margin-right: 1em
.status-image .status-image
top: 12px top: 18px

View File

@ -1,23 +1,19 @@
.build-status
background-size: 14px 14px
background-position: 12px 12px
.green .build-status .green .build-status
background: #549e54 inline-image('icons/state-passed-white.svg') no-repeat background: #549e54 inline-image('icons/state-passed-white.svg') no-repeat
background-size: 14px 14px
background-position: 12px 12px
.yellow .build-status .yellow .build-status
background: #bcaf39 inline-image('icons/state-pending-white.svg') no-repeat background: #bcaf39 inline-image('icons/state-pending-white.svg') no-repeat
background-size: 14px 14px
background-position: 12px 12px
.red .build-status .red .build-status
background: #b54223 inline-image('icons/state-failed-white.svg') no-repeat background: #b54223 inline-image('icons/state-failed-white.svg') no-repeat
background-size: 14px 14px
background-position: 12px 12px
.gray .build-status .gray .build-status
background: #a8a8a9 inline-image('icons/state-errored-white.svg') no-repeat background: #a8a8a9 inline-image('icons/state-errored-white.svg') no-repeat
background-size: 14px 14px
background-position: 12px 12px
#new-summary #new-summary
@include clearfix @include clearfix

View File

@ -8,7 +8,7 @@
text-align: left text-align: left
color: #fff color: #fff
font-size: 13px font-size: 13px
padding: 4px 24px 3px 25px padding: 3px 24px 3px 25px
background-image: inline-image('icons/settings.svg'), inline-image('icons/dropdown-arrow-white.svg') background-image: inline-image('icons/settings.svg'), inline-image('icons/dropdown-arrow-white.svg')
background-size: 14px 14px, 8px 8px background-size: 14px 14px, 8px 8px
background-position: 6px 7px, right 9px center background-position: 6px 7px, right 9px center
@ -52,7 +52,7 @@
float: right float: right
.menu .menu
right: 0 right: 0
top: -9px top: -8px
margin-top: 0 margin-top: 0
#code-climate #code-climate
@ -80,7 +80,7 @@
position: relative position: relative
top: 1.8em top: 1.8em
ul ul
margin-top: -27px margin-top: -21px
li.restart-build a, li.restart-job a li.restart-build a, li.restart-job a
background-image: inline-image('icons/repeat.svg') background-image: inline-image('icons/repeat.svg')

View File

@ -1,5 +1,7 @@
#settings #settings
min-width: 830px ul
@include resetul
.settings-form .settings-form
margin: 30px 0 30px 0 margin: 30px 0 30px 0
@ -37,6 +39,9 @@
.field .field
padding-bottom: 10px padding-bottom: 10px
clear: left
@media screen and (min-width: 47em)
clear: none
.field:after .field:after
visibility: hidden visibility: hidden
display: block display: block
@ -45,6 +50,10 @@
clear: both clear: both
height: 0 height: 0
.travis-switch
display: block
margin-top: 3px
label label
display: inline-block display: inline-block
@ -111,10 +120,9 @@
background-repeat: no-repeat background-repeat: no-repeat
background-size: 0.5em background-size: 0.5em
padding-left: 26px padding-left: 26px
width: 142px
.add-env-var, .add-ssh-key .add-env-var, .add-ssh-key
color: #ffffff color: $white
background-color: #97a3aa background-color: #97a3aa
border-radius: 4px border-radius: 4px
padding: 8px 12px 8px 12px padding: 8px 12px 8px 12px
@ -240,9 +248,6 @@
margin: 10px 40px 0 0 margin: 10px 40px 0 0
padding-bottom: 10px padding-bottom: 10px
overflow: auto overflow: auto
display: flex
align-items: center
justify-content: left
border-bottom: 1px solid #F1F1F1 border-bottom: 1px solid #F1F1F1
width: 100% width: 100%
@ -263,28 +268,29 @@
margin-top: 4px margin-top: 4px
height: 20px height: 20px
span.name, span.value .name,
display: inline-block .value
line-height: 20px line-height: 20px
position: relative position: relative
font-size: 15px font-size: 15px
word-wrap: break-word
.equals .equals
margin: 0 10px 0 14px margin: 0 10px 0 14px
span.name .name
width: 250px width: 250px
margin: 0 10px 0 20px margin: 0 10px 0 20px
text-align: left text-align: left
span.value .value
display: block
width: auto width: auto
text-align: left text-align: left
min-width: 158px
max-width: 390px max-width: 390px
min-height: 25px min-height: 25px
display: flex
align-items: center
justify-content: left
padding: 8px 12px padding: 8px 12px
@media #{$medium-up}
.value,
.name
display: inline-block

View File

@ -17,7 +17,6 @@
cursor: pointer cursor: pointer
@media #{$medium-up} @media #{$medium-up}
height: 29px height: 29px
display: inline-block
li li
display: inline-block display: inline-block
&:hover &:hover
@ -77,7 +76,6 @@
#main #main
.tabs .tabs
border-bottom: 3px solid #f5f5f6 border-bottom: 3px solid #f5f5f6
li li
height: 29px height: 29px
background-color: #f5f5f6 background-color: #f5f5f6
@ -103,21 +101,21 @@
margin-top: 15px margin-top: 15px
ul.navigation ul.navigation
@include resetul @include resetul
height: 40px
line-height: 40px
border-bottom: 1px solid #EAEAEA border-bottom: 1px solid #EAEAEA
li li
display: inline-block
margin-right: 10px margin-right: 10px
a a
color: #ACACAC color: #ACACAC
font-weight: 600 font-weight: 600
font-size: 14px font-size: 14px
a.active a.active
color: #55888E color: #55888E
@media #{$small-up}
li
display: inline-block
@media #{$medium-up}
height: 40px
line-height: 40px
#builds #builds
a a

View File

@ -180,7 +180,7 @@
border-radius: 100px border-radius: 100px
@media #{$medium-up} @media #{$medium-up}
float : right float : right
margin : 12px 0 0 10px margin : 10px 0 0 10px
// #user ul // #user ul
// text-align : left // text-align : left