提交 83b54a9c 编写于 作者: K Kevin Burke 提交者: tfennelly

Update Jenkins button styles.

上级 0021967b
......@@ -32,5 +32,5 @@ THE SOFTWARE.
</st:attribute>
</st:documentation>
<st:adjunct includes="lib.form.repeatable.repeatable"/>
<input type="button" value="${attrs.value ?: '%Delete'}" class="repeatable-delete" />
</j:jelly>
\ No newline at end of file
<input type="button" value="${attrs.value ?: '%Delete'}" class="repeatable-delete danger" />
</j:jelly>
......@@ -37,5 +37,5 @@ THE SOFTWARE.
The text of the submit button. Something like "submit", "OK", etc.
</s:attribute>
</s:documentation>
<input type="submit" name="${attrs.name ?: 'Submit'}" value="${attrs.value}" class="submit-button" />
</j:jelly>
\ No newline at end of file
<input type="submit" name="${attrs.name ?: 'Submit'}" value="${attrs.value}" class="submit-button primary" />
</j:jelly>
......@@ -469,8 +469,8 @@ LABEL.attach-previous {
width: 100%; /* it needs to occupy the entire width or else the underlying content will see through */
}
.bottom-sticker-inner {
background:white;
padding:1em;
background: white;
padding: 1em 0;
}
.bottom-sticker-edge {
height:16px;
......@@ -1143,3 +1143,129 @@ td.matrix-cell {
table#legend-table td {
vertical-align: middle;
}
/* ========================= Button styles ================= */
#disable-project {
margin-top: 6px;
}
#bottom-sticker .yui-button {
margin-right: 20px;
}
/* This level of nesting is technically unnecessary, but to override the
* default Yahoo styles. */
#jenkins .yui-button {
border-width: 0;
border-style: none;
border-color: transparent;
background: none;
}
#jenkins .yui-button .first-child {
border-width: 0;
border-style: none;
border-color: transparent;
}
#jenkins .yui-button button {
font-size: 12px;
padding: 3px 20px;
*border: 0;
border-radius: 1px;
border: 1px solid #cccccc;
background-color: #e0e0e0;
font-family: Arial, Helvetica, sans-serif;
color: #505050;
font-weight: bold;
}
#jenkins .yui-button .hetero-list-add {
padding-right: 35px;
}
#jenkins .yui-button button:hover,
#jenkins .yui-button .hover
{
background-color: #d0d0d0;
border: 1px solid #c0c0c0;
}
#jenkins .yui-button button:active,
#jenkins .yui-button .active {
background-color: #bbb;
box-shadow: inset 0px 1px 6px 2px #929292;
border: 1px solid #bbb;
}
#jenkins .yui-button button[disabled],
#jenkins .yui-button button[disabled]:hover,
#jenkins .yui-button button[disabled]:active,
#jenkins .yui-button .disabled {
background-color: #e5e5e5;
color: #999;
border: 1px solid #d2d2d2;
}
/* Color overrides */
#jenkins .yui-button.primary button {
background-color: #4b758b;
color: #eee;
border: 1px solid #5788a1;
}
#jenkins .yui-button.primary button:hover,
#jenkins .yui-button.primary .hover
{
background-color: #3f6275;
border: 1px solid #5788a1;
}
#jenkins .yui-button.primary button:active,
#jenkins .yui-button.primary .active
{
background-color: #33505f;
border: 1px solid #3f6275;
box-shadow: inset 0px 1px 6px 2px #1b2b33;
}
#jenkins .yui-button.primary button:disabled,
#jenkins .yui-button.primary .disabled
{
background-color: #adc6d3;
color: #fff;
border: 1px solid #a2becd;
}
#jenkins .yui-button.danger button {
background-color: #d24939;
color: #eee;
border: 1px solid #be3a2b;
}
#jenkins .yui-button.danger button:hover,
#jenkins .yui-button.danger .hover
{
background-color: #a23225;
border: 1px solid #942e22;
}
#jenkins .yui-button.danger button:active,
#jenkins .yui-button.danger .active
{
background-color: #942e22;
border: 1px solid #6b2118;
box-shadow: inset 0px 1px 6px 2px #79251b;
}
#jenkins .yui-button.danger button:disabled,
#jenkins .yui-button.danger .disabled
{
background-color: #e5958c;
color: #f8f8f8;
border: 1px solid #e39280;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册