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

588 lines
10 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.

body.no-header #header {
display: none;
}
div#meta {
margin-bottom: 1em;
}
div.page-options label {
display: block;
font-weight: bold;
}
div.placeholder {
margin-bottom: 2em;
}
div#pages-list div.page {
display: flex;
align-items: center;
}
div#pages-list span.togglable {
padding: 1em 2ex;
cursor: pointer;
}
div#pages-list div.page.untoggled span.togglable:after {
font-family: FontAwesome;
content: "\f107"; /* angle-down */
cursor: pointer;
}
div#pages-list div.page.toggled span.togglable:after {
font-family: FontAwesome;
content: "\f106"; /* angle-up */
cursor: pointer;
}
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: 0 2em 0 0;
min-width: 10em;
color: #222;
font-weight: normal;
cursor: pointer;
white-space: nowrap;
display: flex;
align-items: center;
}
div.cell > h3 .handle {
flex: 0;
padding: 1em 0.5em;
}
div.cell h3 .group1,
div.page .group1 {
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
flex: 1;
}
div.cell h3 span.extra-css-class {
font-size: 70%;
opacity: 0.7;
}
div.cell h3 span.additional-label,
div.cell h3 span.invalid,
ul.list-of-links span.invalid,
div.cell h3 span.visibility-summary,
div.page span.visibility-summary {
font-size: 80%;
padding-left: 1em;
padding-right: 1rem;
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: middle;
}
div.page span.visibility-summary {
max-width: 50%;
}
div.cell h3 span.visibility-summary::before,
div.page 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 h3 span.invalid,
ul.list-of-links span.invalid {
color: #df2240;
}
.invalid::before {
font-family: FontAwesome;
content: "\f071"; /* exclamation-triangle */
padding-right: 0.5em;
}
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;
}
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"; }
div.navigation ul,
div.navigation li {
margin: 0;
padding: 0;
list-style: none;
line-height: 150%;
}
div.navigation li::before {
content: "";
font-family: FontAwesome;
display: inline-block;
width: 2em;
text-align: center;
}
div.navigation li.nav-left::before {
content: "\f053"; /* chevron-left */
}
div.navigation li.nav-right::before {
content: "\f054"; /* chevron-right */
}
div.navigation li.nav-up::before {
content: "\f077"; /* chevron-up */
}
#assets-browser {
display: flex;
}
#assets-browser #assets-listing {
width: 80%;
}
#assets-listing table th,
#assets-listing table td {
text-align: left;
padding-left: 1ex;
}
#assets-listing table td.image {
padding: 0;
text-align: center;
}
#assets-listing table td.actions {
width: 80px;
}
#assets-listing table td.actions a.overwrite,
#assets-listing table td.actions a.delete {
display: inline-block;
border: none;
overflow: hidden;
width: 30px;
height: 30px;
line-height: 30px;
}
#assets-listing table td.actions a.delete::before {
text-align: center;
font-family: FontAwesome;
content: "\f057"; /* remove-sign */
display: inline-block;
width: 30px;
}
#assets-listing table td.actions a.overwrite::before {
text-align: center;
font-family: FontAwesome;
content: "\f093"; /* upload */
display: inline-block;
width: 30px;
}
#assets-listing .not-defined {
font-style: italic;
}
#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;
background: #ccc;
background-image:
linear-gradient(45deg, #aaa 25%, transparent 25%),
linear-gradient(-45deg, #aaa 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #aaa 75%),
linear-gradient(-45deg, transparent 75%, #aaa 75%);
background-size: 12px 12px;
background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
}
#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: #ddd;
background-image:
linear-gradient(45deg, #bbb 25%, transparent 25%),
linear-gradient(-45deg, #bbb 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #bbb 75%),
linear-gradient(-45deg, transparent 75%, #bbb 75%);
background-size: 40px 40px;
background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
background-clip: content-box;
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%;
max-height: 250px;
background: #ddd;
background-image:
linear-gradient(45deg, #bbb 25%, transparent 25%),
linear-gradient(-45deg, #bbb 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #bbb 75%),
linear-gradient(-45deg, transparent 75%, #bbb 75%);
background-size: 40px 40px;
background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}
span.error {
color: red;
font-weight: bold;
}
#id_sub_slug + span.helptext {
max-width: 35rem;
}
div.gallerycell div.edit-form {
clear: both;
}
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: 126px;
width: 126px;
margin-bottom: 1rem;
}
ul.gallery li:last-child a {
display: block;
box-sizing: border-box;
line-height: 1.5;
padding: 0;
height: 100%;
width: 100%;
text-align: center;
padding: 45px 1ex 1ex 1ex;
}
ul.objects-list.list-of-links li {
padding-left: 0;
}
ul.objects-list.list-of-links li a.link-action-icon,
ul.objects-list.list-of-layers li a.link-action-icon {
height: 100%;
position: absolute;
right: 0;
top: 0;
width: 3em;
display: block;
overflow: hidden;
text-decoration: none;
border: none;
text-indent: -1000px;
line-height: 3em;
}
ul.objects-list.list-of-links li a.link-action-icon::before,
ul.objects-list.list-of-layers li a.link-action-icon::before {
font-family: FontAwesome;
text-indent: 0px;
text-align: center;
display: block;
width: 100%;
}
ul.objects-list.list-of-links li a.link-action-icon.delete::before,
ul.objects-list.list-of-layers li a.link-action-icon.delete::before {
content: "\f057"; /* remove-sign */
}
ul.objects-list.list-of-links li a.link-action-icon.edit,
ul.objects-list.list-of-layers li a.link-action-icon.edit {
right: 3em;
}
ul.objects-list.list-of-links li a.link-action-icon.edit::before,
ul.objects-list.list-of-layers li a.link-action-icon.edit::before {
content: "\f044";
}