// Variables defined here @import "admin/controls"; // Variables defined here @import "admin/widgets"; // Variables defined here @import "admin/menu"; .dg-widget-repeater-heading{ display: block; font-size: 1em; line-height: 1; overflow: hidden; font-weight: 600; padding: 15px 10px; margin:0 -15px 15px; letter-spacing: 0.5px; box-sizing: border-box; text-transform: uppercase; background-color: #f1f1f1; } dg-repeater{ padding-bottom:15px; box-shadow: 0 1px 1px rgba(0, 0, 0, .04) } .dg-repeater-field-control-wrap { box-shadow: 0 1px 1px rgba(0, 0, 0, .04) } .dg-hidden-field{ display:none; } .dg-repeater-top { padding: 0; cursor: move; background-color: #fafafa; color: #23282d; line-height: 1.4em; font-size: 13px; font-weight: 600; border-bottom: 1px solid #e5e5e5; box-shadow: 0 1px 1px rgba(0, 0, 0, .04) } .dg-repeater-title{ h3,h4{ -moz-user-select: none; font-size: 1em; line-height: 1; margin: 0; overflow: hidden; padding: 15px; text-overflow: ellipsis; white-space: nowrap } } .dg-repeater-title-action { float: right; position: relative } .dg-repeater-action { background: rgba(0, 0, 0, 0) none repeat scroll 0 0; border: 0 none; cursor: pointer; margin: 0; outline: 0 none; padding: 10px; color: #555d66; .te-toggle-indicator{ &:before { border-radius: 50%; padding: 1px 2px 1px 0; display: block; font: 400 20px/1 dashicons; content: "\f140"; text-decoration: none } } } .repeater-field-control, .dg-widget-repeater-table{ margin: 0 auto 10px; background-color:#fafafa; border:1px solid #f1f1f1; &>.dg-widget-repeater-table{ /*this css need to written because same class repated we need to fix it only when we added row on repeater*/ margin-bottom:0px; } } .dg-widget-repeater-table.open{ .dg-repeater-action{ .te-toggle-indicator{ &:before { content: "\f142" } } } } .repeater-fields, .dg-repeater-inside { line-height: 16px; padding: 10px 15px 15px; box-shadow: 0 1px 1px rgba(0, 0, 0, .04) } .dg-sortable-placeholder { border: 1px dashed #b4b9be; margin: 0 auto 10px; height: 45px; width: 100%; box-sizing: border-box } .dg-icons-wrapper{ .icons-list-wrapper { height: 180px; overflow-y: scroll; background: #fff; border: 1px solid #ccc; width: 100% } } .dg-widget-repeater-wrapper{ border:1px solid #dedede; padding: 0 15px 15px; margin: 0 0 15px; } .icons-list-wrapper{ .single-icon{ display: block; float: left; padding: 12px; height: 20px; width: 20px; font-size: 20px; text-align: center; border-radius: 50%; &.selected, &:hover{ background: #00a0d2; color: #fff } } } .dg-icon-preview, .icon-toggle { height: 40px; color: #fff; min-width: 40px; cursor: pointer; text-align: center; margin-bottom: 5px; border-radius: 8px; padding-bottom: 3px; display: inline-block; background-color:#00a0d2; } .dg-icon-preview i{ font-size: 25px; padding: 9px } .icon-toggle, .icon-toggle span { background: 0 0; border: none; color: #2d2d2d; float: right; font-size: 17px; line-height: 40px } .icon-toggle span { font-size: 20px } .single-icon { cursor: pointer } .hide-radio { position: relative; margin-bottom: 6px } .hide-radio img, .hide-radio label { display: block } .hide-radio input[type=radio] { position: absolute; left: 50%; top: 50%; opacity: 0 } .hide-radio input[type=radio]+label { border: 3px solid #f1f1f1 } .hide-radio input[type=radio]:checked+label { border: 3px solid #f88c00 } .radio-image-wrapper { float: left; margin-right: 30px } .dg-multiple-checkbox{ max-height: 150px; overflow: auto; border: 1px solid #ccc; padding: 10px; margin-top: 5px; list-style:none; ul, ol{ margin-top:8px; padding-left:18px; } } .feature-first-promo { border-bottom: 2px solid #ddd } .hide-radio { float: left; position: relative; margin: 0 10px 10px 0 } .hide-radio img, .hide-radio label { display: block } .hide-radio input[type=radio] { position: absolute; left: 50%; top: 50%; opacity: 0 } .hide-radio input[type=radio]+label { border: 3px solid #f1f1f1 } .hide-radio input[type=radio]:checked+label { border: 3px solid #f88c00 } div[id*="newsmagazine"].widget .widget-title h3 { border-left: 5px solid #f28b00; } /*admin tab*/ /** * All of the CSS for your admin-specific functionality should be * included in this file. */ .dg-tab-contents{ display:none; } .newsmagazine-postbox{ img{ max-width:100%; height:auto; } } .newsmagazine-bottom-actions{ padding: 10px; clear: both; border-top: 1px solid #ddd; background: #f5f5f5; .btn{ margin: 3px 1px; } } #poststuff{ .newsmagazine-top-title{ color: #fff; font-size: 1.5em; text-transform: uppercase; margin-bottom:15px; background: #0085ba; } .dg-tab-contents{ h2{ padding:20px 12px 8px 0; font-size:1.6em; } } } .newsmagazine_widget_field{ margin: 1em 0; clear: both; } .newsmagazine_widget_icon_wrap{ position:relative; .widefat{ padding-right:40px; } .newsmagazine_icon{ top: -2px; right: 0; width: 35px; height: 30px; color: #fff; display: block; line-height: 30px; text-align: center; position: absolute; background: #006799; border-radius: 3px; } } .wp-picker-container { display: block; padding-top: 5px; } .dg-hidden{ display:none; &[type="radio"], &[type="checkbox"]{ display:none; } } .dg-widget-field-tab-wraper { .nav-tab-wrapper{ border-bottom:0px; } } .dg-tab-contents { display: none; border: 1px solid #dedede; padding: 0 15px; background-color: #fdfdfd; border-width:1px 0px; &.dg-tab-active{ display:block; } } .widget-content .dg-tab-contents{ margin: 0 -15px 15px; } /*icon picker*/ .popover-title input[type="search"]{ width:100%; } .iconpicker-popover.popover{ width:auto; position: static; border: 1px solid #dedede; } /*customizer*/ .newsmagazine-customize-customize-message{ h2{ margin:0; } } #customize-control-newsmagazine_theme_options-newsmagazine-{ &first-info-message, &first-info-icon, &first-info-title, &first-info-link, &second-info-message, &second-info-icon, &second-info-title, &second-info-link, &third-info-message, &third-info-icon, &third-info-title, &third-info-link, &forth-info-message, &forth-info-icon, &forth-info-title, &forth-info-link{ margin-bottom:0px; padding:0 12px 12px; background-color:#f2f2f2; border:1px solid #f28b00; border-width: 0 1px; box-sizing:border-box; .icon-toggle, .icon-toggle span{ background:#f2f2f2 } hr{ display:none; } } &first-info-message, &second-info-message, &third-info-message, &forth-info-message{ border-top:1px solid #f28b00; padding:12px 12px 0; } &first-info-link, &second-info-link, &third-info-link, &forth-info-link{ border-bottom:1px solid #f28b00;; margin-bottom:12px; } } /*accordion for widget*/ .dg-accordion-title{ display: block; background: #f1f1f1; line-height: 30px; text-transform: uppercase; padding: 5px 35px 5px 15px; position:relative; .dg-accordion-arrow{ top:0; right:0; width:30px; height:40px; position:absolute; text-align:center; line-height:40px; font-size:18px; } } .dg-widget-accordion-wrapper{ padding-top:10px; } .dg-accordion-wrapper{ margin-bottom:10px; .dg-accordion-content{ display:none; padding: 10px 15px; background: rgb(250, 250, 250); } &.open{ .dg-accordion-content{ display:block; } } } .dglib-theme-info a { display: block; padding: 4px 10px; text-decoration: none; text-align: left; }