Skip to content

Instantly share code, notes, and snippets.

@addamh
Created December 2, 2014 15:57
Show Gist options
  • Save addamh/08b5c9ab1ef869ac8cd4 to your computer and use it in GitHub Desktop.
Save addamh/08b5c9ab1ef869ac8cd4 to your computer and use it in GitHub Desktop.
body.yui-skin-sam,
.yui-skin-sam table,
.yui-skin-sam form,
.yui-skin-sam input,
.yui-skin-sam td,
.yui-skin-sam th,
.yui-skin-sam p,
.yui-skin-sam textarea,
.yui-skin-sam select {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 13px;
color: #333;
}
/*!
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
button,
input,
select,
textarea {
font-family: inherit;
font-size: 100%;
margin: 0;
}
button,
input {
line-height: normal;
}
button,
select {
text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
button[disabled],
html input[disabled] {
cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
}
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
.btn {
display: inline-block;
*display: inline;
padding: 4px 12px;
margin-bottom: 0;
*margin-left: .3em;
font-size: 14px;
line-height: 20px;
color: #333333;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
cursor: pointer;
background-color: #f5f5f5;
*background-color: #e6e6e6;
background-image: -moz-linear-gradient(top, white, #e6e6e6);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, white, #e6e6e6);
background-image: -o-linear-gradient(top, white, #e6e6e6);
background-image: linear-gradient(to bottom, white, #e6e6e6);
background-repeat: repeat-x;
border: 1px solid #cccccc;
*border: 0;
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border-bottom-color: #b3b3b3;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
*zoom: 1;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
color: #333333;
background-color: #e6e6e6;
*background-color: #d9d9d9;
}
.btn:active,
.btn.active {
background-color: #cccccc \9;
}
.btn:first-child {
*margin-left: 0;
}
.btn:hover,
.btn:focus {
color: #333333;
text-decoration: none;
background-position: 0 -15px;
-webkit-transition: background-position 0.1s linear;
-moz-transition: background-position 0.1s linear;
-o-transition: background-position 0.1s linear;
transition: background-position 0.1s linear;
}
.btn:focus {
outline: thin dotted #333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
.btn.active,
.btn:active {
background-image: none;
outline: 0;
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn.disabled,
.btn[disabled] {
cursor: default;
background-image: none;
opacity: 0.65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.btn-default {
color: #333333;
background-color: #ffffff;
border-color: #cccccc;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
color: #333333;
background-color: #ebebeb;
border-color: #adadad;
}
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
background-color: #ffffff;
border-color: #cccccc;
}
.btn-primary {
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #006dcc;
*background-color: #0044cc;
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
background-image: linear-gradient(to bottom, #0088cc, #0044cc);
background-repeat: repeat-x;
border-color: #0044cc #0044cc #002a80;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
color: #ffffff;
background-color: #0044cc;
*background-color: #003bb3;
}
.btn-primary:active,
.btn-primary.active {
background-color: #003399 \9;
}
.btn-warning {
color: #ffffff;
background-color: #f0ad4e;
border-color: #eea236;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
color: #ffffff;
background-color: #ed9c28;
border-color: #d58512;
}
.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
background-image: none;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
background-color: #f0ad4e;
border-color: #eea236;
}
.btn-danger {
color: #ffffff;
background-color: #d9534f;
border-color: #d43f3a;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
color: #ffffff;
background-color: #d2322d;
border-color: #ac2925;
}
.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
background-image: none;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
background-color: #d9534f;
border-color: #d43f3a;
}
.btn-success {
color: #ffffff;
background-color: #5cb85c;
border-color: #4cae4c;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
color: #ffffff;
background-color: #47a447;
border-color: #398439;
}
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
background-image: none;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
background-color: #5cb85c;
border-color: #4cae4c;
}
.btn-info {
color: #ffffff;
background-color: #5bc0de;
border-color: #46b8da;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
color: #ffffff;
background-color: #39b3d7;
border-color: #269abc;
}
.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
background-image: none;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
background-color: #5bc0de;
border-color: #46b8da;
}
.btn-link {
color: #428bca;
font-weight: normal;
cursor: pointer;
border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
background-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
border-color: transparent;
}
.btn-link:hover,
.btn-link:focus {
color: #2a6496;
text-decoration: underline;
background-color: transparent;
}
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
color: #999999;
text-decoration: none;
}
.btn-lg {
padding: 10px 16px;
font-size: 18px;
line-height: 1.33;
border-radius: 6px;
}
.btn-sm,
.btn-xs {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
.btn-xs {
padding: 1px 5px;
}
.btn-block {
display: block;
width: 100%;
padding-left: 0;
padding-right: 0;
}
.btn-block + .btn-block {
margin-top: 5px;
}
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
width: 100%;
}
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
}
.alert h4 {
margin-top: 0;
color: inherit;
}
.alert .alert-link {
font-weight: bold;
}
.alert > p,
.alert > ul {
margin-bottom: 0;
}
.alert > p + p {
margin-top: 5px;
}
.alert-dismissable {
padding-right: 35px;
}
.alert-dismissable .close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
.alert-success {
background-color: #dff0d8;
border-color: #d6e9c6;
color: #468847;
}
.alert-success hr {
border-top-color: #c9e2b3;
}
.alert-success .alert-link {
color: #356635;
}
.alert-info {
background-color: #d9edf7;
border-color: #bce8f1;
color: #3a87ad;
}
.alert-info hr {
border-top-color: #a6e1ec;
}
.alert-info .alert-link {
color: #2d6987;
}
.alert-warning {
background-color: #fcf8e3;
border-color: #fbeed5;
color: #c09853;
}
.alert-warning hr {
border-top-color: #f8e5be;
}
.alert-warning .alert-link {
color: #a47e3c;
}
.alert-danger {
background-color: #f2dede;
border-color: #eed3d7;
color: #b94a48;
}
.alert-danger hr {
border-top-color: #e6c1c7;
}
.alert-danger .alert-link {
color: #953b39;
}
/**************** end bootstrap styles ********************/
pre, code, .CodeMirror {
font-family: Consolas, Monaco, monospace;
}
.cm-s-default {
border: none !important;
}
input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea,
.CodeMirror {
font-size: 16px;
border-radius: 3px;
border: 1px solid #ccc;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
padding: 6px 12px;
}
#main-table {
background-image: none !important;
}
/******************** top panel styles ***********************/
.yui-skin-sam #top-panel {
background-url: none;
background-image: none;
border-bottom: 1px solid #ccc;
}
.yui-skin-sam #top-panel img {
display: none;
}
.yui-skin-sam #search-box {
font-size: 16px;
background-image: none;
}
/******************* side panel styles ***********************/
#tasks {
margin-top: 5px;
font-size: 16px;
margin-right: 30px;
padding-left: 0;
}
#tasks a,
#buildHistory a {
text-decoration: none;
}
#tasks a:hover,
#buildHistory a:hover {
text-decoration: underline;
}
.task a:nth-child(n+1) {
padding: 10px 30px 5px 0;
display: inline-block;
}
.task a:first-child,
.task img {
display: none;
}
/* make the link target bigger */
#buildHistory .model-link {
padding: 10px 16px 10px 0;
}
#buildHistory .pane-header {
font-size: 16px;
}
#buildHistory .build-row td:not(.pane-header) {
padding: 10px 0 10px 10px;
}
.doony-canvas {
margin-bottom: -2px;
}
#buildHistory .build-row:nth-child(2n) {
background-color: #f9f9f9;
}
#buildHistory .build-row {
border-top: 1px solid #ddd;
}
#buildHistory .build-row:last-child {
display: none;
}
.healthReport img {
vertical-align: top;
padding-top: 1px;
display: inline-block;
}
/*
* The console output doesn't have an ID on it, sadly, so style its place in
* the DOM and hope nothing else is affected
*
* If you hit consoleText you can view the raw console text, let's style that
* too.
*/
body > pre,
#main-panel > pre,
.console-output {
font-size: 14px;
background-color: #111;
color: #eee;
padding: 10px 10px 30px;
border-radius: 3px;
}
/**
* Set the link color in console output
*/
body > pre a,
body > pre a:visited,
#main-panel pre a,
#main-panel pre a:visited {
color: #ED4A6A;
}
/** style permalinks **/
#main-panel > ul {
padding-left: 0;
list-style-type: none;
}
#main-panel > ul .model-link,
#main-panel > ul li {
padding-bottom: 7px;
}
a.yuimenulabel, a.yuimenuitemlabel,
.yui-skin-sam .yuimenuitemlabel {
cursor: pointer;
}
.doony-alert {
max-width: 750px;
margin-top: 10px;
}
.doony-build {
margin: 0 0 15px 30px;
min-width: 100px;
}
#doony-title {
color: #fff;
margin: 5px 10px;
}
#jenkins-home-link {
font-size: 24px;
color: #fff;
text-decoration: none;
}
.new-header-link {
padding-top: 5px;
display: inline-block;
font-weight: bold;
}
/* copied from twitter bootstrap */
.doony-callout {
margin: 0;
padding: 20px 30px 20px 25px;
border-left: 5px solid #eee;
font-weight: bold;
font-size: 16px;
display: inline-block;
}
.doony-callout a,
#matrix .doony-callout a,
.doony-callout a:visited {
text-decoration: none;
}
.doony-callout-info {
background-color: #f0f7fd;
border-color: #d0e3f0;
}
.doony-downstream-link {
display: block;
}
.doony-circle {
border-radius: 50%;
}
.doony-circle-aborted {
background: #999;
background-image: -moz-radial-gradient(3px 3px 45deg, circle cover, #cccccc 0%, #999999 100%);
background-image: -webkit-radial-gradient(3px 3px, circle cover, #cccccc, #999999);
background-image: radial-gradient(circle at 3px 3px, #cccccc 0%, #999999 100%);
}
.doony-circle-failure {
background: #ac2925;
background-image: -moz-radial-gradient(3px 3px 45deg, circle cover, #d9534f 0%, #ac2925 100%);
background-image: -webkit-radial-gradient(3px 3px, circle cover, #d9534f, #ac2925);
background-image: radial-gradient(circle at 3px 3px, #d9534f 0%, #ac2925 100%);
}
.doony-circle-success {
background: #397439;
background-image: -moz-radial-gradient(3px 3px 45deg, circle cover, #72d472 0%, #397439 100%);
background-image: -webkit-radial-gradient(3px 3px, circle cover, #72d472, #397439);
background-image: radial-gradient(circle at 3px 3px, #72d472 0%, #397439 100%);
}
.doony-circle-warning {
background: #f0ad4e;
background-image: -moz-radial-gradient(3px 3px 45deg, circle cover, #f0ad4e 0%, #d58512 100%);
background-image: -webkit-radial-gradient(3px 3px, circle cover, #f0ad4e, #d58512);
background-image: radial-gradient(circle at 3px 3px, #f0ad4e 0%, #d58512 100%);
}
.doony-circle-notbuilt {
background: #ababab;
background-image: -moz-radial-gradient(3px 3px 45deg, circle cover, #ababab 0%, #787878 100%);
background-image: -webkit-radial-gradient(3px 3px, circle cover, #ababab, #787878);
background-image: radial-gradient(circle at 3px 3px, #ababab 0%, #787878 100%);
}
.doony-theme {
color: grey;
margin-right: 10px;
}
.yui-skin-sam .phing-target {
font-weight: bold;
color: #0ABFBC;
}
.yui-skin-sam .phing-outcome-finished {
color: #C7FCD7;
}
/* Remove the bouncy balls */
#buildHistory img[src*="anime.gif"] {
visibility: hidden;
}
/**
* XXX For us this is the "Jobs List" plugin. This probably doesn't work well for
* all use cases.
*/
.yui-skin-sam #dashboard_portlet_1 tr:nth-child(n+4) td {
padding: 15px 3px;
}
/* Fix add description */
#description img {
padding-right: 5px;
}
#description div {
margin-top: 10px;
}
/* Add some margin to the disable project button */
#main-panel div[align=right] form[action=disable] {
margin-top: 10px;
}
/* Configuration/Settings page styles */
.setting-input {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment