mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
custom _record_actions styles
This commit is contained in:
parent
c2122d62c6
commit
49253abfb8
@ -5,6 +5,9 @@
|
|||||||
/// chill buttons
|
/// chill buttons
|
||||||
@import 'custom/_buttons';
|
@import 'custom/_buttons';
|
||||||
|
|
||||||
|
// chill record_actions
|
||||||
|
@import 'custom/_record_actions';
|
||||||
|
|
||||||
/// titles
|
/// titles
|
||||||
h1, h2, .h1, .h2 {
|
h1, h2, .h1, .h2 {
|
||||||
font-weight: $headings-font-weight + 200;
|
font-weight: $headings-font-weight + 200;
|
||||||
|
@ -0,0 +1,58 @@
|
|||||||
|
// Symfony records actions
|
||||||
|
/*ul.record_actions {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
ul.record_actions li {
|
||||||
|
display: inline-block;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
ul.record_actions, ul.record_actions_column {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
|
||||||
|
&.record_actions--left {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
padding: 0.5em 0;
|
||||||
|
flex-wrap: wrap-reverse;
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: inline-block;
|
||||||
|
list-style-type: none;
|
||||||
|
margin-right: 1em;
|
||||||
|
order: 99;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
li.cancel {
|
||||||
|
order: 1;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.record_actions {
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.record_actions_column {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.record_actions.sticky-form-buttons {
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
// inside table, little space between elements
|
||||||
|
td ul.record_actions,
|
||||||
|
ul.record_actions_small {
|
||||||
|
li {
|
||||||
|
margin-right: 0.2em;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user