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

Commit

Permalink
Browse files Browse the repository at this point in the history
Countdown Widget Styles + Fix for images in mobile tables
  • Loading branch information
bcd04001 committed Feb 14, 2017
1 parent 3c8e934 commit 80567dd
Show file tree
Hide file tree
Showing 4 changed files with 314 additions and 2 deletions.
10 changes: 10 additions & 0 deletions sass/_content.scss
Expand Up @@ -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
}
}
50 changes: 49 additions & 1 deletion sass/_widgets.scss
Expand Up @@ -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
}


Expand Down
254 changes: 254 additions & 0 deletions style.css
Expand Up @@ -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 */
}
Expand Down Expand Up @@ -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 */
}
Expand Down Expand Up @@ -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 */
}
Expand Down Expand Up @@ -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%;
Expand Down Expand Up @@ -10451,6 +10647,15 @@ a.btn {
content: "/";
}

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

/* - - - - - - - - - - - - - - - - - - -
== Captions
- - - - - - - - - - - - - - - - - - - */
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion style.scss
Expand Up @@ -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.