314 lines
15 KiB
CSS
314 lines
15 KiB
CSS
/*=== Widget CSS === */
|
|
|
|
#secondary, .widget {
|
|
word-break: break-word;
|
|
}
|
|
.upstudy-page-sidebar-enable aside.widget-area.tpc-sidebar-widget {
|
|
margin-top: 95px;
|
|
}
|
|
.nice-select {
|
|
float: none !important;
|
|
border-radius: 0 !important;
|
|
height: 50px !important;
|
|
line-height: 50px !important;
|
|
border-radius: 3px !important;
|
|
}
|
|
.nice-select::after {
|
|
right: 18px !important;
|
|
width: 5px !important;
|
|
}
|
|
.nice-select .list {
|
|
width: calc(100% + 2px) !important;
|
|
overflow-y: scroll !important;
|
|
max-height: 365px !important;
|
|
left: -1px;
|
|
}
|
|
.nice-select:active, .nice-select.open, .nice-select:focus {
|
|
border-color: var(--upstudy-primary-color)
|
|
}
|
|
.widget .nice-select ul li, .nice-select ul li {
|
|
margin-top: 0 !important;
|
|
padding-bottom: 0px !important;
|
|
margin-bottom: 6px !important;
|
|
border-bottom: 0 !important;
|
|
}
|
|
.widget .nice-select .list li {
|
|
white-space: initial;
|
|
}
|
|
.widget_categories ul li.cat-item-none {
|
|
text-align: left;
|
|
}
|
|
.widget_archive ul li, .widget_categories ul li {
|
|
text-align: right;
|
|
display: block;
|
|
overflow: hidden;
|
|
}
|
|
.widget_archive ul li a, .widget_categories ul li a {
|
|
float: left;
|
|
}
|
|
.widget li, #secondary li, .widget_archive ul li, .widget_categories ul li, .widget_pages ul li, .widget_meta ul li, .widget_recent_comments ul li, .widget_recent_entries ul li, .widget_nav_menu ul li, .widget_recent_entries ul li {
|
|
color: var(--upstudy-heading-color);
|
|
font-weight: var(--upstudy-p-medium);
|
|
margin-top: 0;
|
|
margin-bottom: 14px;
|
|
font-size: var(--upstudy-font-size-b1);
|
|
line-height: var(--upstudy-line-height-b1);
|
|
}
|
|
.widget .nice-select .list li, #secondary .nice-select .list li, .widget_archive .nice-select ul.list li, .widget_categories .nice-select ul.list li, .widget_pages .nice-select ul.list li, .widget_meta .nice-select ul.list li, .widget_recent_comments .nice-select ul.list li, .widget_recent_entries .nice-select ul.list li, .widget_nav_menu .nice-select ul.list li, .widget_recent_entries .nice-select ul.list li {
|
|
line-height: 40px;
|
|
}
|
|
.widget li a:hover, #secondary li a:hover, .widget_archive ul li a:hover, .widget_categories ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_recent_comments ul li a:hover, .widget_recent_entries ul li a:hover, .widget_nav_menu ul li a:hover, .widget_recent_entries ul li a:hover {
|
|
color: var(--upstudy-primary-color);
|
|
}
|
|
.widget li:last-child, #secondary li:last-child, .widget_archive ul li:last-child, .widget_categories ul li:last-child, .widget_pages ul li:last-child, .widget_meta ul li:last-child, .widget_recent_comments ul li:last-child, .widget_recent_entries ul li:last-child, .widget_nav_menu ul ul.sub-menu li:last-child, .widget_recent_entries ul li:last-child {
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
border-bottom: 0;
|
|
}
|
|
.widget.widget_categories ul li.cat-item .category-count {
|
|
transition: inherit;
|
|
margin-left: 7px;
|
|
color: #333;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
letter-spacing: 0;
|
|
background: #f3f3f8;
|
|
min-width: 26px;
|
|
height: 26px;
|
|
border-radius: 26px;
|
|
line-height: 28px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
transform: translateY(-1px);
|
|
padding: 0 3px !important;
|
|
right: 0;
|
|
top: 7px;
|
|
}
|
|
.widget_archive ul.children, .widget_categories ul.children, .widget_pages ul.children, .widget_meta ul.children, .widget_nav_menu ul ul.sub-menu {
|
|
margin-top: 10px;
|
|
padding-left: 20px !important;
|
|
}
|
|
.widget_archive ul.children li, .widget_categories ul.children li, .widget_pages ul.children li, .widget_meta ul.children li, .widget_nav_menu ul ul.sub-menu li {
|
|
padding-left: 0 !important;
|
|
}
|
|
.widget_archive ul.children li:last-child, .widget_categories ul.children li:last-child, .widget_pages ul.children li:last-child, .widget_meta ul.children li:last-child, .widget_nav_menu ul ul.sub-menu li:last-child {
|
|
border-bottom: 0px !important;
|
|
}
|
|
.widget ul {
|
|
list-style-type: none;
|
|
}
|
|
.widget ul li a, .widget a {
|
|
text-decoration: none;
|
|
-webkit-transition: .3s;
|
|
-o-transition: .3s;
|
|
transition: .3s;
|
|
}
|
|
.widget.widget_rss ul li a.rsswidget {
|
|
font-weight: 600;
|
|
}
|
|
.widget select, .nice-select {
|
|
display: block;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
background-color: #ffffff;
|
|
background-image: none;
|
|
font-family: var(--upstudy-font-primary);
|
|
border: 1px solid #eee;
|
|
border-radius: 3px;
|
|
font-weight: 500;
|
|
font-size: 16px;
|
|
}
|
|
.nice-select span.current {
|
|
color: var(--upstudy-heading-color);
|
|
}
|
|
.nice-select:after {
|
|
border-color: var(--upstudy-heading-color);
|
|
}
|
|
.widget select option {
|
|
padding: 10px 0px;
|
|
}
|
|
.widget #wp-calendar tbody td, .widget #wp-calendar.table>thead>tr>th {
|
|
color: var(--upstudy-heading-color);
|
|
}
|
|
.widget #wp-calendar.table>thead>tr>th {
|
|
font-weight: 600;
|
|
font-family: var(--upstudy-font-secondary);
|
|
}
|
|
.widget_product_search .woocommerce-product-search, .widget_search form.search-form {
|
|
position: relative;
|
|
}
|
|
.widget_product_search .woocommerce-product-search label, .widget_search .search-form label {
|
|
display: block;
|
|
}
|
|
.widget_product_search .woocommerce-product-search button[type=submit], .widget_search .search-submit {
|
|
display: none;
|
|
}
|
|
.widget_product_tag_cloud .tagcloud, .widget_tag_cloud .tagcloud {
|
|
display: inline-block;
|
|
}
|
|
.widget_upstudycore_lp_courses_widget .upstudy-recent-course-each-item, .widget_upstudycore_ld_courses_widget .upstudy-recent-course-each-item, .widget_upstudycore_tl_courses_widget .upstudy-recent-course-each-item, .widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item, .widget_shopping_cart .upstudy-mini-cart-each-item, .widget_products .product_list_widget li, .widget_top_rated_products .product_list_widget li, .widget_lp-widget-featured-courses .course-entry, .widget_lp-widget-recent-courses .course-entry, .widget_lp-widget-popular-courses .course-entry {
|
|
display: flex;
|
|
}
|
|
.widget_upstudycore_lp_courses_widget .upstudy-recent-course-each-item .upstudy-course-widget-thumb, .widget_upstudycore_ld_courses_widget .upstudy-recent-course-each-item .upstudy-course-widget-thumb, .widget_upstudycore_tl_courses_widget .upstudy-recent-course-each-item .upstudy-course-widget-thumb, .widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item .upstudy-post-widget-thumb, .widget_shopping_cart .upstudy-mini-cart-item-thumb, .widget_shopping_cart .upstudy-mini-cart-item-thumb img, .widget_products .product_list_widget li img, .widget_top_rated_products .product_list_widget li img {
|
|
width: 100px;
|
|
}
|
|
.widget_upstudycore_lp_courses_widget .upstudy-recent-course-each-item .upstudy-course-widget-thumb, .widget_upstudycore_ld_courses_widget .upstudy-recent-course-each-item .upstudy-course-widget-thumb, .widget_upstudycore_tl_courses_widget .upstudy-recent-course-each-item .upstudy-course-widget-thumb, .widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item .upstudy-post-widget-thumb, .widget_shopping_cart .upstudy-mini-cart-item-thumb, .widget_products .product_list_widget li img, .widget_top_rated_products .product_list_widget li img {
|
|
padding-right: 0;
|
|
margin-right: 20px;
|
|
}
|
|
.widget_upstudycore_lp_courses_widget .entry-title a, .widget_upstudycore_ld_courses_widget .entry-title a, .widget_upstudycore_tl_courses_widget .entry-title a, .widget_upstudycore_recent_posts_widget .entry-title a, .widget_shopping_cart .upstudy-mini-cart-product-name-quantity a, .widget_products .product_list_widget li .product-title a, .widget_top_rated_products .product_list_widget li .product-title a {
|
|
color: var(--upstudy-heading-color);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
margin-bottom: 0px;
|
|
font-weight: 600;
|
|
font-size: var(--upstudy-h6);
|
|
line-height: var(--upstudy-h6-lineHeight);
|
|
}
|
|
.widget_upstudycore_lp_courses_widget .entry-title a:hover, .widget_upstudycore_ld_courses_widget .entry-title a:hover, .widget_upstudycore_tl_courses_widget .entry-title a:hover, .widget_upstudycore_recent_posts_widget .entry-title a:hover, .widget_shopping_cart .upstudy-mini-cart-product-name-quantity a:hover, .widget_products .product_list_widget li .product-title a:hover, .widget_top_rated_products .product_list_widget li .product-title a:hover {
|
|
color: var(--upstudy-primary-color);
|
|
}
|
|
|
|
.widget_upstudycore_lp_courses_widget .entry-title, .widget_upstudycore_ld_courses_widget .entry-title, .widget_upstudycore_tl_courses_widget .entry-title {
|
|
margin-bottom: 8px;
|
|
}
|
|
.widget_products .product_list_widget li .product-title, .widget_top_rated_products .product_list_widget li .product-title {
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
.widget_products .product_list_widget li ins, .widget_top_rated_products .product_list_widget li ins {
|
|
background: transparent;
|
|
}
|
|
.widget_upstudycore_lp_courses_widget .upstudy-recent-course-each-item .upstudy-recent-course-price, .widget_upstudycore_ld_courses_widget .upstudy-recent-course-each-item .upstudy-recent-course-price, .widget_upstudycore_tl_courses_widget .upstudy-recent-course-each-item .upstudy-recent-course-price, .widget_products .product_list_widget li .woocommerce-Price-amount, .widget_top_rated_products .product_list_widget li .woocommerce-Price-amount {
|
|
font-weight: 600;
|
|
}
|
|
.widget_upstudycore_lp_courses_widget .upstudy-recent-course-each-item .upstudy-recent-course-price .origin-price {
|
|
text-decoration: line-through;
|
|
margin-right: 2px;
|
|
display: none;
|
|
}
|
|
.widget_shopping_cart .upstudy-mini-cart-each-item:first-child {
|
|
padding: 0 0 30px;
|
|
}
|
|
.widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item {
|
|
padding: 0 0 20px;
|
|
margin: 0 0 20px;
|
|
border-bottom: 1px solid var(--upstudy-color-border);
|
|
}
|
|
.widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item .entry-title {
|
|
margin-bottom: 0;
|
|
}
|
|
.widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item:last-child, .widget_lp-widget-featured-courses .course-entry:last-child, .widget_lp-widget-recent-courses .course-entry:last-child, .widget_lp-widget-popular-courses .course-entry:last-child, .widget_shopping_cart .upstudy-mini-cart-each-item:last-child, .widget_products .product_list_widget li:last-child, .widget_top_rated_products .product_list_widget li:last-child {
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
border-bottom-width: 0;
|
|
}
|
|
.widget_shopping_cart p.woocommerce-mini-cart__total.total {
|
|
margin-top: 30px;
|
|
}
|
|
.widget_shopping_cart a.remove_from_cart_button {
|
|
margin-top: -4px;
|
|
}
|
|
.widget_upstudycore_lp_courses_widget .upstudy-recent-course-each-item .upstudy-course-widget-thumb img, .widget_upstudycore_ld_courses_widget .upstudy-recent-course-each-item .upstudy-course-widget-thumb img, .widget_upstudycore_tl_courses_widget .upstudy-recent-course-each-item .upstudy-course-widget-thumb img, .widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item .upstudy-post-widget-thumb img, .widget_shopping_cart .upstudy-mini-cart-item-thumb img, .widget_shopping_cart .upstudy-mini-cart-item-thumb img, .widget_products .product_list_widget li img, .widget_top_rated_products .product_list_widget li img {
|
|
min-width: 82px;
|
|
max-width: 82px;
|
|
width: 82px;
|
|
height: 82px;
|
|
display: flex;
|
|
object-fit: cover;
|
|
border-radius: 5px;
|
|
}
|
|
.widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item .post-meta {
|
|
margin: 0px;
|
|
display: flex;
|
|
}
|
|
.widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item .post-meta-date {
|
|
text-transform: uppercase;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--upstudy-color-meta);
|
|
}
|
|
.widget_lp-widget-featured-courses .course-entry .course-cover, .widget_lp-widget-recent-courses .course-entry .course-cover, .widget_lp-widget-popular-courses .course-entry .course-cover {
|
|
min-width: 87px;
|
|
min-height: 87px;
|
|
display: flex;
|
|
margin-right: 20px;
|
|
}
|
|
.widget_lp-widget-featured-courses .course-entry .course-cover img, .widget_lp-widget-recent-courses .course-entry .course-cover img, .widget_lp-widget-popular-courses .course-entry .course-cover img {
|
|
width: 87px;
|
|
height: 87px;
|
|
display: flex;
|
|
object-fit: cover;
|
|
}
|
|
.widget_lp-widget-featured-courses .course-entry .course-cover a, .widget_lp-widget-recent-courses .course-entry .course-cover a, .widget_lp-widget-popular-courses .course-entry .course-cover a, .widget_products .product_list_widget li a, .widget_top_rated_products .product_list_widget li a {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
}
|
|
.widget_lp-widget-featured-courses .course-entry .course-detail h3.course-title, .widget_lp-widget-recent-courses .course-entry .course-detail h3.course-title, .widget_lp-widget-popular-courses .course-entry .course-detail h3.course-title {
|
|
font-size: 18px;
|
|
line-height: 28px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.widget_lp-widget-featured-courses .widget-footer, .widget_lp-widget-recent-courses .widget-footer, .widget_lp-widget-popular-courses .widget-footer {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.widget_lp-widget-featured-courses .widget-footer a.pull-right, .widget_lp-widget-recent-courses .widget-footer a.pull-right, .widget_lp-widget-popular-courses .widget-footer a.pull-right {
|
|
float: inherit;
|
|
padding: 10px 20px;
|
|
margin-top: 30px;
|
|
color: #ffffff;
|
|
border: 1px solid;
|
|
}
|
|
.widget_lp-widget-featured-courses .widget-footer a.pull-right:hover, .widget_lp-widget-recent-courses .widget-footer a.pull-right:hover, .widget_lp-widget-popular-courses .widget-footer a.pull-right:hover {
|
|
background-color: #ffffff;
|
|
}
|
|
.widget_upstudycore_lp_courses_widget .upstudy-recent-course-each-item:not(:last-child), .widget_upstudycore_ld_courses_widget .upstudy-recent-course-each-item:not(:last-child), .widget_upstudycore_recent_posts_widget .upstudy-recent-post-each-item:not(:last-child) {
|
|
margin-bottom: 20px;
|
|
}
|
|
.widget_upstudycore_ld_courses_widget .upstudy-recent-course-each-item .media-body, .widget_upstudycore_lp_courses_widget .upstudy-recent-course-each-item .media-body {
|
|
margin-top: -6px;
|
|
}
|
|
.woocommerce .upstudy-woo-product-widget-details .star-rating {
|
|
margin: 10px 0;
|
|
}
|
|
.filter-widget .filter-search-widget, .upstudy-search-box .search-form {
|
|
position: relative;
|
|
}
|
|
.filter-widget.widget-search input[type="text"], .widget.widget_product_search input[type="search"], .upstudy-search-box .search-form input {
|
|
border: 0 none;
|
|
background: #ffffff;
|
|
height: 45px;
|
|
width: 100%;
|
|
border-radius: 3px;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
padding: 0 20px 0 45px;
|
|
font-family: var(--upstudy-font-primary);
|
|
border: 1px solid var(--upstudy-color-border);
|
|
}
|
|
.filter-widget.widget-search .filter-search-widget:after, .widget_product_search .woocommerce-product-search:after, .upstudy-search-box .search-form .search-button {
|
|
position: absolute;
|
|
top: 0;
|
|
background-color: transparent;
|
|
border: 0 none;
|
|
height: 100%;
|
|
text-align: center;
|
|
color: var(--upstudy-color-body);
|
|
font-size: 18px;
|
|
border-radius: 0;
|
|
line-height: 45px;
|
|
padding: 0;
|
|
left: 20px;
|
|
}
|
|
.filter-widget.widget-search .filter-search-widget:after, .widget_product_search .woocommerce-product-search:after {
|
|
font-family: icomoon!important;
|
|
content: "\f128";
|
|
font-size: 15px;
|
|
} |