Skip to content

Commit f2fd9de

Browse files
committed
style tweaks for CRUD
1 parent 0b65888 commit f2fd9de

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

src/app/documents/index.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ol.document-list {
1919
padding-top: 10px;
2020
padding-bottom: 10px;
2121
position: relative;
22-
background: @pw;
2322

2423
li[data-hook="loading"] {
2524
width: 100%;
@@ -34,9 +33,10 @@ ol.document-list {
3433
position: relative;
3534
font-family: @font-family-monospace;
3635
font-size: 11px;
37-
padding-bottom: 10px;
38-
margin-bottom: 10px;
39-
border-bottom: 3px solid @gray8;
36+
padding: 20px 0;
37+
margin-bottom: 5px;
38+
background: @pw;
39+
4040
&:last-child {
4141
padding-bottom: 0;
4242
margin-bottom: 0;

src/internal-packages/crud/lib/component/clone-document-button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class CloneDocumentButton extends React.Component {
2323
*/
2424
render() {
2525
return (
26-
<button type='button' onClick={this.props.handler} title='Clone Document'>
26+
<button type='button' className="btn btn-default btn-xs" onClick={this.props.handler} title='Clone Document'>
2727
<i className="fa fa-clone" aria-hidden="true"></i>
2828
</button>
2929
);

src/internal-packages/crud/lib/component/delete-document-button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class DeleteDocumentButton extends React.Component {
2323
*/
2424
render() {
2525
return (
26-
<button type='button' onClick={this.props.handler} title='Delete Document'>
26+
<button type='button' className="btn btn-default btn-xs" onClick={this.props.handler} title='Delete Document'>
2727
<i className="fa fa-trash-o" aria-hidden="true"></i>
2828
</button>
2929
);

src/internal-packages/crud/lib/component/edit-document-button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class EditDocumentButton extends React.Component {
2323
*/
2424
render() {
2525
return (
26-
<button type='button' onClick={this.props.handler} title='Edit Document'>
26+
<button type='button' className="btn btn-default btn-xs" onClick={this.props.handler} title='Edit Document'>
2727
<i className="fa fa-pencil" aria-hidden="true"></i>
2828
</button>
2929
);

src/internal-packages/crud/styles/crud.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ li.document-list-item.deleting {
1717
font-family: "Akzidenz", "Helvetica Neue", Helvetica, Arial, sans-serif;
1818
height: 28px;
1919
vertical-align: middle;
20-
top: 13px;
20+
top: 20px;
2121
position: relative;
2222

2323
.edit-message {
@@ -310,11 +310,12 @@ ol.document-property-body:hover {
310310

311311
.document-actions {
312312
position: absolute;
313-
top: 0;
313+
top: 10px;
314314
right: 10px;
315315

316316
button {
317317
visibility: hidden;
318+
margin-left: 3px
318319
}
319320
}
320321

0 commit comments

Comments
 (0)