Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 8 additions & 15 deletions admin/themes/default/css/sass/components/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ td {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
flex-wrap: wrap;

@include screen-xs {
clear: both;
Expand All @@ -140,27 +143,17 @@ td {
}

li {
display: inline-block;
display: inline-flex;

.spacer {
display: inline-block;
}

.spacer:after {
content: ' \00b7';
margin-left: 3px;
margin-right: 3px;
&:not(:last-child):after {
content: '\00b7' / '';
margin: 0 5px;

@include screen-xs {
content: '';
margin: 0;
display: none;
}
}

@include screen-xs {
margin-bottom: $spacing-s;
}

&:last-child:after {
content: '';
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion admin/themes/default/css/sass/pages/_items.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
@include button;
@include small;
@include blue;
margin-bottom: 0;
margin: 0;
}

.browse .action-links a.delete-confirm {
Expand Down
27 changes: 10 additions & 17 deletions admin/themes/default/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2155,6 +2155,9 @@ td {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
flex-wrap: wrap;
}
@media (max-width: 767px) {
.action-links {
Expand All @@ -2166,25 +2169,15 @@ td {
color: #003576;
}
.action-links li {
display: inline-block;
}
.action-links li .spacer {
display: inline-block;
}
.action-links li .spacer:after {
content: " ·";
margin-left: 3px;
margin-right: 3px;
display: inline-flex;
}
@media (max-width: 767px) {
.action-links li .spacer:after {
content: "";
margin: 0;
}
.action-links li:not(:last-child):after {
content: "·"/"";
margin: 0 5px;
}
@media (max-width: 767px) {
.action-links li {
margin-bottom: 5px;
.action-links li:not(:last-child):after {
display: none;
}
}
.action-links li:last-child:after {
Expand Down Expand Up @@ -2585,7 +2578,7 @@ ul.details li:last-child {
color: #003576;
background: #EEF3FA;
border: 1px solid rgba(0, 53, 118, 0.25);
margin-bottom: 0;
margin: 0;
}
.browse .action-links a:hover, .browse .action-links a:focus {
border-color: rgba(35, 35, 35, 0.65);
Expand Down
2 changes: 0 additions & 2 deletions admin/themes/default/items/browse.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,12 @@
<ul class="action-links group">
<?php if (is_allowed($item, 'edit')): ?>
<li>
<span class="spacer" aria-hidden="true"></span>
<?php echo link_to_item(__('Edit'), ['class' => 'edit'], 'edit'); ?>
</li>
<?php endif; ?>

<?php if (is_allowed($item, 'delete')): ?>
<li>
<span class="spacer" aria-hidden="true"></span>
<?php echo link_to_item(__('Delete'), ['class' => 'delete-confirm'], 'delete-confirm'); ?>
</li>
<?php endif; ?>
Expand Down
Loading