Skip to content

Commit

Permalink
finalizada adição da seção galeria e atualizados alguns arquivos e fu…
Browse files Browse the repository at this point in the history
…ncionalidades do projeto original
  • Loading branch information
diegorojas committed Mar 25, 2017
1 parent 19fd3f9 commit a40b0e2
Show file tree
Hide file tree
Showing 26 changed files with 4,536 additions and 3,313 deletions.
134 changes: 34 additions & 100 deletions assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,117 +132,51 @@
color: #d54e21;
}

/* =Gallery styles.
-------------------------------------------------------------- */

.odin-gallery-images .image,
.odin-gallery-images .add,
.odin-gallery-images .wc-metabox-sortable-placeholder {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: none repeat scroll 0 0 #F7F7F7;
border: 1px solid #D5D5D5;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
cursor: move;
float: left;
height: 150px;
margin: 9px 9px 0 0;
overflow: hidden;
position: relative;
width: 150px;
}

.odin-gallery-images img {
height: 150px;
width: 150px;
}

.odin-gallery-images .wc-metabox-sortable-placeholder {
border: 4px dashed #ddd;
}

.odin-form-table .description {
display: block;
.theme_info_boxed {
background: #FFFFFF;
text-align: center;
padding: 20px 30px 20px 30px;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}


/* =Image upload
-------------------------------------------------------------- */

.odin-upload-image {
.demo-import-boxed {
background: #fff none repeat scroll 0 0;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
font-size: 14px;
line-height: 2.1em;
margin-bottom: 25px;
max-width: 1050px;
overflow: auto;
padding: 0 12px;
position: relative;
width: 150px;
border-left: 4px solid #0085ba;
}

.odin-upload-image .preview {
display: block;
float: none;
margin-bottom: 5px;
/* Recommend plugins */
.recommend-plugins > h3 {
margin-bottom: 20px;
}

.odin-upload-image .default-image {
display: none;
}

/* =Image and Plupload common
-------------------------------------------------------------- */

.odin-gallery-images .image .actions,
.odin-upload-image .actions {
display: none;
padding: 2px;
position: absolute;
margin: 0;
right: 0;
top: 0;
}

.odin-gallery-images .image:hover > .actions,
.odin-upload-image:hover > .actions {
.rcp::after {
clear: both;
content: "";
display: block;
}

.odin-gallery-images .image .actions li,
.odin-upload-image .actions li {
background: #eee;
border: 1px solid #ddd;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
float: right;
margin: 0 0 0 2px;
padding: 1px;
text-align: center;
.rcp {
border-top: 1px solid rgba(0, 0, 0, 0.1);
margin-left: -25px;
margin-right: -25px;
padding: 20px 25px 10px;
}

.odin-gallery-images .image .actions li:hover,
.odin-upload-image .actions li:hover {
background: #ddd;
.rcp h4 {
margin: 0px;
}

.odin-gallery-images .image .actions li a,
.odin-upload-image .actions li a {
.rcp a {
text-decoration: none;
}

.odin-gallery-images .image .actions li a:hover,
.odin-upload-image .actions li a:hover {
text-decoration: none;
.rcp .action-btn {
display: inline-block;
}

.odin-gallery-images .image .actions .delete,
.odin-upload-image .actions .delete {
color: #d00;
.rcp .plugin-detail {
margin-left: 10px;
margin-right: 10px;
}

/* =Separator
-------------------------------------------------------------- */

.odin-metabox-separator {
border-bottom: 1px solid #fff;
border-top: 1px solid #dfdfdf;
display: block;
}
27 changes: 22 additions & 5 deletions assets/css/customizer.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
li[id*="accordion-panel-onepress"] > .accordion-section-title{
padding-left: 30px;
}
li#accordion-panel-onepress_options > .accordion-section-title,
li#accordion-panel-onepress_typo > .accordion-section-title
{
padding-left: 14px;
}

.theme-action-count {
padding: 0 6px;
display: inline-block;
Expand Down Expand Up @@ -84,13 +93,16 @@
.repeatable-customize-control.show-display-field-only .widget-content .item{
display: none;
}

/*
.section-videolightbox .item-bg_video,
.section-videolightbox .item-bg_video,
.section-videolightbox .item-bg_video_webm,
.section-videolightbox .item-enable_parallax,
.section-videolightbox .item-bg_video_ogv{
.section-videolightbox .item-bg_video_ogv {
display: none;
}
*/

.repeatable-customize-control.show-display-field-only .widget-content .item.item-show_section{
display: block;
Expand All @@ -115,9 +127,10 @@ body .wp-full-overlay{
z-index: 9999;
}

.wp-js-editor-active textarea{
.wp-js-editor-active textarea, .onepress-editor-added textarea{
display: none;
}

.wp-js-editor-preview {
background-color: #fff;
border: 1px solid #ddd;
Expand Down Expand Up @@ -229,7 +242,7 @@ body .wp-full-overlay{
max-width: 257px;
}

.customize-control-alpha-color .wp-picker-open .wp-picker-input-wrap {
.customize-control-alpha-color .wp-picker-open + .wp-picker-input-wrap {
width: 100%;
}

Expand Down Expand Up @@ -345,6 +358,7 @@ body .wp-full-overlay{
}
}


/* Customizer ICON Picker */
.icon-wrapper {
border: 1px solid #cccccc;
Expand Down Expand Up @@ -473,5 +487,8 @@ body .wp-full-overlay{
-webkit-transform: translateY(0); /* Safari */
transform: translateY(0);

}
}
}

}


4 changes: 2 additions & 2 deletions assets/css/font-awesome.css
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@
content: "\f23e";
}
.fa-battery-4:before,
.fa-battery:before,,
.fa-battery:before,
.fa-battery-full:before {
content: "\f240";
}
Expand Down Expand Up @@ -2334,4 +2334,4 @@
margin: 0;
overflow: visible;
clip: auto;
}
}
Binary file added assets/fonts/lg.eot
Binary file not shown.
42 changes: 42 additions & 0 deletions assets/fonts/lg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/lg.ttf
Binary file not shown.
Binary file added assets/fonts/lg.woff
Binary file not shown.
Binary file added assets/images/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a40b0e2

Please sign in to comment.