fieldset.erl-field {
background: #f5f5f3;
border: none;
margin: 30px 0;
padding: 60px 30px;
}
fieldset.erl-field > legend {
line-height: 30px;
top: 15px;
}
.erl-layout-wrapper {
margin-top: 20px;
}
.erl-field .erl-layout {
margin-bottom: 30px;
position: relative;
padding: 40px 0 0 0;
}
.erl-field .erl-layout__content {
padding: 0 30px 15px 30px;
}
.erl-field .erl-layout__regions,
.erl-field .erl-disabled-wrapper {
background: #fff;
}
.erl-field .erl-layout-select .form-radios {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
}
.erl-field .layout-radio-item {
padding: 5px;
background: none;
cursor: pointer;
margin: 10px 10px 10px 0;
text-align: left;
width: 150px;
}
.erl-field .layout-radio-item input[type=radio] {
display: none;
}
.erl-field .layout-radio-item .form-item {
margin-top: 0;
}
.erl-field .layout-radio-item label {
font-size: small;
}
.erl-field .layout-radio-item .layout-icon-wrapper {
float: left;
margin-right: 5px;
}
.erl-field .layout-radio-item.active {
background: #fff;
outline: 2px dotted blue;
}
.erl-field .layout-radio-item .layout-icon {
float: left;
margin: 0;
}
.erl-field .erl-add-item {
text-align: center;
}
.erl-field .erl-layout.erl-item::before {
content: "";
top: 20px;
height: 1px;
background-color: #ccc;
position: absolute;
left: 0;
right: 0;
width: 100%;
}
.erl-field .erl-layout .erl-item,
.erl-field .erl-disabled-items .erl-item {
border: 1px solid #ffffff;
box-sizing: border-box;
padding: 30px;
transition: all .15s linear;
position: relative;
}
.erl-field .reversed .erl-item {
border-color: rgba(0, 0, 0, .25);
}
.erl-field .erl-item .erl-actions .form-wrapper {
background: none;
}
.erl-field .erl-layout-region:hover {
border: 1px solid #ccc;
}
.erl-field .erl-layout .erl-item:hover {
border-color: #0074bd;
}
.erl-field .reversed .erl-item:hover {
border-color: #fff;
}
.erl-field .erl-item:hover:before {
opacity: 1;
}
.erl-field .erl-layout-region {
box-sizing: border-box;
position: relative;
border: 1px dashed #e5e5e3;
transition: all .15s linear;
min-height: 30px;
padding: 30px;
}
/* -- Warnings -- */
.erl-field .is_translating_warning {
padding: 10px 0;
color: orange;
}
/* -- Layout Controls -- */
.erl-field .erl-layout .layout-controls,
.erl-field .erl-layout .erl-actions {
background: #f5f5f3;
}
.erl-field .erl-layout .erl-item .layout-controls,
.erl-field .erl-layout .erl-item .erl-actions {
background: none;
}
.erl-field .layout-controls {
height: 30px;
left: 0;
position: absolute;
top: 0;
width: 90px;
opacity: 0;
}
.erl-field .erl-item:hover > .layout-controls {
opacity: 1;
}
.erl-field .erl-layout-section .erl-item:hover > .layout-controls {
opacity: 1;
}
.erl-field .erl-layout-section .erl-item .layout-controls {
background: none;
}
.layout-handle,
.layout-down,
.layout-up {
cursor: pointer;
height: 30px;
left: 0;
overflow: hidden;
opacity: .75;
position: absolute;
top: 0;
text-indent: 100%;
width: 30px;
}
.layout-handle:hover,
.layout-down:hover,
.layout-up:hover {
opacity: 1;
cursor: pointer;
}
.layout-handle {
background: url(../img/icon-move.png) 0 0 no-repeat;
background-size: cover;
display: none;
}
.reversed .layout-handle {
background-image: url(../img/icon-move--reversed.png);
}
.dragula-enabled .layout-handle {
display: block;
}
.layout-down {
background: url(../img/icon-down.png) 0 0 no-repeat;
background-size: cover;
left: 60px;
}
.reversed .layout-down {
background-image: url(../img/icon-down--reversed.png);
}
.layout-up {
background: url(../img/icon-up.png) 0 0 no-repeat;
background-size: cover;
left: 30px;
}
.reversed .layout-up {
background-image: url(../img/icon-up--reversed.png);
}
.erl-field .erl-layout:first-child > .layout-controls .layout-up,
.erl-field .erl-layout:first-child .erl-item:first-child .layout-up {
pointer-events: none;
opacity: .15;
}
.erl-field .erl-layout:first-child .erl-item:first-child .layout-up {
pointer-events: none;
opacity: .15;
}
.erl-field .erl-layout:last-child > .layout-controls .layout-down,
.erl-field .erl-layout:last-child .erl-item:nth-last-child(2) .layout-down {
pointer-events: none;
opacity: .15;
}
.gu-mirror .layout-down,
.gu-mirror .layout-up {
opacity: .25;
}
/* -- Item Actions (Edit and Delete Buttons) -- */
.erl-field .erl-actions,
.gu-mirror .erl-actions {
position: absolute;
right: 0;
top: 0;
padding: 0;
margin: 0;
visibility: hidden;
}
.erl-field .erl-item:hover > .erl-actions {
visibility: visible;
}
.erl-field .erl-actions input.erl-edit,
.erl-field .erl-actions input.erl-remove {
cursor: pointer;
height: 30px;
width: 30px;
margin: 0;
text-indent: 100%;
overflow: hidden;
border: none;
padding: 0;
opacity: .5;
transition: none;
}
.erl-field .erl-actions input.erl-edit {
background: url(../img/icon-edit.png) 0 0 no-repeat;
background-size: cover;
}
.erl-field .reversed .erl-actions input.erl-edit {
background-image: url(../img/icon-edit--reversed.png);
}
.erl-field .erl-actions input.erl-remove {
background: url(../img/icon-delete.png) 0 0 no-repeat;
background-size: cover;
}
.erl-field .reversed .erl-actions input.erl-remove {
background-image: url(../img/icon-delete--reversed.png);
}
.erl-field .erl-actions input.erl-edit:hover,
.erl-field .erl-actions input.erl-remove:hover {
opacity: 1;
box-shadow: none;
}
/* -- Add content and add section buttons. -- */
.erl-add-content-wrapper {
position: relative;
}
.erl-add-content__container {
position: absolute;
left: 0;
top: 100%;
width: 100%;
}
.erl-add-content__toggle {
position: absolute;
bottom: 0;
left: 50%;
margin-left: -15px;
border: none;
color: #fff;
font-weight: bold;
z-index: 10;
line-height: 1;
padding: 0;
opacity: 0;
font-size: large;
width: 30px;
height: 30px;
text-indent: 100%;
overflow: hidden;
background: url(../img/icon-add.png) 0 0 no-repeat;
background-size: cover;
transition: all .15s linear;
-webkit-appearance: none;
outline: none;
border-radius: 50%;
}
.reversed .erl-add-content__toggle {
background-image: url(../img/icon-add--reversed.png);
}
.erl-add-content__toggle.active {
transform: rotate(45deg);
}
.erl-layout-region:hover button.erl-add-content__toggle {
opacity: .75;
}
.erl-layout-region:hover button.erl-add-content__toggle:hover,
.erl-layout-region:hover button.erl-add-content__toggle.active,
.erl-layout-region button.erl-add-content__toggle.active {
opacity: 1;
}
.erl-add-content__group {
display: flex;
flex-wrap: wrap;
width: 100%;
max-width: 800px;
transform: translateX(-50%);
position: absolute;
left: 50%;
top: 100%;
background: #fff;
z-index: 12;
border: none;
padding: 0;
text-align: left;
margin-left: -15px;
box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
max-height: 480px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.erl-add-content__group.hidden {
visibility: hidden !important;
}
.erl-add-content__group .erl-add-content__search {
width: 100%;
padding: 12px;
position: sticky;
top: 0;
background: #fafbfd;
border-bottom: 1px solid rgba(216, 217, 224, 0.8);
}
.erl-add-content__group .erl-add-content__input {
width: 100%;
}
.erl-add-content__item {
display: block;
text-align: left;
width: 100%;
border: none;
color: #0074bd;
flex-basis: 25%;
padding: 9px 18px;
margin-bottom: 16px;
}
.erl-add-content__group--has-icons button {
text-align: center;
}
.erl-add-content__item {
display: block;
text-align: left;
}
.erl-add-content__group button {
background: none;
display: block;
width: 100%;
border: none;
color: #0074bd;
text-align: left;
padding: 9px 18px;
}
.erl-add-content__group button img {
width: 24px;
height: 24px;
display: block;
margin: 8px auto;
}
@media (min-width: 1024px) {
.erl-add-content__group button img {
width: 48px;
height: 48px;
}
}
.erl-add-content__group button:hover {
background: #e5f1f8;
color: #0074bd;
display: block;
width: 100%;
border: none;
}
.erl-add-content--single {
width: 160px;
left: 50%;
margin-left: -80px;
padding: 0;
text-align: center;
position: absolute;
z-index: 10;
}
.erl-item > .erl-add-content--single {
opacity: 0;
bottom: -52px;
}
.erl-item:hover > .erl-add-content--single {
opacity: 1;
}
.erl-empty {
position: relative;
}
.erl-add-content--single button {
background: none;
border: none;
box-shadow: none;
text-transform: uppercase;
font-size: small;
font-weight: bold;
color: #9b9b9b;
height: 60px;
width: 100%;
}
.erl-add-content--single button:hover {
color: #5e5e5e;
text-decoration: underline;
}
.erl-add-content--single button .icon {
font-weight: bold;
font-size: large;
}
.erl-add-more-menu {
width: 300px;
position: absolute;
left: 50%;
top: 100%;
background: #fff;
z-index: 1000;
border: none;
box-shadow: 0 0 10px rgba(0, 0, 0, .25);
outline: 1px solid #eee;
}
.erl-add-more-menu.beneath::before,
.erl-add-more-menu.above::after {
content: " ";
width: 16px;
height: 16px;
display: block;
left: 50%;
margin-top: -8px;
margin-left: -8px;
position: absolute;
background: #fff;
transform: rotate(45deg);
}
.erl-loading div.loading {
background: rgba(255, 255, 255, .8);
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1005;
}
.erl-loading div.spinner {
text-indent: -9999px;
opacity: 1;
width: 49px;
height: 49px;
position: absolute;
top: 50%;
left: 50%;
margin-left: -25px;
margin-top: -27px;
border: 3px solid #0074bd;
border-radius: 50%;
border-left-color: transparent;
border-right-color: transparent;
animation: cssload-spin 575ms infinite linear;
-o-animation: cssload-spin 575ms infinite linear;
-webkit-animation: cssload-spin 575ms infinite linear;
-moz-animation: cssload-spin 575ms infinite linear;
}
@keyframes cssload-spin {
100% {
transform: rotate(360deg);
}
}
@-o-keyframes cssload-spin {
100% {
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-ms-keyframes cssload-spin {
100% {
-ms-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-webkit-keyframes cssload-spin {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-moz-keyframes cssload-spin {
100% {
-moz-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.erl-add-more-menu.fade-in {
animation: fadeIn ease .25s;
-webkit-animation: fadeIn ease .25s;
-moz-animation: fadeIn ease .25s;
-o-animation: fadeIn ease .25s;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-moz-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-o-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-ms-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.erl-add-more-menu__search {
padding: 20px;
background: #fff;
border-bottom: 1px solid #e7e7e7;
}
.erl-add-more-menu__search input {
font-size: 14px;
padding: 10px;
display: block;
box-sizing: border-box;
width: 100%;
border-radius: 3px;
border: none;
box-shadow: 0 0 0 1px #666;
}
.erl-add-more-menu__search input:focus {
box-shadow: 0 0 0 1px #5f89db;
outline: none;
}
.erl-add-more-menu__group {
display: flex;
flex-wrap: wrap;
max-height: 480px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.erl-add-more-menu__item {
text-align: center;
width: 33%;
}
.erl-add-more-menu__item a {
text-align: center;
display: block;
padding: 10px 0;
margin: 10px;
text-decoration: none;
font-size: 14px;
color: #0074bd;
}
.erl-add-more-menu__item a:hover {
background-color: #e7f1f7;
}
.erl-add-more-menu__item img {
width: 24px;
height: 24px;
}
/**
* Disabled items.
*/
.erl-disabled-items.form-item.form-wrapper {
color: gray;
position: relative;
margin-top: 60px;
border: 1px dashed #e5e5e3;
}
.erl-disabled-items .fieldset-wrapper {
margin-top: 10px;
}
.erl-disabled-items__title {
margin: 0;
padding: 10px;
}
.erl-disabled-items__description {
position: absolute;
width: 100%;
margin: 20px 0 0 0;
top: 0;
left: 0;
text-align: center;
}
.erl-disabled-wrapper {
position: relative;
min-height: 60px;
padding-bottom: 0;
padding-top: 0;
border: 1px dashed #e5e5e3;
}
/* -- Dragula Specific Styles -- */
.gu-mirror {
background: #fff;
border: 1px solid #0074bd;
box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
cursor: grabbing;
padding: 30px;
box-sizing: border-box;
overflow: hidden;
}
.gu-mirror:before {
content: "";
position: absolute;
height: 30px;
width: 30px;
left: 0;
top: 0;
background: url(../img/icon-move.png) 0 0 no-repeat;
background-size: cover;
}
.reversed .gu-mirror:before {
background-image: url(../img/icon-move--reversed.png);
}
.erl-field .erl-item.gu-transit {
background: #0074bd;
}
.erl-field .erl-item.gu-transit > * {
visibility: hidden;
}
.paragraph-type-label {
position: absolute;
bottom: 0;
right: 0;
padding: 5px;
margin: 0;
border-top: 1px dashed #e5e5e3;
border-left: 1px dashed #e5e5e3;
font-style: italic;
font-weight: normal !important;
color: darkgray;
}
.paragraph-layout-label {
position: absolute;
top: 0;
left: 50%;
padding: 0;
margin: auto;
font-style: italic;
font-weight: normal !important;
color: darkgray;
}
/* -- Un-Published Layout and Items. -- */
.erl-field .erl-layout .erl-item--unpublished,
.erl-field .erl-layout.erl-item--unpublished {
background: #fff4f4;
border: lightgray dashed 1px;
opacity: 0.7;
}
View source
- fieldset.erl-field {
- background: #f5f5f3;
- border: none;
- margin: 30px 0;
- padding: 60px 30px;
- }
- fieldset.erl-field > legend {
- line-height: 30px;
- top: 15px;
- }
-
- .erl-layout-wrapper {
- margin-top: 20px;
- }
-
- .erl-field .erl-layout {
- margin-bottom: 30px;
- position: relative;
- padding: 40px 0 0 0;
- }
- .erl-field .erl-layout__content {
- padding: 0 30px 15px 30px;
- }
- .erl-field .erl-layout__regions,
- .erl-field .erl-disabled-wrapper {
- background: #fff;
- }
-
- .erl-field .erl-layout-select .form-radios {
- display: flex;
- flex-wrap: wrap;
- align-content: flex-start;
- }
- .erl-field .layout-radio-item {
- padding: 5px;
- background: none;
- cursor: pointer;
- margin: 10px 10px 10px 0;
- text-align: left;
- width: 150px;
- }
- .erl-field .layout-radio-item input[type=radio] {
- display: none;
- }
- .erl-field .layout-radio-item .form-item {
- margin-top: 0;
- }
- .erl-field .layout-radio-item label {
- font-size: small;
- }
- .erl-field .layout-radio-item .layout-icon-wrapper {
- float: left;
- margin-right: 5px;
- }
- .erl-field .layout-radio-item.active {
- background: #fff;
- outline: 2px dotted blue;
- }
- .erl-field .layout-radio-item .layout-icon {
- float: left;
- margin: 0;
- }
- .erl-field .erl-add-item {
- text-align: center;
- }
-
- .erl-field .erl-layout.erl-item::before {
- content: "";
- top: 20px;
- height: 1px;
- background-color: #ccc;
- position: absolute;
- left: 0;
- right: 0;
- width: 100%;
- }
- .erl-field .erl-layout .erl-item,
- .erl-field .erl-disabled-items .erl-item {
- border: 1px solid #ffffff;
- box-sizing: border-box;
- padding: 30px;
- transition: all .15s linear;
- position: relative;
- }
- .erl-field .reversed .erl-item {
- border-color: rgba(0, 0, 0, .25);
- }
- .erl-field .erl-item .erl-actions .form-wrapper {
- background: none;
- }
- .erl-field .erl-layout-region:hover {
- border: 1px solid #ccc;
- }
- .erl-field .erl-layout .erl-item:hover {
- border-color: #0074bd;
- }
- .erl-field .reversed .erl-item:hover {
- border-color: #fff;
- }
- .erl-field .erl-item:hover:before {
- opacity: 1;
- }
- .erl-field .erl-layout-region {
- box-sizing: border-box;
- position: relative;
- border: 1px dashed #e5e5e3;
- transition: all .15s linear;
- min-height: 30px;
- padding: 30px;
- }
-
- /* -- Warnings -- */
- .erl-field .is_translating_warning {
- padding: 10px 0;
- color: orange;
- }
-
- /* -- Layout Controls -- */
-
- .erl-field .erl-layout .layout-controls,
- .erl-field .erl-layout .erl-actions {
- background: #f5f5f3;
- }
- .erl-field .erl-layout .erl-item .layout-controls,
- .erl-field .erl-layout .erl-item .erl-actions {
- background: none;
- }
- .erl-field .layout-controls {
- height: 30px;
- left: 0;
- position: absolute;
- top: 0;
- width: 90px;
- opacity: 0;
- }
-
- .erl-field .erl-item:hover > .layout-controls {
- opacity: 1;
- }
- .erl-field .erl-layout-section .erl-item:hover > .layout-controls {
- opacity: 1;
- }
- .erl-field .erl-layout-section .erl-item .layout-controls {
- background: none;
- }
- .layout-handle,
- .layout-down,
- .layout-up {
- cursor: pointer;
- height: 30px;
- left: 0;
- overflow: hidden;
- opacity: .75;
- position: absolute;
- top: 0;
- text-indent: 100%;
- width: 30px;
- }
- .layout-handle:hover,
- .layout-down:hover,
- .layout-up:hover {
- opacity: 1;
- cursor: pointer;
- }
- .layout-handle {
- background: url(../img/icon-move.png) 0 0 no-repeat;
- background-size: cover;
- display: none;
- }
- .reversed .layout-handle {
- background-image: url(../img/icon-move--reversed.png);
- }
- .dragula-enabled .layout-handle {
- display: block;
- }
- .layout-down {
- background: url(../img/icon-down.png) 0 0 no-repeat;
- background-size: cover;
- left: 60px;
- }
- .reversed .layout-down {
- background-image: url(../img/icon-down--reversed.png);
- }
- .layout-up {
- background: url(../img/icon-up.png) 0 0 no-repeat;
- background-size: cover;
- left: 30px;
- }
- .reversed .layout-up {
- background-image: url(../img/icon-up--reversed.png);
- }
- .erl-field .erl-layout:first-child > .layout-controls .layout-up,
- .erl-field .erl-layout:first-child .erl-item:first-child .layout-up {
- pointer-events: none;
- opacity: .15;
- }
- .erl-field .erl-layout:first-child .erl-item:first-child .layout-up {
- pointer-events: none;
- opacity: .15;
- }
- .erl-field .erl-layout:last-child > .layout-controls .layout-down,
- .erl-field .erl-layout:last-child .erl-item:nth-last-child(2) .layout-down {
- pointer-events: none;
- opacity: .15;
- }
- .gu-mirror .layout-down,
- .gu-mirror .layout-up {
- opacity: .25;
- }
-
- /* -- Item Actions (Edit and Delete Buttons) -- */
- .erl-field .erl-actions,
- .gu-mirror .erl-actions {
- position: absolute;
- right: 0;
- top: 0;
- padding: 0;
- margin: 0;
- visibility: hidden;
- }
- .erl-field .erl-item:hover > .erl-actions {
- visibility: visible;
- }
- .erl-field .erl-actions input.erl-edit,
- .erl-field .erl-actions input.erl-remove {
- cursor: pointer;
- height: 30px;
- width: 30px;
- margin: 0;
- text-indent: 100%;
- overflow: hidden;
- border: none;
- padding: 0;
- opacity: .5;
- transition: none;
- }
- .erl-field .erl-actions input.erl-edit {
- background: url(../img/icon-edit.png) 0 0 no-repeat;
- background-size: cover;
- }
- .erl-field .reversed .erl-actions input.erl-edit {
- background-image: url(../img/icon-edit--reversed.png);
- }
- .erl-field .erl-actions input.erl-remove {
- background: url(../img/icon-delete.png) 0 0 no-repeat;
- background-size: cover;
- }
- .erl-field .reversed .erl-actions input.erl-remove {
- background-image: url(../img/icon-delete--reversed.png);
- }
- .erl-field .erl-actions input.erl-edit:hover,
- .erl-field .erl-actions input.erl-remove:hover {
- opacity: 1;
- box-shadow: none;
- }
-
- /* -- Add content and add section buttons. -- */
- .erl-add-content-wrapper {
- position: relative;
- }
- .erl-add-content__container {
- position: absolute;
- left: 0;
- top: 100%;
- width: 100%;
- }
- .erl-add-content__toggle {
- position: absolute;
- bottom: 0;
- left: 50%;
- margin-left: -15px;
- border: none;
- color: #fff;
- font-weight: bold;
- z-index: 10;
- line-height: 1;
- padding: 0;
- opacity: 0;
- font-size: large;
- width: 30px;
- height: 30px;
- text-indent: 100%;
- overflow: hidden;
- background: url(../img/icon-add.png) 0 0 no-repeat;
- background-size: cover;
- transition: all .15s linear;
- -webkit-appearance: none;
- outline: none;
- border-radius: 50%;
- }
- .reversed .erl-add-content__toggle {
- background-image: url(../img/icon-add--reversed.png);
- }
- .erl-add-content__toggle.active {
- transform: rotate(45deg);
- }
- .erl-layout-region:hover button.erl-add-content__toggle {
- opacity: .75;
- }
- .erl-layout-region:hover button.erl-add-content__toggle:hover,
- .erl-layout-region:hover button.erl-add-content__toggle.active,
- .erl-layout-region button.erl-add-content__toggle.active {
- opacity: 1;
- }
-
- .erl-add-content__group {
- display: flex;
- flex-wrap: wrap;
- width: 100%;
- max-width: 800px;
- transform: translateX(-50%);
- position: absolute;
- left: 50%;
- top: 100%;
- background: #fff;
- z-index: 12;
- border: none;
- padding: 0;
- text-align: left;
- margin-left: -15px;
- box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
- max-height: 480px;
- overflow-y: auto;
- -webkit-overflow-scrolling: touch;
- }
- .erl-add-content__group.hidden {
- visibility: hidden !important;
- }
- .erl-add-content__group .erl-add-content__search {
- width: 100%;
- padding: 12px;
- position: sticky;
- top: 0;
- background: #fafbfd;
- border-bottom: 1px solid rgba(216, 217, 224, 0.8);
- }
- .erl-add-content__group .erl-add-content__input {
- width: 100%;
- }
- .erl-add-content__item {
- display: block;
- text-align: left;
- width: 100%;
- border: none;
- color: #0074bd;
- flex-basis: 25%;
- padding: 9px 18px;
- margin-bottom: 16px;
- }
- .erl-add-content__group--has-icons button {
- text-align: center;
- }
- .erl-add-content__item {
- display: block;
- text-align: left;
- }
- .erl-add-content__group button {
- background: none;
- display: block;
- width: 100%;
- border: none;
- color: #0074bd;
- text-align: left;
- padding: 9px 18px;
- }
- .erl-add-content__group button img {
- width: 24px;
- height: 24px;
- display: block;
- margin: 8px auto;
- }
-
- @media (min-width: 1024px) {
- .erl-add-content__group button img {
- width: 48px;
- height: 48px;
- }
- }
- .erl-add-content__group button:hover {
- background: #e5f1f8;
- color: #0074bd;
- display: block;
- width: 100%;
- border: none;
- }
- .erl-add-content--single {
- width: 160px;
- left: 50%;
- margin-left: -80px;
- padding: 0;
- text-align: center;
- position: absolute;
- z-index: 10;
- }
- .erl-item > .erl-add-content--single {
- opacity: 0;
- bottom: -52px;
- }
- .erl-item:hover > .erl-add-content--single {
- opacity: 1;
- }
- .erl-empty {
- position: relative;
- }
- .erl-add-content--single button {
- background: none;
- border: none;
- box-shadow: none;
- text-transform: uppercase;
- font-size: small;
- font-weight: bold;
- color: #9b9b9b;
- height: 60px;
- width: 100%;
- }
- .erl-add-content--single button:hover {
- color: #5e5e5e;
- text-decoration: underline;
- }
- .erl-add-content--single button .icon {
- font-weight: bold;
- font-size: large;
- }
- .erl-add-more-menu {
- width: 300px;
- position: absolute;
- left: 50%;
- top: 100%;
- background: #fff;
- z-index: 1000;
- border: none;
- box-shadow: 0 0 10px rgba(0, 0, 0, .25);
- outline: 1px solid #eee;
- }
- .erl-add-more-menu.beneath::before,
- .erl-add-more-menu.above::after {
- content: " ";
- width: 16px;
- height: 16px;
- display: block;
- left: 50%;
- margin-top: -8px;
- margin-left: -8px;
- position: absolute;
- background: #fff;
- transform: rotate(45deg);
- }
- .erl-loading div.loading {
- background: rgba(255, 255, 255, .8);
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- z-index: 1005;
- }
- .erl-loading div.spinner {
- text-indent: -9999px;
- opacity: 1;
- width: 49px;
- height: 49px;
- position: absolute;
- top: 50%;
- left: 50%;
- margin-left: -25px;
- margin-top: -27px;
- border: 3px solid #0074bd;
- border-radius: 50%;
- border-left-color: transparent;
- border-right-color: transparent;
- animation: cssload-spin 575ms infinite linear;
- -o-animation: cssload-spin 575ms infinite linear;
- -webkit-animation: cssload-spin 575ms infinite linear;
- -moz-animation: cssload-spin 575ms infinite linear;
- }
-
- @keyframes cssload-spin {
- 100% {
- transform: rotate(360deg);
- }
- }
-
- @-o-keyframes cssload-spin {
- 100% {
- -o-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
-
- @-ms-keyframes cssload-spin {
- 100% {
- -ms-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
-
- @-webkit-keyframes cssload-spin {
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
-
- @-moz-keyframes cssload-spin {
- 100% {
- -moz-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- .erl-add-more-menu.fade-in {
- animation: fadeIn ease .25s;
- -webkit-animation: fadeIn ease .25s;
- -moz-animation: fadeIn ease .25s;
- -o-animation: fadeIn ease .25s;
- }
- @keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @-moz-keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @-webkit-keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @-o-keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @-ms-keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- .erl-add-more-menu__search {
- padding: 20px;
- background: #fff;
- border-bottom: 1px solid #e7e7e7;
- }
- .erl-add-more-menu__search input {
- font-size: 14px;
- padding: 10px;
- display: block;
- box-sizing: border-box;
- width: 100%;
- border-radius: 3px;
- border: none;
- box-shadow: 0 0 0 1px #666;
- }
- .erl-add-more-menu__search input:focus {
- box-shadow: 0 0 0 1px #5f89db;
- outline: none;
- }
- .erl-add-more-menu__group {
- display: flex;
- flex-wrap: wrap;
- max-height: 480px;
- overflow-y: auto;
- -webkit-overflow-scrolling: touch;
- }
- .erl-add-more-menu__item {
- text-align: center;
- width: 33%;
- }
- .erl-add-more-menu__item a {
- text-align: center;
- display: block;
- padding: 10px 0;
- margin: 10px;
- text-decoration: none;
- font-size: 14px;
- color: #0074bd;
- }
- .erl-add-more-menu__item a:hover {
- background-color: #e7f1f7;
- }
- .erl-add-more-menu__item img {
- width: 24px;
- height: 24px;
- }
- /**
- * Disabled items.
- */
- .erl-disabled-items.form-item.form-wrapper {
- color: gray;
- position: relative;
- margin-top: 60px;
- border: 1px dashed #e5e5e3;
- }
- .erl-disabled-items .fieldset-wrapper {
- margin-top: 10px;
- }
- .erl-disabled-items__title {
- margin: 0;
- padding: 10px;
- }
- .erl-disabled-items__description {
- position: absolute;
- width: 100%;
- margin: 20px 0 0 0;
- top: 0;
- left: 0;
- text-align: center;
- }
- .erl-disabled-wrapper {
- position: relative;
- min-height: 60px;
- padding-bottom: 0;
- padding-top: 0;
- border: 1px dashed #e5e5e3;
- }
-
- /* -- Dragula Specific Styles -- */
- .gu-mirror {
- background: #fff;
- border: 1px solid #0074bd;
- box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
- cursor: grabbing;
- padding: 30px;
- box-sizing: border-box;
- overflow: hidden;
- }
- .gu-mirror:before {
- content: "";
- position: absolute;
- height: 30px;
- width: 30px;
- left: 0;
- top: 0;
- background: url(../img/icon-move.png) 0 0 no-repeat;
- background-size: cover;
- }
- .reversed .gu-mirror:before {
- background-image: url(../img/icon-move--reversed.png);
- }
- .erl-field .erl-item.gu-transit {
- background: #0074bd;
- }
- .erl-field .erl-item.gu-transit > * {
- visibility: hidden;
- }
-
- .paragraph-type-label {
- position: absolute;
- bottom: 0;
- right: 0;
- padding: 5px;
- margin: 0;
- border-top: 1px dashed #e5e5e3;
- border-left: 1px dashed #e5e5e3;
- font-style: italic;
- font-weight: normal !important;
- color: darkgray;
- }
-
- .paragraph-layout-label {
- position: absolute;
- top: 0;
- left: 50%;
- padding: 0;
- margin: auto;
- font-style: italic;
- font-weight: normal !important;
- color: darkgray;
- }
-
- /* -- Un-Published Layout and Items. -- */
- .erl-field .erl-layout .erl-item--unpublished,
- .erl-field .erl-layout.erl-item--unpublished {
- background: #fff4f4;
- border: lightgray dashed 1px;
- opacity: 0.7;
- }