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

Commit

Permalink
Fixing Flex Posts Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Feb 4, 2015
1 parent 919d636 commit 2ab8a30
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 170 deletions.
93 changes: 0 additions & 93 deletions css/cal.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,99 +37,6 @@
display: none;
}

#events-table {
/*
ul.btn-multi{
margin-bottom:.5em;
li{
ul{
padding: 0px 0px 0px 12px;
li{
&.month-arrow{
a.icon{
span.glyphicons{
padding: 0px 0px 0px 5px;
&:before{
color:#fff;
font-size: 14px;
display:block;
position: relative;
}
}
}
}
}
}
a.btn-toggle{
margin-left:10px;
font-size:14px;
color:#777;
text-align: center;
}
}
}
}
*/
/*
#events-grid.table {
tbody{
tr{
th{
width:14%;
text-align:right;
span{
font-weight:normal;
color:#777;
font-size:12px !important;
}
}
td{
border-left: 1px solid #eee;
border-right: 1px solid #eee;
border-bottom: 1px solid #eee;
background: #fff;
text-align:left;
height: 90px;
padding:1px;
ol.event-list{
li{
span.event-time{
font-size:11px !important;
padding: 0px 0px 0px 2px !important;
}
ol{
padding: 0px 2px 0px 2px !important;
li{
background: rgba(15,25,56, 0.1);
border:1px solid rgba(15,25,56, 0.2) !important;
padding: 0px 3px 0px 3px !important;
margin-bottom: 2px !important;
a.event-link{
strong{
font-weight:normal;
font-size:12px !important;
}
}
}
}
}
}
}
}
}
}
*/
}
#events-table #events-toolbar {
margin-bottom: 1em;
}
Expand Down
73 changes: 48 additions & 25 deletions sass/widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@

}
&.widget_dpe_fp_widget{
padding:0;
background-color:transparent;

.dpe-flexible-posts{
li{
padding: 0.1em 0px 0.1em 0px;
Expand All @@ -241,33 +240,18 @@
a{
margin:0;
position:relative;
display:inline-block;
.attachment-thumbnail{
height: 60px;
width: 60px;
margin-right:10px;
margin-bottom:10px;
float:left;
}
.attachment-medium{
width:48%;
margin-right:10px;
margin-bottom:10px;
float:left;
}
.attachment-large{
max-width:100%;
margin-right:10px;
margin-bottom:10px;
float:left;
clear:right;
}
display:inline;



.title{
display:block;
display:inline;
position:relative;
font-size: 1em;
font-weight: normal;
font-weight: normal;
clear:left;
}

&:after{
visibility: hidden;
display: block;
Expand All @@ -278,6 +262,45 @@
}
}
}
li.has-post-thumbnail {
a {
display:block;

img {
display:block;
margin-bottom:10px;

&.attachment-thumbnail{
height: 60px;
width: 60px;
margin-right:10px;
float:left;
}
&.attachment-medium{
width:48%;
margin-right:2%;
float:left;
}
&.attachment-large{
width:100%;
}
}

.attachment-thumbnail+.title,
.attachment-medium+.title{
display:block;
float:left;
clear:none;
}
.attachment-medium+.title{
width:50%;
}

&:hover .title {
text-decoration:underline;
}
}
}
}
}

Expand Down
124 changes: 72 additions & 52 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ab8a30

Please sign in to comment.