css: move a hover color and td.actions improvements to layout.scss

This commit is contained in:
Alice Gaudon 2021-01-26 13:00:23 +01:00
parent e7165edafd
commit bda464ab16
1 changed files with 35 additions and 1 deletions

View File

@ -338,7 +338,7 @@ a {
text-decoration: none;
&:hover {
color: lighten($secondary, 10%);
color: lighten($secondary, 30%);
}
.feather.feather-external-link {
@ -607,6 +607,35 @@ button, .button {
}
}
// ---
// --- Tables
// ---
td.actions {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
form {
padding: 0;
display: inline;
}
button, .button {
margin: 0;
padding: 8px;
.feather {
margin-right: 0;
}
}
> *:not(:first-child) {
margin-left: 8px;
}
}
.data-table {
width: 100%;
text-align: left;
@ -633,6 +662,10 @@ button, .button {
}
}
// ---
// --- Breadcrumb widget
// ---
.breadcrumb {
list-style: none;
display: flex;
@ -646,6 +679,7 @@ button, .button {
}
}
// ---
// --- Layout helpers
// ---