combo/combo/manager/static/css/combo.manager.css

435 lines
6.9 KiB
CSS
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

div#meta {
margin-bottom: 1em;
}
div.page-options label {
display: block;
font-weight: bold;
}
div.placeholder {
margin-bottom: 2em;
}
div.cell-list > div {
background: white;
border: 1px solid #eee;
margin: 1ex 0;
box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 1px 0px;
position: relative;
}
div.cell-list > div > div form {
padding: 1ex;
}
div.cell-list > div > div {
display: none;
transition: max-height linear 0.2s;
overflow: hidden;
}
.cell-form textarea {
width: 100%;
}
div.cell-list > div.untoggled > div {
display: block;
max-height: 0;
}
div.cell-list > div.toggled > div {
display: block;
}
div.cell > h3 {
background: #fafafa;
margin: 0;
padding: 1ex 1ex 1ex 0;
min-width: 10em;
color: #222;
font-weight: normal;
cursor: pointer;
white-space: nowrap;
}
div.cell h3 .group1 {
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: middle;
width: 60%;
}
div.cell h3 span.extra-css-class {
font-size: 70%;
opacity: 0.7;
}
div.cell h3 span.additional-label,
div.cell h3 span.visibility-summary {
font-size: 80%;
padding-left: 1em;
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: middle;
}
div.cell h3 span.visibility-summary::before {
content: "\f06e"; /* fa-eye */
font-family: FontAwesome;
}
div.cell h3 span.visibility-summary.visibility-off::before {
content: "\f070"; /* fa-eye-slash */
font-family: FontAwesome;
}
div.cell h3 span.visibility-summary {
max-width: 30%;
}
div.cell-list div h3:after {
font-family: FontAwesome;
content: "\f107"; /* angle-down */
position: absolute;
right: 1em;
}
div.cell-list div.toggled h3:after {
content: "\f106"; /* angle-up */
}
div.cell-list button.save {
position: relative;
right: 2ex;
bottom: 1ex;
float: right;
}
div.cell div.buttons {
clear: both;
margin-top: 2em;
margin-bottom: 1ex;
}
div.cell-list .empty-cell {
list-style: none;
margin: 0;
padding: 0;
border: 1px solid #eee;
height: 3em;
}
.view-online {
margin-left: 2em;
}
.icon-eye-open:before { content: "\f06e "; }
div.objects-list {
clear: both;
}
div.objects-list > div {
border: 1px solid #aaa;
border-collapse: collapse;
margin-top: -1px;
transition: background ease 0.2s;
}
div.objects-list > div a {
padding: 1em 1ex;
display: inline-block;
border-bottom: none;
box-sizing: border-box;
width: calc(100% - 1em - 2ex);
}
span.handle {
cursor: move;
display: inline-block;
padding: 0.5ex;
text-align: center;
width: 1em;
}
div.objects-list > div:hover {
background: #eee;
}
div.objects-list > div.level-1 {
margin-left: 25px;
}
div.objects-list > div.level-2 {
margin-left: 50px;
}
div.objects-list > div.level-3 {
margin-left: 75px;
}
div.objects-list > div.level-4 {
margin-left: 100px;
}
p#redirection {
display: block;
background: #fafafa;
padding: 3ex 1ex;
box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 1px 0px;
border: 1px solid #eee;
}
.buttons .delete {
float: right;
}
.icon-eye-open:before { content: "\f06e "; }
.icon-edit:before { content: "\f044"; }
#assets-browser {
display: flex;
}
#assets-browser #assets-listing {
width: 80%;
}
#assets-browser #assets-listing table th,
#assets-browser #assets-listing table td {
text-align: left;
padding-left: 1ex;
}
#assets-browser #assets-listing table td.image {
padding: 0;
text-align: center;
}
#assets-browser #assets-listing table td.actions {
width: 80px;
}
#assets-browser #assets-listing table td.actions a.overwrite,
#assets-browser #assets-listing table td.actions a.delete {
display: inline-block;
border: none;
overflow: hidden;
width: 30px;
height: 30px;
line-height: 30px;
}
#assets-browser #assets-listing table td.actions a.delete::before {
text-align: center;
font-family: FontAwesome;
content: "\f057"; /* remove-sign */
display: inline-block;
width: 30px;
}
#assets-browser #assets-listing table td.actions a.overwrite::before {
text-align: center;
font-family: FontAwesome;
content: "\f093"; /* upload */
display: inline-block;
width: 30px;
}
#assets-browser tr::before {
font-family: FontAwesome;
vertical-align: middle;
text-align: center;
display: table-cell;
width: 2em;
border: 1px solid #bcbcbc;
content: "";
}
#assets-browser td img {
max-width: 50px;
max-height: 50px;
}
#assets-browser tr.asset-ext-html::before {
content: "\f0f6"; /* -file-text-o */
}
#assets-browser tr.asset-ext-png::before,
#assets-browser tr.asset-ext-gif::before,
#assets-browser tr.asset-ext-jpg::before,
#assets-browser tr.asset-ext-jpeg::before {
content: "\f1c5"; /* -file-image-o */
}
#assets-browser tr.asset-ext-mp3::before,
#assets-browser tr.asset-ext-ogg::before,
#assets-browser tr.asset-ext-flac::before,
#assets-browser tr.asset-ext-wav::before {
content: "\f1c7"; /* -file-audio-o */
}
#assets-browser tr.asset-ext-pdf::before {
content: "\f1c1"; /* -file-pdf-o */
}
div#asset-preview {
width: 20%;
box-sizing: border-box;
padding: 15px;
text-align: center;
}
div#asset-preview:empty::before {
font-family: FontAwesome;
color: #ddd;
font-size: 100px;
content: "\f03e"; /* picture-o */
width: 100%;
display: block;
}
div#asset-preview img {
padding: 5px;
background: white;
border: 1px solid #aaa;
max-width: 100%;
}
ul.multisort {
list-style: none;
padding: 0;
margin: 0;
margin-bottom: 2ex;
max-height: 250px;
overflow-y: auto;
}
ul.multisort li {
border: 1px solid #eee;
position: relative;
margin: 0;
margin-top: -1px;
padding: 1ex;
background: white;
}
p.hint::before {
content: "\f05a ";
font-family: FontAwesome;
}
p.hint {
color: #aaa;
}
.manager-add-new-cell {
height: 4em;
}
.manager-add-new-cell a {
padding: 2ex 0 0ex 0;
margin-right: 2ex;
display: inline-block;
}
.manager-add-new-cell a + div {
display: inline-block;
}
#extra-placeholders ul {
list-style: circle;
margin-left: 0;
padding-left: 1.5em;
}
form input[type=url] {
width: 100%;
}
select#id_groups {
height: 15em;
}
div.empty-cell-list {
min-height: 2ex;
transition: min-height ease 0.2s;
}
body.dragging-cell div.empty-cell-list {
min-height: 5ex;
box-sizing: border-box;
border: 1px solid #eee;
box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 1px 0px;
}
span.extra-info {
font-size: 80%;
opacity: 0.5;
}
img.page-picture {
max-width: 100%;
}
span.error {
color: red;
font-weight: bold;
}
#id_sub_slug + span.helptext {
max-width: 35rem;
}
div.gallerycell div.buttons button {
display: none;
}
ul.gallery {
list-style: none;
margin: 0;
padding: 0;
}
ul.gallery li {
float: left;
margin: 0 0.5rem 0.5rem 0;
position: relative;
}
ul.gallery li img {
border: 1px solid #aaa;
background: white;
padding: 2px;
}
ul.gallery li.empty-image {
width: 122px;
}
ul.gallery li span.image-actions {
position: absolute;
bottom: 5px;
right: 5px;
font-size: 150%;
}
ul.gallery li:last-child {
height: 124px;
width: 124px;
margin-bottom: 1rem;
}
ul.gallery li:last-child a {
display: block;
line-height: 120px;
padding: 0;
height: 100%;
width: 100%;
text-align: center;
}