arimelody.me/admin/static/edit-track.css

126 lines
2.1 KiB
CSS
Raw Permalink Normal View History

2024-08-31 18:29:57 +00:00
@import url("/admin/static/release-list-item.css");
h1 {
margin: 0 0 .5em 0;
}
#track {
margin-bottom: 1em;
2024-09-03 07:07:45 +00:00
padding: .5em 1.5em 1.5em 1.5em;
display: flex;
flex-direction: row;
gap: 1.2em;
border-radius: .5em;
background: #f8f8f8f8;
border: 1px solid #808080;
}
.track-info {
width: 100%;
margin: 0;
flex-grow: 1;
display: flex;
flex-direction: column;
}
2024-08-31 18:29:57 +00:00
.attribute-header {
margin: 1em 0 .2em 0;
opacity: .5;
}
.track-title {
margin: 0;
}
#title {
2024-09-03 07:07:45 +00:00
width: calc(100% - .4em);
padding: .1em .2em;
2024-08-31 18:29:57 +00:00
}
.track-info textarea {
width: calc(100% - 1em);
padding: .5em;
resize: vertical;
}
.track-info input[type="text"],
.track-info textarea {
font-weight: inherit;
font-family: inherit;
font-size: inherit;
border: 1px solid transparent;
2024-08-31 18:29:57 +00:00
border-radius: 4px;
outline: none;
2024-08-31 18:29:57 +00:00
color: inherit;
}
2024-08-31 18:29:57 +00:00
.track-info input[type="text"]:hover,
.track-info textarea:hover {
border-color: #80808080;
}
2024-08-31 18:29:57 +00:00
.track-info input[type="text"]:active,
.track-info textarea:active,
.track-info input[type="text"]:focus,
.track-info textarea:focus {
border-color: #808080;
}
button, .button {
padding: .5em .8em;
font-family: inherit;
font-size: inherit;
border-radius: .5em;
border: 1px solid #a0a0a0;
background: #f0f0f0;
color: inherit;
}
button:hover, .button:hover {
background: #fff;
border-color: #d0d0d0;
}
button:active, .button:active {
background: #d0d0d0;
border-color: #808080;
}
button {
color: inherit;
}
button.save {
background: #6fd7ff;
border-color: #6f9eb0;
}
button.delete {
background: #ff7171;
border-color: #7d3535;
}
button:hover {
background: #fff;
border-color: #d0d0d0;
}
button:active {
background: #d0d0d0;
border-color: #808080;
}
button[disabled] {
background: #d0d0d0 !important;
border-color: #808080 !important;
opacity: .5;
cursor: not-allowed !important;
}
a.delete {
color: #d22828;
}
.track-actions {
margin-top: 1em;
display: flex;
gap: .5em;
flex-direction: row;
justify-content: right;
}