gulp watch for sass partials
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
node_modules/
|
474
css/layoutit.css
474
css/layoutit.css
@@ -1,213 +1,331 @@
|
|||||||
|
/* compiler is working */
|
||||||
body {
|
body {
|
||||||
padding-top:50px;
|
padding-top: 50px;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
margin-left:200px;
|
margin-left: 200px;
|
||||||
-webkit-transition: margin 500ms ease;
|
-webkit-transition: margin 500ms ease;
|
||||||
-moz-transition: margin 500ms ease;
|
-moz-transition: margin 500ms ease;
|
||||||
-ms-transition: margin 500ms ease;
|
-ms-transition: margin 500ms ease;
|
||||||
-o-transition: margin 500ms ease;
|
-o-transition: margin 500ms ease;
|
||||||
transition: margin 500ms ease;
|
transition: margin 500ms ease; }
|
||||||
}
|
|
||||||
@media (max-width: 980px) {
|
@media (max-width: 980px) {
|
||||||
/* Enable use of floated navbar text */
|
/* Enable use of floated navbar text */
|
||||||
.navbar-text.pull-right {
|
.navbar-text.pull-right {
|
||||||
float: none;
|
float: none;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 5px;
|
padding-right: 5px; } }
|
||||||
}
|
|
||||||
}
|
|
||||||
@media (max-width: 979px) {
|
@media (max-width: 979px) {
|
||||||
.navbar-fixed-top { position:fixed; }
|
.navbar-fixed-top {
|
||||||
}
|
position: fixed; } }
|
||||||
.navbar-inverse .brand {width:180px; color:#fff; }
|
|
||||||
.brand img {float:left; margin:2px 10px 0 0; }
|
.navbar-inverse .brand {
|
||||||
|
width: 180px;
|
||||||
|
color: #fff; }
|
||||||
|
|
||||||
|
.brand img {
|
||||||
|
float: left;
|
||||||
|
margin: 2px 10px 0 0; }
|
||||||
|
|
||||||
.brand .label {
|
.brand .label {
|
||||||
position:relative;
|
position: relative;
|
||||||
left:10px;
|
left: 10px;
|
||||||
top:-3px;
|
top: -3px;
|
||||||
font-weight:normal;
|
font-weight: normal;
|
||||||
font-size:9px;
|
font-size: 9px;
|
||||||
background:#666;
|
background: #666;
|
||||||
-webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
|
-webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
|
||||||
-moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
|
-moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
|
||||||
box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
|
box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7); }
|
||||||
}
|
|
||||||
|
.edit .demo {
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-top: 10px;
|
||||||
|
padding: 30px 15px 15px;
|
||||||
|
border: 1px solid #DDDDDD;
|
||||||
|
border-radius: 4px;
|
||||||
|
position: relative;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
.edit .demo { margin-left:0px; margin-top:10px; padding:30px 15px 15px; border: 1px solid #DDDDDD; border-radius: 4px; position:relative; word-wrap: break-word;}
|
|
||||||
.edit .demo:after {
|
.edit .demo:after {
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
border: 1px solid #DDDDDD;
|
border: 1px solid #DDDDDD;
|
||||||
border-radius: 4px 0 4px 0;
|
border-radius: 4px 0 4px 0;
|
||||||
color: #9DA0A4;
|
color: #9DA0A4;
|
||||||
content: "Container";
|
content: "Container";
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
left: -1px;
|
left: -1px;
|
||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -1px;
|
top: -1px; }
|
||||||
}
|
|
||||||
.sidebar-nav {
|
.sidebar-nav {
|
||||||
position:fixed;
|
position: fixed;
|
||||||
width:200px;
|
width: 200px;
|
||||||
left:0px;
|
left: 0px;
|
||||||
bottom:0;
|
bottom: 0;
|
||||||
top:44px;
|
top: 44px;
|
||||||
background:#ccc;
|
background: #ccc;
|
||||||
padding: 9px 0; z-index:10;
|
padding: 9px 0;
|
||||||
-webkit-transition: all 500ms ease;
|
z-index: 10;
|
||||||
-moz-transition: all 500ms ease;
|
-webkit-transition: all 500ms ease;
|
||||||
-ms-transition: all 500ms ease;
|
-moz-transition: all 500ms ease;
|
||||||
-o-transition: all 500ms ease;
|
-ms-transition: all 500ms ease;
|
||||||
transition: all 500ms ease;
|
-o-transition: all 500ms ease;
|
||||||
}
|
transition: all 500ms ease; }
|
||||||
.sidebar-nav .nav-header { cursor:pointer; font-size:14px; color:#fff; text-shadow:0 1px 0 rgba(0, 0, 0, 0.3);}
|
|
||||||
.sidebar-nav .nav-header span.label { font-size:10px; /*padding-bottom:0;*/ position:relative; top:-1px;}
|
|
||||||
.sidebar-nav .nav-header i.icon-plus {}
|
|
||||||
.sidebar-nav .nav-header .popover {color:#999; text-shadow:none;}
|
|
||||||
|
|
||||||
.popover-info {position:relative;}
|
.sidebar-nav .nav-header {
|
||||||
.popover-info .popover {display:none; top: -12.5px; left:15px; }
|
cursor: pointer;
|
||||||
.popover-info:hover .popover {display:block; opacity:1; width:400px;}
|
font-size: 14px;
|
||||||
.popover-info:hover .popover .arrow {top:23px;}
|
color: #fff;
|
||||||
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.sidebar-nav .nav-header span.label {
|
||||||
|
font-size: 10px;
|
||||||
|
/*padding-bottom:0;*/
|
||||||
|
position: relative;
|
||||||
|
top: -1px; }
|
||||||
|
|
||||||
|
.sidebar-nav .nav-header .popover {
|
||||||
|
color: #999;
|
||||||
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.popover-info {
|
||||||
|
position: relative; }
|
||||||
|
|
||||||
|
.popover-info .popover {
|
||||||
|
display: none;
|
||||||
|
top: -12.5px;
|
||||||
|
left: 15px; }
|
||||||
|
|
||||||
|
.popover-info:hover .popover {
|
||||||
|
display: block;
|
||||||
|
opacity: 1;
|
||||||
|
width: 400px; }
|
||||||
|
|
||||||
|
.popover-info:hover .popover .arrow {
|
||||||
|
top: 23px; }
|
||||||
|
|
||||||
|
.sidebar-nav .accordion-group {
|
||||||
|
border: none; }
|
||||||
|
|
||||||
|
.sidebar-nav li {
|
||||||
|
line-height: 25px; }
|
||||||
|
|
||||||
|
.sidebar-nav .box {
|
||||||
|
line-height: 25px;
|
||||||
|
width: 170px;
|
||||||
|
height: 25px; }
|
||||||
|
|
||||||
|
.sidebar-nav .preview {
|
||||||
|
display: block;
|
||||||
|
color: #666;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 22px; }
|
||||||
|
|
||||||
|
.sidebar-nav .preview input {
|
||||||
|
width: 90px;
|
||||||
|
padding: 0 10px;
|
||||||
|
background: #bbb;
|
||||||
|
font-size: 10px;
|
||||||
|
color: #999;
|
||||||
|
line-height: 20px;
|
||||||
|
height: 20px;
|
||||||
|
position: relative;
|
||||||
|
top: -1px; }
|
||||||
|
|
||||||
|
.sidebar-nav .view {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
.sidebar-nav .accordion-group { border:none; }
|
|
||||||
.boxes {}
|
|
||||||
.sidebar-nav li { line-height:25px; }
|
|
||||||
.sidebar-nav .box { line-height:25px; width:170px; height:25px; }
|
|
||||||
.sidebar-nav .preview { display: block; color:#666; font-size:12px; line-height:22px;}
|
|
||||||
.sidebar-nav .preview input { width:90px; padding:0 10px; background:#bbb; font-size:10px; color:#999; line-height:20px; height:20px; position:relative; top:-1px; }
|
|
||||||
.sidebar-nav .view { display: none; }
|
|
||||||
.sidebar-nav .remove,
|
.sidebar-nav .remove,
|
||||||
.sidebar-nav .configuration { display: none; }
|
.sidebar-nav .configuration {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
.sidebar-nav .boxes { display:none;}
|
.sidebar-nav .boxes {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
.demo .preview { display: none; }
|
.demo .preview {
|
||||||
.demo .box .view { display: block; padding-top:30px;}
|
display: none; }
|
||||||
|
|
||||||
|
.demo .box .view {
|
||||||
|
display: block;
|
||||||
|
padding-top: 30px; }
|
||||||
|
|
||||||
|
.ui-draggable-dragging .view {
|
||||||
|
display: block; }
|
||||||
|
|
||||||
.ui-draggable-dragging .view { display:block;}
|
|
||||||
/*.demo .ui-sortable-placeholder { outline: 5px dotted #ddd; visibility: visible; border-radius: 4px; }*/
|
/*.demo .ui-sortable-placeholder { outline: 5px dotted #ddd; visibility: visible; border-radius: 4px; }*/
|
||||||
.ui-sortable-placeholder { outline: 1px dashed #ddd;visibility: visible; border-radius: 4px;}
|
.ui-sortable-placeholder {
|
||||||
.edit .drag { position: absolute; top: 0;right: 0; cursor: pointer; }
|
outline: 1px dashed #ddd;
|
||||||
|
visibility: visible;
|
||||||
|
border-radius: 4px; }
|
||||||
|
|
||||||
.box,.lyrow { position:relative;}
|
.edit .drag {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
cursor: pointer; }
|
||||||
|
|
||||||
|
.box, .lyrow {
|
||||||
|
position: relative; }
|
||||||
|
|
||||||
|
.edit .demo .lyrow .drag {
|
||||||
|
top: 5px;
|
||||||
|
right: 80px;
|
||||||
|
z-index: 10; }
|
||||||
|
|
||||||
|
.edit .demo .column .box .drag {
|
||||||
|
top: 5px; }
|
||||||
|
|
||||||
|
.edit .demo .column .box .configuration {
|
||||||
|
position: absolute;
|
||||||
|
top: 3px;
|
||||||
|
right: 140px;
|
||||||
|
white-space: nowrap; }
|
||||||
|
|
||||||
|
.edit .demo .remove {
|
||||||
|
position: absolute;
|
||||||
|
top: 5px;
|
||||||
|
right: 5px;
|
||||||
|
z-index: 10; }
|
||||||
|
|
||||||
.edit .demo .lyrow .drag { top:5px; right:80px; z-index:10; }
|
|
||||||
.edit .demo .column .box .drag { top:5px; }
|
|
||||||
.edit .demo .column .box .configuration {position: absolute; top: 3px; right: 140px;white-space:nowrap; }
|
|
||||||
.edit .demo .remove { position: absolute; top: 5px; right: 5px; z-index:10; }
|
|
||||||
.demo .configuration {
|
.demo .configuration {
|
||||||
filter: alpha(opacity=0);
|
filter: alpha(opacity=0);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
-webkit-transition: all 500ms ease;
|
-webkit-transition: all 500ms ease;
|
||||||
-moz-transition: all 500ms ease;
|
-moz-transition: all 500ms ease;
|
||||||
-ms-transition: all 500ms ease;
|
-ms-transition: all 500ms ease;
|
||||||
-o-transition: all 500ms ease;
|
-o-transition: all 500ms ease;
|
||||||
transition: all 500ms ease;
|
transition: all 500ms ease; }
|
||||||
}
|
|
||||||
.demo .drag, .demo .remove {
|
.demo .drag, .demo .remove {
|
||||||
filter: alpha(opacity=20); opacity: 0.2;
|
filter: alpha(opacity=20);
|
||||||
-webkit-transition: all 500ms ease;
|
opacity: 0.2;
|
||||||
-moz-transition: all 500ms ease;
|
-webkit-transition: all 500ms ease;
|
||||||
-ms-transition: all 500ms ease;
|
-moz-transition: all 500ms ease;
|
||||||
-o-transition: all 500ms ease;
|
-ms-transition: all 500ms ease;
|
||||||
transition: all 500ms ease;
|
-o-transition: all 500ms ease;
|
||||||
}
|
transition: all 500ms ease; }
|
||||||
|
|
||||||
.demo .lyrow:hover > .drag,
|
.demo .lyrow:hover > .drag,
|
||||||
.demo .lyrow:hover > .configuration,
|
.demo .lyrow:hover > .configuration,
|
||||||
.demo .lyrow:hover > .remove,
|
.demo .lyrow:hover > .remove,
|
||||||
.demo .box:hover .drag,
|
.demo .box:hover .drag,
|
||||||
.demo .box:hover .configuration,
|
.demo .box:hover .configuration,
|
||||||
.demo .box:hover .remove { filter: alpha(opacity=100); opacity: 1; }
|
.demo .box:hover .remove {
|
||||||
|
filter: alpha(opacity=100);
|
||||||
|
opacity: 1; }
|
||||||
|
|
||||||
.edit .demo .row-fluid:before {
|
.edit .demo .row-fluid:before {
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
border: 1px solid #DDDDDD;
|
border: 1px solid #DDDDDD;
|
||||||
border-radius: 4px 0 4px 0;
|
border-radius: 4px 0 4px 0;
|
||||||
color: #9DA0A4;
|
color: #9DA0A4;
|
||||||
content: "Row";
|
content: "Row";
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
left: -1px;
|
left: -1px;
|
||||||
line-height:2;
|
line-height: 2;
|
||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -1px;
|
top: -1px; }
|
||||||
}
|
|
||||||
.demo .row-fluid {
|
.demo .row-fluid {
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
-webkit-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
|
-webkit-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
|
||||||
-moz-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
|
-moz-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
|
||||||
box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
|
box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
|
||||||
border: 1px solid #DDDDDD;
|
border: 1px solid #DDDDDD;
|
||||||
border-radius: 4px 4px 4px 4px;
|
border-radius: 4px 4px 4px 4px;
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 25px 14px 0;
|
padding: 25px 14px 0; }
|
||||||
}
|
|
||||||
.edit .column:after {
|
.edit .column:after {
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
border: 1px solid #DDDDDD;
|
border: 1px solid #DDDDDD;
|
||||||
border-radius: 4px 0 4px 0;
|
border-radius: 4px 0 4px 0;
|
||||||
color: #9DA0A4;
|
color: #9DA0A4;
|
||||||
content: "Column";
|
content: "Column";
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
left: -1px;
|
left: -1px;
|
||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -1px;
|
top: -1px; }
|
||||||
}
|
|
||||||
.column {
|
.column {
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
border: 1px solid #DDDDDD;
|
border: 1px solid #DDDDDD;
|
||||||
border-radius: 4px 4px 4px 4px;
|
border-radius: 4px 4px 4px 4px;
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
padding: 39px 19px 24px;
|
padding: 39px 19px 24px;
|
||||||
position: relative;
|
position: relative; }
|
||||||
}
|
|
||||||
|
|
||||||
/* preview */
|
/* preview */
|
||||||
body.devpreview { margin-left:0px;}
|
body.devpreview {
|
||||||
|
margin-left: 0px; }
|
||||||
|
|
||||||
.devpreview .sidebar-nav {
|
.devpreview .sidebar-nav {
|
||||||
left:-200px;
|
left: -200px;
|
||||||
-webkit-transition: all 0ms ease;
|
-webkit-transition: all 0ms ease;
|
||||||
-moz-transition: all 0ms ease;
|
-moz-transition: all 0ms ease;
|
||||||
-ms-transition: all 0ms ease;
|
-ms-transition: all 0ms ease;
|
||||||
-o-transition: all 0ms ease;
|
-o-transition: all 0ms ease;
|
||||||
transition: all 0ms ease;
|
transition: all 0ms ease; }
|
||||||
}
|
|
||||||
.devpreview .drag, .devpreview .configuration, .devpreview .remove { display:none ; }
|
.devpreview .drag, .devpreview .configuration, .devpreview .remove {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
.sourcepreview .column, .sourcepreview .row-fluid, .sourcepreview .demo .box {
|
.sourcepreview .column, .sourcepreview .row-fluid, .sourcepreview .demo .box {
|
||||||
margin:0px 0;
|
margin: 0px 0;
|
||||||
padding:0px;
|
padding: 0px;
|
||||||
background:none;
|
background: none;
|
||||||
border:none;
|
border: none;
|
||||||
-webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.00);
|
-webkit-box-shadow: inset 0 0px 0px transparent;
|
||||||
-moz-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.00);
|
-moz-box-shadow: inset 0 0px 0px transparent;
|
||||||
box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.00);
|
box-shadow: inset 0 0px 0px transparent; }
|
||||||
}
|
|
||||||
.devpreview .demo .box, .devpreview .demo .row-fluid { padding-top:0; background:none; }
|
.devpreview .demo .box, .devpreview .demo .row-fluid {
|
||||||
.devpreview .demo .column { padding-top:19px; padding-bottom:19px; }
|
padding-top: 0;
|
||||||
#download-layout { display: none }
|
background: none; }
|
||||||
|
|
||||||
|
.devpreview .demo .column {
|
||||||
|
padding-top: 19px;
|
||||||
|
padding-bottom: 19px; }
|
||||||
|
|
||||||
|
#download-layout {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
#editorModal textarea,
|
#editorModal textarea,
|
||||||
#downloadModal textarea { width:100%;height:280px;resize: none;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box; }
|
#downloadModal textarea {
|
||||||
#editorModal {width:640px;}
|
width: 100%;
|
||||||
a.language-selected { font-style: italic; font-weight: bold; }
|
height: 280px;
|
||||||
|
resize: none;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
|
||||||
|
#editorModal {
|
||||||
|
width: 640px; }
|
||||||
|
|
||||||
|
a.language-selected {
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
.toolbox-reset {
|
.toolbox-reset {
|
||||||
background: inherit;
|
background: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
display: inherit;
|
display: inherit;
|
||||||
/*font-family: inherit;*/
|
/*font-family: inherit;*/
|
||||||
/*font-size: inherit;*/
|
/*font-size: inherit;*/
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
margin: inherit;
|
margin: inherit;
|
||||||
padding: inherit;
|
padding: inherit;
|
||||||
-webkit-text-size-adjust: inherit;
|
-webkit-text-size-adjust: inherit;
|
||||||
-ms-text-size-adjust: inherit;
|
-ms-text-size-adjust: inherit; }
|
||||||
}
|
|
||||||
|
14
gulpfile.js
Normal file
14
gulpfile.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
|
var gulp = require('gulp');
|
||||||
|
var sass = require('gulp-sass');
|
||||||
|
|
||||||
|
gulp.task('sass', function () {
|
||||||
|
gulp.src('scss/*.scss')
|
||||||
|
.pipe(sass().on('error', sass.logError))
|
||||||
|
.pipe(gulp.dest('css'));
|
||||||
|
});
|
||||||
|
|
||||||
|
gulp.task('sass:watch', function () {
|
||||||
|
gulp.watch('scss/*.scss', ['sass']);
|
||||||
|
});
|
13
package.json
Normal file
13
package.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"name": "Devex_FE_assets",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"gulp": "~3.9.0",
|
||||||
|
"gulp-sass": "^2.0.0",
|
||||||
|
"gulp-sourcemaps": "^1.5.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.12.0"
|
||||||
|
}
|
||||||
|
}
|
214
scss/layoutit.scss
Normal file
214
scss/layoutit.scss
Normal file
@@ -0,0 +1,214 @@
|
|||||||
|
/* compiler is working */
|
||||||
|
body {
|
||||||
|
padding-top:50px;
|
||||||
|
padding-bottom: 40px;
|
||||||
|
margin-left:200px;
|
||||||
|
-webkit-transition: margin 500ms ease;
|
||||||
|
-moz-transition: margin 500ms ease;
|
||||||
|
-ms-transition: margin 500ms ease;
|
||||||
|
-o-transition: margin 500ms ease;
|
||||||
|
transition: margin 500ms ease;
|
||||||
|
}
|
||||||
|
@media (max-width: 980px) {
|
||||||
|
/* Enable use of floated navbar text */
|
||||||
|
.navbar-text.pull-right {
|
||||||
|
float: none;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 979px) {
|
||||||
|
.navbar-fixed-top { position:fixed; }
|
||||||
|
}
|
||||||
|
.navbar-inverse .brand {width:180px; color:#fff; }
|
||||||
|
.brand img {float:left; margin:2px 10px 0 0; }
|
||||||
|
.brand .label {
|
||||||
|
position:relative;
|
||||||
|
left:10px;
|
||||||
|
top:-3px;
|
||||||
|
font-weight:normal;
|
||||||
|
font-size:9px;
|
||||||
|
background:#666;
|
||||||
|
-webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
|
||||||
|
-moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
|
||||||
|
box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.edit .demo { margin-left:0px; margin-top:10px; padding:30px 15px 15px; border: 1px solid #DDDDDD; border-radius: 4px; position:relative; word-wrap: break-word;}
|
||||||
|
.edit .demo:after {
|
||||||
|
background-color: #F5F5F5;
|
||||||
|
border: 1px solid #DDDDDD;
|
||||||
|
border-radius: 4px 0 4px 0;
|
||||||
|
color: #9DA0A4;
|
||||||
|
content: "Container";
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
left: -1px;
|
||||||
|
padding: 3px 7px;
|
||||||
|
position: absolute;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
.sidebar-nav {
|
||||||
|
position:fixed;
|
||||||
|
width:200px;
|
||||||
|
left:0px;
|
||||||
|
bottom:0;
|
||||||
|
top:44px;
|
||||||
|
background:#ccc;
|
||||||
|
padding: 9px 0; z-index:10;
|
||||||
|
-webkit-transition: all 500ms ease;
|
||||||
|
-moz-transition: all 500ms ease;
|
||||||
|
-ms-transition: all 500ms ease;
|
||||||
|
-o-transition: all 500ms ease;
|
||||||
|
transition: all 500ms ease;
|
||||||
|
}
|
||||||
|
.sidebar-nav .nav-header { cursor:pointer; font-size:14px; color:#fff; text-shadow:0 1px 0 rgba(0, 0, 0, 0.3);}
|
||||||
|
.sidebar-nav .nav-header span.label { font-size:10px; /*padding-bottom:0;*/ position:relative; top:-1px;}
|
||||||
|
.sidebar-nav .nav-header i.icon-plus {}
|
||||||
|
.sidebar-nav .nav-header .popover {color:#999; text-shadow:none;}
|
||||||
|
|
||||||
|
.popover-info {position:relative;}
|
||||||
|
.popover-info .popover {display:none; top: -12.5px; left:15px; }
|
||||||
|
.popover-info:hover .popover {display:block; opacity:1; width:400px;}
|
||||||
|
.popover-info:hover .popover .arrow {top:23px;}
|
||||||
|
|
||||||
|
.sidebar-nav .accordion-group { border:none; }
|
||||||
|
.boxes {}
|
||||||
|
.sidebar-nav li { line-height:25px; }
|
||||||
|
.sidebar-nav .box { line-height:25px; width:170px; height:25px; }
|
||||||
|
.sidebar-nav .preview { display: block; color:#666; font-size:12px; line-height:22px;}
|
||||||
|
.sidebar-nav .preview input { width:90px; padding:0 10px; background:#bbb; font-size:10px; color:#999; line-height:20px; height:20px; position:relative; top:-1px; }
|
||||||
|
.sidebar-nav .view { display: none; }
|
||||||
|
.sidebar-nav .remove,
|
||||||
|
.sidebar-nav .configuration { display: none; }
|
||||||
|
|
||||||
|
.sidebar-nav .boxes { display:none;}
|
||||||
|
|
||||||
|
.demo .preview { display: none; }
|
||||||
|
.demo .box .view { display: block; padding-top:30px;}
|
||||||
|
|
||||||
|
|
||||||
|
.ui-draggable-dragging .view { display:block;}
|
||||||
|
/*.demo .ui-sortable-placeholder { outline: 5px dotted #ddd; visibility: visible; border-radius: 4px; }*/
|
||||||
|
.ui-sortable-placeholder { outline: 1px dashed #ddd;visibility: visible; border-radius: 4px;}
|
||||||
|
.edit .drag { position: absolute; top: 0;right: 0; cursor: pointer; }
|
||||||
|
|
||||||
|
.box,.lyrow { position:relative;}
|
||||||
|
|
||||||
|
.edit .demo .lyrow .drag { top:5px; right:80px; z-index:10; }
|
||||||
|
.edit .demo .column .box .drag { top:5px; }
|
||||||
|
.edit .demo .column .box .configuration {position: absolute; top: 3px; right: 140px;white-space:nowrap; }
|
||||||
|
.edit .demo .remove { position: absolute; top: 5px; right: 5px; z-index:10; }
|
||||||
|
.demo .configuration {
|
||||||
|
filter: alpha(opacity=0);
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transition: all 500ms ease;
|
||||||
|
-moz-transition: all 500ms ease;
|
||||||
|
-ms-transition: all 500ms ease;
|
||||||
|
-o-transition: all 500ms ease;
|
||||||
|
transition: all 500ms ease;
|
||||||
|
}
|
||||||
|
.demo .drag, .demo .remove {
|
||||||
|
filter: alpha(opacity=20); opacity: 0.2;
|
||||||
|
-webkit-transition: all 500ms ease;
|
||||||
|
-moz-transition: all 500ms ease;
|
||||||
|
-ms-transition: all 500ms ease;
|
||||||
|
-o-transition: all 500ms ease;
|
||||||
|
transition: all 500ms ease;
|
||||||
|
}
|
||||||
|
.demo .lyrow:hover > .drag,
|
||||||
|
.demo .lyrow:hover > .configuration,
|
||||||
|
.demo .lyrow:hover > .remove,
|
||||||
|
.demo .box:hover .drag,
|
||||||
|
.demo .box:hover .configuration,
|
||||||
|
.demo .box:hover .remove { filter: alpha(opacity=100); opacity: 1; }
|
||||||
|
.edit .demo .row-fluid:before {
|
||||||
|
background-color: #F5F5F5;
|
||||||
|
border: 1px solid #DDDDDD;
|
||||||
|
border-radius: 4px 0 4px 0;
|
||||||
|
color: #9DA0A4;
|
||||||
|
content: "Row";
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
left: -1px;
|
||||||
|
line-height:2;
|
||||||
|
padding: 3px 7px;
|
||||||
|
position: absolute;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
.demo .row-fluid {
|
||||||
|
background-color: #F5F5F5;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
-webkit-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
|
||||||
|
-moz-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
|
||||||
|
box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
|
||||||
|
border: 1px solid #DDDDDD;
|
||||||
|
border-radius: 4px 4px 4px 4px;
|
||||||
|
margin: 15px 0;
|
||||||
|
position: relative;
|
||||||
|
padding: 25px 14px 0;
|
||||||
|
}
|
||||||
|
.edit .column:after {
|
||||||
|
background-color: #F5F5F5;
|
||||||
|
border: 1px solid #DDDDDD;
|
||||||
|
border-radius: 4px 0 4px 0;
|
||||||
|
color: #9DA0A4;
|
||||||
|
content: "Column";
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
left: -1px;
|
||||||
|
padding: 3px 7px;
|
||||||
|
position: absolute;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
.column {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
border: 1px solid #DDDDDD;
|
||||||
|
border-radius: 4px 4px 4px 4px;
|
||||||
|
margin: 15px 0;
|
||||||
|
padding: 39px 19px 24px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* preview */
|
||||||
|
body.devpreview { margin-left:0px;}
|
||||||
|
.devpreview .sidebar-nav {
|
||||||
|
left:-200px;
|
||||||
|
-webkit-transition: all 0ms ease;
|
||||||
|
-moz-transition: all 0ms ease;
|
||||||
|
-ms-transition: all 0ms ease;
|
||||||
|
-o-transition: all 0ms ease;
|
||||||
|
transition: all 0ms ease;
|
||||||
|
}
|
||||||
|
.devpreview .drag, .devpreview .configuration, .devpreview .remove { display:none ; }
|
||||||
|
.sourcepreview .column, .sourcepreview .row-fluid, .sourcepreview .demo .box {
|
||||||
|
margin:0px 0;
|
||||||
|
padding:0px;
|
||||||
|
background:none;
|
||||||
|
border:none;
|
||||||
|
-webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.00);
|
||||||
|
-moz-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.00);
|
||||||
|
box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.00);
|
||||||
|
}
|
||||||
|
.devpreview .demo .box, .devpreview .demo .row-fluid { padding-top:0; background:none; }
|
||||||
|
.devpreview .demo .column { padding-top:19px; padding-bottom:19px; }
|
||||||
|
#download-layout { display: none }
|
||||||
|
#editorModal textarea,
|
||||||
|
#downloadModal textarea { width:100%;height:280px;resize: none;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box; }
|
||||||
|
#editorModal {width:640px;}
|
||||||
|
a.language-selected { font-style: italic; font-weight: bold; }
|
||||||
|
|
||||||
|
.toolbox-reset {
|
||||||
|
background: inherit;
|
||||||
|
color: inherit;
|
||||||
|
display: inherit;
|
||||||
|
/*font-family: inherit;*/
|
||||||
|
/*font-size: inherit;*/
|
||||||
|
line-height: inherit;
|
||||||
|
margin: inherit;
|
||||||
|
padding: inherit;
|
||||||
|
-webkit-text-size-adjust: inherit;
|
||||||
|
-ms-text-size-adjust: inherit;
|
||||||
|
}
|
Reference in New Issue
Block a user