Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Theme Name: DPL
- Theme URI: n/a
- Template: kadence
- Author: Steve West
- Author URI: n/a
- Description: child theme for Kadence
- Version: 4.1
- License: GNU General Public License v3.0 (or later)
- License URI: https://www.gnu.org/licenses/gpl-3.0.html
- */
- /* Main Container */
- .speaking-events-container {
- max-width: 1200px;
- margin: 0 auto;
- padding: 2rem 1rem;
- /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; */
- }
- /* Header Section */
- .speaking-events-header {
- text-align: center;
- margin-bottom: 3rem;
- padding-bottom: 0;
- border-bottom: none;
- }
- .speaking-events-title {
- font-size: 2.75rem;
- font-weight: 800;
- color: #222;
- margin-bottom: 1rem;
- line-height: 1.2;
- letter-spacing: -0.02em;
- }
- .speaking-events-description {
- font-size: 1.15rem;
- color: #555;
- margin-bottom: 0;
- max-width: 700px;
- margin-left: auto;
- margin-right: auto;
- line-height: 1.6;
- }
- /* Filters */
- .speaking-events-filters {
- margin-bottom: 1rem;
- }
- .filters-form {
- width: 100%;
- }
- .filter-row {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- gap: 1.5rem;
- }
- .filter-group {
- flex: 1;
- min-width: 250px;
- }
- .date-filter-group {
- flex: 0 0 auto;
- width: 300px;
- }
- .filter-group label {
- display: block;
- margin-bottom: 0.5rem;
- font-weight: 500;
- font-size: 0.9rem;
- color: #333;
- }
- .search-input-wrapper {
- position: relative !important;
- width: 100% !important;
- }
- #search-suggestions {
- position: absolute !important;
- z-index: 1000 !important;
- width: 100% !important;
- background-color: white !important;
- border: 1px solid #e0e5eb !important;
- border-radius: 0 0 8px 8px !important;
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1) !important;
- border-top: none !important;
- max-height: 300px !important;
- overflow-y: auto !important;
- margin-top: -1px !important;
- }
- .search-suggestion-item,
- .link-style-no-underline .entry-content .search-suggestion-item {
- padding: 12px 16px !important;
- cursor: pointer !important;
- transition: all 0.2s ease !important;
- display: flex !important;
- align-items: center !important;
- border-bottom: 1px solid #f0f4fa !important;
- text-decoration: none !important;
- }
- .search-suggestion-item:last-child,
- .link-style-no-underline .entry-content .search-suggestion-item:last-child {
- border-bottom: none !important;
- }
- .search-suggestion-item:hover,
- .link-style-no-underline .entry-content .search-suggestion-item:hover {
- background-color: #f9fafc !important;
- text-decoration: none !important;
- }
- .search-suggestion-type,
- .link-style-no-underline .entry-content .search-suggestion-type {
- display: inline-block !important;
- padding: 3px 8px !important;
- border-radius: 4px !important;
- background-color: rgba(var(--global-palette1-rgb, 0, 115, 170), 0.1) !important;
- color: var(--global-palette1, #0073aa) !important;
- font-size: 0.75rem !important;
- font-weight: 600 !important;
- margin-right: 10px !important;
- flex-shrink: 0 !important;
- text-decoration: none !important;
- }
- .search-suggestion-title,
- .link-style-no-underline .entry-content .search-suggestion-title {
- font-size: 0.95rem !important;
- color: #333 !important;
- font-weight: 500 !important;
- flex-grow: 1 !important;
- text-decoration: none !important;
- white-space: nowrap !important;
- overflow: hidden !important;
- text-overflow: ellipsis !important;
- }
- .filter-group input {
- width: 100%;
- padding: 0.75rem 2.5rem 0.75rem 1rem;
- border: 1px solid #e0e0e0;
- border-radius: 4px;
- font-size: 1rem;
- color: #333;
- }
- .filter-group select {
- width: 100%;
- padding: 0.75rem 1rem;
- border: 1px solid #e0e0e0;
- border-radius: 4px;
- font-size: 1rem;
- color: #333;
- background-color: white;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
- background-repeat: no-repeat;
- background-position: right 1rem center;
- background-size: 1em;
- }
- .search-button {
- position: absolute;
- right: 10px;
- top: 50%;
- transform: translateY(-50%);
- background: none;
- border: none;
- padding: 0;
- cursor: pointer;
- color: #888;
- }
- .search-button:hover {
- color: #333;
- }
- .filter-divider {
- margin: 1.5rem 0;
- border: none;
- border-top: 1px solid #e0e0e0;
- }
- /* Filter Status */
- .filter-status {
- display: flex;
- justify-content: space-between;
- align-items: center;
- /* margin: 1.5rem 0 2.5rem;*/
- padding: 1rem 1.5rem;
- background-color: #f0f7fc;
- border-radius: 8px;
- border-left: 4px solid var(--global-palette1);
- }
- #filter-status-text {
- font-style: normal;
- color: #444;
- font-weight: 500;
- font-size: 0.95rem;
- }
- .speaking-events-container .reset-filters-button {
- border: none;
- background-color: #e6eef5;
- color: var(--global-palette1);
- padding: 0.5rem 1.25rem;
- border-radius: 6px;
- cursor: pointer;
- font-size: 0.85rem;
- font-weight: 600;
- transition: all 0.2s;
- }
- .reset-filters-button:hover {
- background-color: var(--global-palette1);
- color: white;
- }
- /* Grid Layout for Events */
- .dpl-page-speaking-events .speaking-events-grid {
- display: flex !important;
- flex-direction: column !important;
- gap: 0 !important;
- margin-top: 2rem !important;
- width: 100% !important;
- margin-left: 0 !important;
- }
- .dpl-page-speaking-events .event-grid-item {
- display: flex !important;
- flex-direction: column !important;
- background-color: transparent !important;
- border-radius: 0 !important;
- overflow: visible !important;
- box-shadow: none !important;
- transition: none !important;
- height: auto !important;
- width: 100% !important;
- max-width: 100% !important;
- margin: 0 !important;
- text-align: left !important;
- /* padding: 1.5rem 0 !important;*/
- }
- .dpl-page-speaking-events .event-grid-item:hover {
- transform: none !important;
- box-shadow: none !important;
- }
- .dpl-page-speaking-events .event-grid-header {
- padding: 1.5rem 1.5rem 0 !important;
- text-align: left !important;
- }
- .dpl-page-speaking-events .event-grid-content {
- padding: 1.5rem !important;
- display: flex !important;
- flex-direction: column !important;
- flex-grow: 1 !important;
- text-align: left !important;
- }
- .dpl-page-speaking-events .event-grid-footer {
- padding: 0 1.5rem 1.5rem !important;
- text-align: left !important;
- }
- /* Speaker Topic Wrapper */
- .dpl-page-speaking-events .speaker-topic-wrapper {
- display: flex !important;
- gap: 2rem !important;
- margin: 0 !important;
- align-items: flex-start !important;
- text-align: left !important;
- }
- .dpl-page-speaking-events .speaker-image-container {
- flex: 0 0 150px !important;
- text-align: center !important;
- margin-bottom: 0 !important;
- }
- .dpl-page-speaking-events .speaker-image {
- aspect-ratio: 1 !important;
- width: 150px !important;
- height: 150px !important;
- object-fit: cover !important;
- border-radius: 50% !important;
- border: 5px solid var(--global-palette1) !important;
- margin-bottom: 0.75rem !important;
- }
- .dpl-page-speaking-events .speaker-name {
- display: block !important;
- color: var(--global-palette1) !important;
- font-size: 1.1rem !important;
- font-weight: 500 !important;
- /* text-decoration: none !important;*/
- text-align: center !important;
- }
- .dpl-page-speaking-events .speaker-name:hover {
- text-decoration: underline !important;
- }
- .dpl-page-speaking-events .topic-details {
- flex: 1 !important;
- min-width: 0 !important; /* Ensures text truncation works */
- text-align: left !important;
- }
- .dpl-page-speaking-events .topic-title {
- margin-top: 0 !important;
- margin-bottom: 0.75rem !important;
- font-size: 1.5rem !important;
- font-weight: 600 !important;
- line-height: 1.3 !important;
- }
- .dpl-page-speaking-events .speaker-topic-wrapper a {
- text-decoration: underline;
- color: var(--global-palette1) !important;
- transition: all 0.1s linear;
- }
- .dpl-page-speaking-events .speaker-topic-wrapper a:hover {
- text-decoration: underline;
- text-decoration-color: currentcolor;
- box-shadow: inset 0 -40px 0 0 var(--global-palette1);
- color: var(--global-palette9) !important;
- }
- .dpl-page-speaking-events .topic-title a {
- /* color: var(--global-palette1); */
- color: var(--global-palette1);
- text-decoration: none;
- }
- .dpl-page-speaking-events .topic-title a:hover {
- text-decoration: underline;
- }
- .dpl-page-speaking-events .event-info {
- margin-bottom: 1rem !important;
- font-size: 0.95rem !important;
- color: #666 !important;
- }
- .dpl-page-speaking-events .event-date-info {
- display: flex !important;
- align-items: center !important;
- flex-wrap: wrap !important;
- margin-bottom: 1rem !important;
- font-size: 0.95rem !important;
- color: #666 !important;
- width: 100% !important;
- }
- .topic-date-time {
- display: inline-flex !important;
- align-items: center !important;
- color: #666 !important;
- padding: 0 !important;
- border-radius: 0 !important;
- font-weight: normal !important;
- font-size: 0.95rem !important;
- margin-bottom: 0 !important;
- background-color: transparent !important;
- visibility: visible !important;
- opacity: 1 !important;
- }
- .dpl-page-speaking-events .separator {
- margin: 0 0.5rem !important;
- color: #999 !important;
- font-weight: normal !important;
- }
- .dpl-page-speaking-events .event-name {
- color: var(--global-palette1) !important;
- /* text-decoration: none !important;*/
- font-weight: 500 !important;
- }
- .dpl-page-speaking-events .event-name:hover {
- text-decoration: underline !important;
- }
- .dpl-page-speaking-events .topic-description {
- /* color: #333; */
- color: var(--global-palette4) !important;
- line-height: 1.5 !important;
- margin-bottom: 1rem !important;
- }
- .truncate3 {
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
- /* Read More Link - Ensure these styles aren't overridden */
- .dpl-page-speaking-events .read-more-link {
- text-align: right !important;
- margin-right: 0 !important;
- margin-top: 1rem !important;
- }
- .dpl-page-speaking-events .read-more-link a,
- .dpl-page-speaking-events .event-grid-content .read-more-link a,
- .dpl-page-speaking-events .speaking-events-grid .read-more-link a,
- .dpl-page-speaking-events.link-style-no-underline .entry-content .event-grid-content .read-more-link a,
- .dpl-page-speaking-events.link-style-no-underline .entry-content .speaking-events-grid .read-more-link a,
- .dpl-page-speaking-events .entry-content .event-grid-content .read-more-link a,
- .dpl-page-speaking-events .entry-content .speaking-events-grid .read-more-link a,
- .dpl-page-speaking-events .entry-content p .event-grid-content .read-more-link a,
- .dpl-page-speaking-events .entry-content p .speaking-events-grid .read-more-link a {
- /* color: var(--global-palette1) !important;*/
- text-decoration: none !important;
- font-size: 0.95rem !important;
- display: inline-block !important;
- font-style: normal !important;
- padding: 0 !important;
- border-radius: 0 !important;
- transition: all 0.3s ease !important;
- background-color: transparent !important;
- border: none !important;
- text-decoration: underline !important;
- }
- .dpl-page-speaking-events .read-more-link a:hover,
- .dpl-page-speaking-events .event-grid-content .read-more-link a:hover,
- .dpl-page-speaking-events .speaking-events-grid .read-more-link a:hover,
- .dpl-page-speaking-events.link-style-no-underline .entry-content .event-grid-content .read-more-link a:hover,
- .dpl-page-speaking-events.link-style-no-underline .entry-content .speaking-events-grid .read-more-link a:hover,
- .dpl-page-speaking-events .entry-content .event-grid-content .read-more-link a:hover,
- .dpl-page-speaking-events .entry-content .speaking-events-grid .read-more-link a:hover,
- .dpl-page-speaking-events .entry-content p .event-grid-content .read-more-link a:hover,
- .dpl-page-speaking-events .entry-content p .speaking-events-grid .read-more-link a:hover {
- text-decoration: underline !important;
- background-color: transparent !important;
- color: var(--global-palette1) !important;
- }
- /* Additional override for any possible theme conflicts */
- .dpl-page-speaking-events .read-more-link,
- .dpl-page-speaking-events .event-grid-content .read-more-link,
- .dpl-page-speaking-events .speaking-events-grid .read-more-link {
- text-align: right !important;
- margin-right: 0 !important;
- margin-top: 1rem !important;
- }
- .dpl-page-speaking-events .read-more-link a,
- .dpl-page-speaking-events .event-grid-content .read-more-link a,
- .dpl-page-speaking-events .speaking-events-grid .read-more-link a,
- .dpl-page-speaking-events.link-style-no-underline .entry-content .event-grid-content .read-more-link a,
- .dpl-page-speaking-events.link-style-no-underline .entry-content .speaking-events-grid .read-more-link a {
- /* color: var(--primary-color) !important;*/
- color: var(--global-palette1) !important;
- /* text-decoration: none !important;*/
- font-style: normal !important;
- font-size: 0.9rem !important;
- padding: 0 !important;
- border-radius: 0 !important;
- background-color: transparent !important;
- display: inline-block !important;
- visibility: visible !important;
- opacity: 1 !important;
- }
- .dpl-page-speaking-events .read-more-link a:hover,
- .dpl-page-speaking-events .event-grid-content .read-more-link a:hover,
- .dpl-page-speaking-events .speaking-events-grid .read-more-link a:hover,
- .dpl-page-speaking-events.link-style-no-underline .entry-content .event-grid-content .read-more-link a:hover,
- .dpl-page-speaking-events.link-style-no-underline .entry-content .speaking-events-grid .read-more-link a:hover {
- text-decoration: underline !important;
- background-color: transparent !important;
- color: var(--global-palette9) !important;
- }
- /* Ensure the read-more-link container is visible */
- .dpl-page-speaking-events .read-more-link,
- .dpl-page-speaking-events .event-grid-content .read-more-link,
- .dpl-page-speaking-events .speaking-events-grid .read-more-link {
- text-align: right !important;
- margin-right: 4rem !important;
- margin-top: 1rem !important;
- display: block !important;
- visibility: visible !important;
- opacity: 1 !important;
- }
- .dpl-page-speaking-events .topic-divider {
- margin: 1.5rem 0 !important;
- border: none !important;
- border-top: 1px solid #e0e0e0 !important;
- width: 100% !important;
- }
- /* Pagination */
- .speaking-events-pagination {
- display: flex !important;
- justify-content: center !important;
- align-items: center !important;
- margin: 2rem 0 !important;
- flex-wrap: wrap !important;
- gap: 0.5rem !important;
- }
- .speaking-events-pagination .page-numbers,
- .link-style-no-underline .entry-content .speaking-events-pagination .page-numbers {
- display: inline-block !important;
- padding: 0.5rem 0.75rem !important;
- margin: 0 0.25rem !important;
- border: 1px solid #e0e0e0 !important;
- border-radius: 4px !important;
- text-decoration: none !important;
- color: var(--global-palette1) !important;
- cursor: pointer !important;
- }
- .speaking-events-pagination .page-numbers.current,
- .link-style-no-underline .entry-content .speaking-events-pagination .page-numbers.current {
- background-color: var(--global-palette1) !important;
- color: white !important;
- border-color: var(--global-palette1) !important;
- }
- .speaking-events-pagination .page-numbers:hover,
- .link-style-no-underline .entry-content .speaking-events-pagination .page-numbers:hover {
- background-color: #f5f5f5 !important;
- text-decoration: none !important;
- }
- /* Loading State */
- .speaking-events-loading {
- text-align: center;
- padding: 3rem 0;
- }
- .spinner {
- animation: rotate 2s linear infinite;
- margin-bottom: 1rem;
- }
- .spinner .path {
- /*stroke: #567b2d;*/
- stroke: var(--global-palette1);
- stroke-linecap: round;
- animation: dash 1.5s ease-in-out infinite;
- }
- @keyframes rotate {
- 100% {
- transform: rotate(360deg);
- }
- }
- @keyframes dash {
- 0% {
- stroke-dasharray: 1, 150;
- stroke-dashoffset: 0;
- }
- 50% {
- stroke-dasharray: 90, 150;
- stroke-dashoffset: -35;
- }
- 100% {
- stroke-dasharray: 90, 150;
- stroke-dashoffset: -124;
- }
- }
- /* Responsive adjustments */
- @media (max-width: 768px) {
- .dpl-page-speaking-events .speaker-topic-wrapper {
- flex-direction: column !important;
- align-items: center !important;
- text-align: center !important;
- }
- .dpl-page-speaking-events .topic-details {
- text-align: center !important;
- }
- .dpl-page-speaking-events .speaker-image-container {
- margin-bottom: 1.5rem !important;
- text-align: center !important;
- }
- .dpl-page-speaking-events .speaker-name {
- text-align: center !important;
- }
- .dpl-page-speaking-events .read-more-link {
- text-align: right !important;
- margin-right: 0 !important;
- }
- .dpl-page-speaking-events .topic-title, .dpl-page-speaking-events .topic-description, .dpl-page-speaking-events .event-date-info {
- text-align: center !important;
- }
- .dpl-page-speaking-events .event-date-info {
- justify-content: center !important;
- }
- .dpl-page-speaking-events .topic-date-time {
- justify-content: center !important;
- display: flex !important;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment