Skip to content

Commit

Permalink
Initial commit of Page Builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregpriday committed Dec 10, 2014
0 parents commit 8e06f41
Show file tree
Hide file tree
Showing 109 changed files with 20,359 additions and 0 deletions.
1,697 changes: 1,697 additions & 0 deletions css/admin.css

Large diffs are not rendered by default.

1,850 changes: 1,850 additions & 0 deletions css/admin.less

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions css/front.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.panel-grid {
zoom: 1;
}
.panel-grid:before {
content: '';
display: block;
}
.panel-grid:after {
content: '';
display: table;
clear: both;
}
.panel-grid-cell {
-ms-box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
min-height: 1em;
}
.panel-grid-cell .panel {
zoom: 1;
}
.panel-grid-cell .panel:before {
content: '';
display: block;
}
.panel-grid-cell .panel:after {
content: '';
display: table;
clear: both;
}
.panel-grid-cell .panel.panel-last-child {
margin-bottom: 0;
}
.panel-grid-cell .widget-title {
margin-top: 0;
}
.panel-row-style {
zoom: 1;
}
.panel-row-style:before {
content: '';
display: block;
}
.panel-row-style:after {
content: '';
display: table;
clear: both;
}
26 changes: 26 additions & 0 deletions css/front.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@import "mixins";

.panel-grid {
zoom: 1;
.clearfix();
}
.panel-grid-cell {
.box-sizing(border-box);
min-height: 1em;

.panel {
.clearfix();
}

.panel.panel-last-child {
margin-bottom: 0;
}

.widget-title {
margin-top: 0;
}
}

.panel-row-style {
.clearfix();
}
5 changes: 5 additions & 0 deletions css/icons/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Icons are a subset of FontAwesome
Font Awesome by Dave Gandy - http://fontawesome.io

License: SIL OFL 1.1
URL: http://scripts.sil.org/OFL
Binary file added css/icons/siteorigin-panels.eot
Binary file not shown.
18 changes: 18 additions & 0 deletions css/icons/siteorigin-panels.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 css/icons/siteorigin-panels.ttf
Binary file not shown.
Binary file added css/icons/siteorigin-panels.woff
Binary file not shown.
Binary file added css/images/cell-selected.png
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 css/images/cell-width.png
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 css/images/dialog-separator.png
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 css/images/[email protected]
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 css/images/dropdown-pointer.png
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 css/images/tooltip-pointer.png
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 css/images/wpspin_light-2x.gif
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 css/images/wpspin_light.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
173 changes: 173 additions & 0 deletions css/mixins.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
background: @color;
background: -webkit-gradient(linear, left bottom, left top, color-stop(0, @start), color-stop(1, @stop));
background: -ms-linear-gradient(bottom,@start,@stop);
background: -moz-linear-gradient(center bottom,@start 0%,@stop 100%);
background: -o-linear-gradient(@stop,@start);
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)", @stop, @start));
}

.bw-gradient(@color: #F5F5F5, @start: 0, @stop: 255) {
background: @color;
background: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(@start,@start,@start)), color-stop(1, rgb(@stop,@stop,@stop)));
background: -ms-linear-gradient(bottom, rgb(@start,@start,@start) 0%, rgb(@stop,@stop,@stop) 100%);
background: -moz-linear-gradient(center bottom, rgb(@start,@start,@start) 0%, rgb(@stop,@stop,@stop) 100%);
background: -o-linear-gradient(rgb(@stop,@stop,@stop), rgb(@start,@start,@start));
background: linear-gradient(rgb(@stop,@stop,@stop), rgb(@start,@start,@start));

filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",rgb(@stop,@stop,@stop), rgb(@start,@start,@start)));
}

.linear-gradient(@color, @gradient) {
background: @color;
background: -moz-linear-gradient(@gradient);
background: -webkit-linear-gradient(@gradient);
background: -o-linear-gradient(@gradient);
background: -ms-linear-gradient(@gradient);
background: linear-gradient(@gradient);
}

.bordered(@top-color: #EEE, @right-color: #EEE, @bottom-color: #EEE, @left-color: #EEE) {
border-top: solid 1px @top-color;
border-left: solid 1px @left-color;
border-right: solid 1px @right-color;
border-bottom: solid 1px @bottom-color;
}

.drop-shadow(@x-axis: 0, @y-axis: 1px, @blur: 2px, @alpha: 0.1) {
-webkit-box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
-moz-box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
}

.box-shadow(@shadow) {
-webkit-box-shadow: @shadow;
-moz-box-shadow: @shadow;
box-shadow: @shadow;
}

.rounded(@radius: 2px) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
}

.border-radius(@topright: 0, @bottomright: 0, @bottomleft: 0, @topleft: 0) {
-webkit-border-top-right-radius: @topright;
-webkit-border-bottom-right-radius: @bottomright;
-webkit-border-bottom-left-radius: @bottomleft;
-webkit-border-top-left-radius: @topleft;
-moz-border-radius-topright: @topright;
-moz-border-radius-bottomright: @bottomright;
-moz-border-radius-bottomleft: @bottomleft;
-moz-border-radius-topleft: @topleft;
border-top-right-radius: @topright;
border-bottom-right-radius: @bottomright;
border-bottom-left-radius: @bottomleft;
border-top-left-radius: @topleft;
.background-clip(padding-box);
}

.opacity(@opacity: 0.5) {
-moz-opacity: @opacity;
-khtml-opacity: @opacity;
-webkit-opacity: @opacity;
opacity: @opacity;
@opperc: @opacity * 100;
-ms-filter: ~"progid:DXImageTransform.Microsoft.Alpha(opacity=@{opperc})";
filter: ~"alpha(opacity=@{opperc})";
}

.transition-duration(@duration: 0.2s) {
-moz-transition-duration: @duration;
-webkit-transition-duration: @duration;
-o-transition-duration: @duration;
transition-duration: @duration;
}

.transform(...) {
-webkit-transform: @arguments;
-moz-transform: @arguments;
-o-transform: @arguments;
-ms-transform: @arguments;
transform: @arguments;
}

.rotation(@deg:5deg) {
.transform(rotate(@deg));
}

.scale(@ratio:1.5) {
.transform(scale(@ratio));
}

.transition(@duration:0.2s, @on: all, @ease:ease) {
-webkit-transition: @on @duration @ease;
-moz-transition: @on @duration @ease;
-o-transition: @on @duration @ease;
transition: @on @duration @ease;
}

.inner-shadow(@horizontal:0, @vertical:1px, @blur:2px, @alpha: 0.4) {
-webkit-box-shadow: inset @horizontal @vertical @blur rgba(0, 0, 0, @alpha);
-moz-box-shadow: inset @horizontal @vertical @blur rgba(0, 0, 0, @alpha);
box-shadow: inset @horizontal @vertical @blur rgba(0, 0, 0, @alpha);
}

.box-sizing(@sizing: border-box) {
-ms-box-sizing: @sizing;
-moz-box-sizing: @sizing;
-webkit-box-sizing: @sizing;
box-sizing: @sizing;
}

.user-select(@argument: none) {
-webkit-user-select: @argument;
-moz-user-select: @argument;
-ms-user-select: @argument;
user-select: @argument;
}

.columns(@colwidth: 250px, @colcount: 0, @colgap: 50px, @columnRuleColor: #EEE, @columnRuleStyle: solid, @columnRuleWidth: 1px) {
-moz-column-width: @colwidth;
-moz-column-count: @colcount;
-moz-column-gap: @colgap;
-moz-column-rule-color: @columnRuleColor;
-moz-column-rule-style: @columnRuleStyle;
-moz-column-rule-width: @columnRuleWidth;
-webkit-column-width: @colwidth;
-webkit-column-count: @colcount;
-webkit-column-gap: @colgap;
-webkit-column-rule-color: @columnRuleColor;
-webkit-column-rule-style: @columnRuleStyle;
-webkit-column-rule-width: @columnRuleWidth;
column-width: @colwidth;
column-count: @colcount;
column-gap: @colgap;
column-rule-color: @columnRuleColor;
column-rule-style: @columnRuleStyle;
column-rule-width: @columnRuleWidth;
}

.translate(@x:0, @y:0) {
.transform(translate(@x, @y));
}

.background-clip(@argument: padding-box) {
-moz-background-clip: @argument;
-webkit-background-clip: @argument;
background-clip: @argument;
}

.clearfix() {
zoom: 1;
&:before {
content: '';
display: block;
}
&:after {
content: '';
display: table;
clear: both;
}
}
Loading

0 comments on commit 8e06f41

Please sign in to comment.