mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Remove tabs styling from buttons
This commit is contained in:
parent
228e9a25c7
commit
c11c1ac61c
@ -4,6 +4,11 @@
|
|||||||
#FileP .fieldgroup-field .fieldholder-small label { width: auto; margin-left: 0; padding-top: 0; margin-right: 10px; font-weight: bold; }
|
#FileP .fieldgroup-field .fieldholder-small label { width: auto; margin-left: 0; padding-top: 0; margin-right: 10px; font-weight: bold; }
|
||||||
#FileP .fieldgroup-field .fieldholder-small .readonly { font-style: italic; color: #666; }
|
#FileP .fieldgroup-field .fieldholder-small .readonly { font-style: italic; color: #666; }
|
||||||
|
|
||||||
|
#DocumentTypeID ul { padding: 0; }
|
||||||
#DocumentTypeID ul input[type="radio"] { display: none; }
|
#DocumentTypeID ul input[type="radio"] { display: none; }
|
||||||
#DocumentTypeID ul li { display: inline; float: none; padding: 4px; }
|
#DocumentTypeID ul li { display: inline; float: none; padding: 4px; }
|
||||||
#DocumentTypeID ul li.selected { border-bottom: 1px solid #555; border-top: 1px solid #e6e6e6; }
|
#DocumentTypeID ul li.selected { border-bottom: 1px solid #555; border-top: 1px solid #e6e6e6; }
|
||||||
|
|
||||||
|
#ReplaceFile { display: none; }
|
||||||
|
|
||||||
|
table.ss-gridfield-table { width: 400px; }
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
$('#DocumentTypeID ul li').entwine({
|
$('#DocumentTypeID ul li').entwine({
|
||||||
onmatch: function() {
|
onmatch: function() {
|
||||||
this.addClass('ss-ui-button');
|
this.addClass('ss-ui-button');
|
||||||
|
this.parents('ul').removeClass('ui-tabs-nav');
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -28,7 +29,7 @@
|
|||||||
$('#Actions ul li').entwine({
|
$('#Actions ul li').entwine({
|
||||||
onclick: function(e) {
|
onclick: function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this.parents('fieldset').find('#ReplaceFile').hide();
|
this.parents('fieldset').find('#ReplaceFile').show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#DocumentTypeID{
|
#DocumentTypeID{
|
||||||
ul{
|
ul{
|
||||||
|
padding:0;
|
||||||
input[type="radio"]{
|
input[type="radio"]{
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
@ -40,4 +41,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#ReplaceFile{
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.ss-gridfield-table{
|
||||||
|
width: 400px;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user