more generic form button layout and style

This commit is contained in:
mrliptontea
2015-08-12 20:38:47 +02:00
parent b1154eb9ed
commit 610ee38c3d
2 changed files with 3 additions and 58 deletions

View File

@@ -37,11 +37,10 @@ button {
/**
* Issue form buttons layout
* Form buttons layout
*/
#issue-form,
#history .journal form {
form {
input[type="submit"] {
margin-right: 5px;
@@ -60,17 +59,6 @@ button {
}
/**
* Project's repository form buttons layout
*/
#repository-form {
input[type="submit"] {
margin-right: 5px;
}
}
/**
* Repository's 'View differences' button
*/
@@ -79,55 +67,12 @@ form[action*="repository/diff"] {
}
/**
* New _something_ form buttons layout
*/
#add_attachment_form,
#new_time_entry,
#new_project,
#new_document,
#new_group,
#new_user {
input[type="submit"] {
margin-right: 5px;
+ input {
@include button-variant($btn-success-color, $btn-success-bg, $btn-success-border);
}
}
}
/**
* Wiki form buttons layout
*/
#wiki_form {
input[type="submit"] {
margin-right: 5px;
}
}
/**
* Forum and news message form buttons layout
*/
#message-form,
#news-form {
input[type="submit"] {
margin-right: 5px;
+ a {
margin-right: 5px;
}
+ a + a {
margin-left: 5px;
}
}
#message_sticky,
#message_locked {
position: relative;

File diff suppressed because one or more lines are too long