Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Countdown Widget Styles + Fix for images in mobile tables

  • Loading branch information
bcd04001 committed Feb 14, 2017
1 parent 3c8e934 commit 80567dda27b3ebc2774644bd4457b3ad63316ef7
Showing with 314 additions and 2 deletions.
  1. +10 −0 sass/_content.scss
  2. +49 −1 sass/_widgets.scss
  3. +254 −0 style.css
  4. +1 −1 style.scss
@@ -271,3 +271,13 @@ a.btn {
.breadcrumb > li + li::before {
content:"/"
}

/*--------------------------------------------------------------
10.8 Responsive Tables
--------------------------------------------------------------*/

@media (max-width:767px) {
.table-responsive table img {
min-width:100px
}
}
@@ -821,7 +821,55 @@
}
}
}
}

&.widget_count_down_widget {
background-color:#dedede;
padding:15px 18px;
border:1px solid #ccc;
border-radius:6px;

.countdown-top {
position:relative;
min-height:50px;

.countdown-days-wrap {
position:absolute;

.countdown-days {
font-size:35px;
font-weight:700;
}
}
.countdown-daysuntil-wrap {
margin-left:48px;
margin-top:14px;
margin-bottom:10px;

.countdown-daysuntil {
font-size:16px;
}
}

}
.countdown-bottom {
font-size:12px;
color:rgba(0,0,0,0.4)
}

.glyphicon-new-window {
display:none;
}

a {
text-decoration:none !important;
color:black;

&:hover {
color:#388ac3;
}
}
} // END widget_count_down_widget
} // End .widget from line 228
}


254 style.css
@@ -8426,6 +8426,55 @@ button.close {
padding: 1em;
}

.home #content .widget.widget_count_down_widget {
background-color: #dedede;
padding: 15px 18px;
border: 1px solid #ccc;
border-radius: 6px;
}

.home #content .widget.widget_count_down_widget .countdown-top {
position: relative;
min-height: 50px;
}

.home #content .widget.widget_count_down_widget .countdown-top .countdown-days-wrap {
position: absolute;
}

.home #content .widget.widget_count_down_widget .countdown-top .countdown-days-wrap .countdown-days {
font-size: 35px;
font-weight: 700;
}

.home #content .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap {
margin-left: 48px;
margin-top: 14px;
margin-bottom: 10px;
}

.home #content .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap .countdown-daysuntil {
font-size: 16px;
}

.home #content .widget.widget_count_down_widget .countdown-bottom {
font-size: 12px;
color: rgba(0, 0, 0, 0.4);
}

.home #content .widget.widget_count_down_widget .glyphicon-new-window {
display: none;
}

.home #content .widget.widget_count_down_widget a {
text-decoration: none !important;
color: black;
}

.home #content .widget.widget_count_down_widget a:hover {
color: #388ac3;
}

.home #content .panel-grid {
/* Make sure select elements fit in widgets */
}
@@ -8918,6 +8967,55 @@ button.close {
padding: 0;
}

.home #content .panel-grid .widget.widget_count_down_widget {
background-color: #dedede;
padding: 15px 18px;
border: 1px solid #ccc;
border-radius: 6px;
}

.home #content .panel-grid .widget.widget_count_down_widget .countdown-top {
position: relative;
min-height: 50px;
}

.home #content .panel-grid .widget.widget_count_down_widget .countdown-top .countdown-days-wrap {
position: absolute;
}

.home #content .panel-grid .widget.widget_count_down_widget .countdown-top .countdown-days-wrap .countdown-days {
font-size: 35px;
font-weight: 700;
}

.home #content .panel-grid .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap {
margin-left: 48px;
margin-top: 14px;
margin-bottom: 10px;
}

.home #content .panel-grid .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap .countdown-daysuntil {
font-size: 16px;
}

.home #content .panel-grid .widget.widget_count_down_widget .countdown-bottom {
font-size: 12px;
color: rgba(0, 0, 0, 0.4);
}

.home #content .panel-grid .widget.widget_count_down_widget .glyphicon-new-window {
display: none;
}

.home #content .panel-grid .widget.widget_count_down_widget a {
text-decoration: none !important;
color: black;
}

.home #content .panel-grid .widget.widget_count_down_widget a:hover {
color: #388ac3;
}

#page-sidebar {
/* Make sure select elements fit in widgets */
}
@@ -9405,6 +9503,55 @@ button.close {
padding: 1em;
}

#page-sidebar .widget.widget_count_down_widget {
background-color: #dedede;
padding: 15px 18px;
border: 1px solid #ccc;
border-radius: 6px;
}

#page-sidebar .widget.widget_count_down_widget .countdown-top {
position: relative;
min-height: 50px;
}

#page-sidebar .widget.widget_count_down_widget .countdown-top .countdown-days-wrap {
position: absolute;
}

#page-sidebar .widget.widget_count_down_widget .countdown-top .countdown-days-wrap .countdown-days {
font-size: 35px;
font-weight: 700;
}

#page-sidebar .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap {
margin-left: 48px;
margin-top: 14px;
margin-bottom: 10px;
}

#page-sidebar .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap .countdown-daysuntil {
font-size: 16px;
}

#page-sidebar .widget.widget_count_down_widget .countdown-bottom {
font-size: 12px;
color: rgba(0, 0, 0, 0.4);
}

#page-sidebar .widget.widget_count_down_widget .glyphicon-new-window {
display: none;
}

#page-sidebar .widget.widget_count_down_widget a {
text-decoration: none !important;
color: black;
}

#page-sidebar .widget.widget_count_down_widget a:hover {
color: #388ac3;
}

.subpage {
/* Make sure select elements fit in widgets */
}
@@ -9897,6 +10044,55 @@ button.close {
padding: 0;
}

.subpage .widget.widget_count_down_widget {
background-color: #dedede;
padding: 15px 18px;
border: 1px solid #ccc;
border-radius: 6px;
}

.subpage .widget.widget_count_down_widget .countdown-top {
position: relative;
min-height: 50px;
}

.subpage .widget.widget_count_down_widget .countdown-top .countdown-days-wrap {
position: absolute;
}

.subpage .widget.widget_count_down_widget .countdown-top .countdown-days-wrap .countdown-days {
font-size: 35px;
font-weight: 700;
}

.subpage .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap {
margin-left: 48px;
margin-top: 14px;
margin-bottom: 10px;
}

.subpage .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap .countdown-daysuntil {
font-size: 16px;
}

.subpage .widget.widget_count_down_widget .countdown-bottom {
font-size: 12px;
color: rgba(0, 0, 0, 0.4);
}

.subpage .widget.widget_count_down_widget .glyphicon-new-window {
display: none;
}

.subpage .widget.widget_count_down_widget a {
text-decoration: none !important;
color: black;
}

.subpage .widget.widget_count_down_widget a:hover {
color: #388ac3;
}

img {
height: auto;
max-width: 100%;
@@ -10451,6 +10647,15 @@ a.btn {
content: "/";
}

/*--------------------------------------------------------------
10.8 Responsive Tables
--------------------------------------------------------------*/
@media (max-width: 767px) {
.table-responsive table img {
min-width: 100px;
}
}

/* - - - - - - - - - - - - - - - - - - -
== Captions
- - - - - - - - - - - - - - - - - - - */
@@ -11465,6 +11670,55 @@ body.sticky .ie8 #footers {
padding: 1em;
}

#mega-footer .widget.widget_count_down_widget {
background-color: #dedede;
padding: 15px 18px;
border: 1px solid #ccc;
border-radius: 6px;
}

#mega-footer .widget.widget_count_down_widget .countdown-top {
position: relative;
min-height: 50px;
}

#mega-footer .widget.widget_count_down_widget .countdown-top .countdown-days-wrap {
position: absolute;
}

#mega-footer .widget.widget_count_down_widget .countdown-top .countdown-days-wrap .countdown-days {
font-size: 35px;
font-weight: 700;
}

#mega-footer .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap {
margin-left: 48px;
margin-top: 14px;
margin-bottom: 10px;
}

#mega-footer .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap .countdown-daysuntil {
font-size: 16px;
}

#mega-footer .widget.widget_count_down_widget .countdown-bottom {
font-size: 12px;
color: rgba(0, 0, 0, 0.4);
}

#mega-footer .widget.widget_count_down_widget .glyphicon-new-window {
display: none;
}

#mega-footer .widget.widget_count_down_widget a {
text-decoration: none !important;
color: black;
}

#mega-footer .widget.widget_count_down_widget a:hover {
color: #388ac3;
}

#footer {
padding: 1.5em 0;
color: #337ab7;
@@ -29,4 +29,4 @@ $icon-font-path: "../../global/bootstrap-3.3.4/fonts/bootstrap/" !default;
@import "sass/_cal.scss";
@import "sass/_in-page-menus.scss";
@import "sass/_footer.scss";
@import "sass/_page-builder.scss";
@import "sass/_page-builder.scss";

0 comments on commit 80567dd

Please sign in to comment.
You can’t perform that action at this time.