Merge pull request +15872 from c9/cleanup-css

Cleanup css
pull/468/merge
Harutyun Amirjanyan 2017-12-07 15:10:29 +04:00 zatwierdzone przez GitHub
commit 1155169740
50 zmienionych plików z 164 dodań i 2597 usunięć

116
node_modules/architect-build/build.js wygenerowano vendored
Wyświetl plik

@ -160,116 +160,51 @@ function createOutputFolder(opts, cb) {
function compileLess(opts, sources, callback) {
var less = stripLess(sources);
var cssCode = [];
var code = [];
var cache = opts.cache;
if (cache && !cache.less)
cache.less = Object.create(null);
async.forEachSeries(less, function(file, next) {
var libs = opts.lessLibs;
less.forEach(function(file) {
var plugin = file.pkg.parent.plugin || {};
if (file.pkg.id.match(/(keyframes|font-awesome)\.css$/)) {
code.push(file.code
cssCode.push(file.code
.replace(/@\{image-path\}/g, plugin.staticPrefix + "/images")
.replace(/@\{icon-path\}/g, plugin.staticPrefix + "/icons")
.replace(/@\{base-path\}/g, plugin.staticPrefix)
.replace(/@\{base-path\}/g, plugin.staticPrefix)
);
return next();
}
var root = path.join(opts.basepath, (plugin.packagePath ? path.dirname(plugin.packagePath) : "/"));
var cacheKey;
if (cache && opts.lessLibCacheKey) {
cacheKey = [opts.lessLibCacheKey, plugin.staticPrefix, file.pkg.id].join("|");
if (cache.less[cacheKey]) {
code.push(cache.less[cacheKey]);
return next();
}
return;
}
compileLessFragment(file.code, opts.lessLibs, root, plugin.staticPrefix, file.path, opts.compress, function(err, css) {
if (err)
return callback(err);
if (cacheKey)
cache.less[cacheKey] = css;
code.push(css);
next();
});
}, function(err) {
if (opts.lessLibs.css) {
code.push(opts.lessLibs.css);
}
callback(err, {
code: code.join("\n")
});
var staticPrefix = plugin.staticPrefix || libs.staticPrefix;
// Complete paths, but not subdirectories like foo/images/bar.png
var lessCode = file.code.replace(/(["(])(images|icons)\//g, "$1" + staticPrefix + "/$2/");
code.push("ß{" + lessPathLib(staticPrefix) + lessCode + "}");
});
}
function compileLibRules(libs, ctx, next) {
// Libs is an array of paths; adds property .compiled to keep a state(cache).
if (libs.compiled)
return next(null, libs.compiled.rules, libs.compiled.css);
var src = lessPathLib(libs.staticPrefix) + libs.join("\n");
var less = require("less");
less.parse(src, ctx, function(err, root, imports, options) {
if (err) return next(err);
toCss(root, imports, options, function(err, css) {
if (err) return next(err);
libs.compiled = {
rules: root.rules,
css: css,
};
next(null, libs.compiled.rules, libs.compiled.css);
});
});
}
function compileLessFragment(css, libs, root, staticPrefix, path, compress, callback) {
var less = require("less");
var ctx = {
var ctx = {
paths: ["/"],
filename: root + '/unknown.less',
compress: !!compress
filename: opts.basepath + '/unknown.less',
compress: !!opts.compress
};
compileLibRules( libs, ctx, function(err, libRules, libCss) {
code = lessPathLib("/static/" + libs.staticPrefix) + libs.join("\n") + code.join("\n");
var lessParser = require("less");
return lessParser.parse(code, ctx, function(err, tree, imports, options) {
if (err) return callback(err);
var baseLib = lessPathLib(staticPrefix || libs.staticPrefix);
var code = baseLib + "\n" + css;
// Complete paths, but not subdirectories like foo/images/bar.png
code = code.replace(/(["(])(images|icons)\//g, "$1" + staticPrefix + "/$2/");
console.log("[Less] compiling ", path || "skin", root);
less.parse(code, ctx, function (err, tree, imports, options) {
toCss(tree, imports, options, function(err, css) {
if (err) return callback(err);
tree.rules = libRules.concat(tree.rules);
toCss(tree, imports, options, function(err, css) {
if (err) return callback(err);
if (css.substring(0, libCss.length) == libCss) {
css = css.substr(libCss.length);
} else {
console.warn("couldn't strip default less");
}
callback(null, css);
});
callback(null, { code: css.replace(/ß /g, "").replace(/^ +/gm, "\t") });
});
});
}
function toCss(tree, imports, options, callback) {
var less = require("less");
var parseTree = new less.ParseTree(tree, imports);
@ -285,6 +220,9 @@ function toCss(tree, imports, options, callback) {
function lessPathLib(staticPrefix) {
if (!staticPrefix) return "";
staticPrefix = staticPrefix.replace(/^(\/static\/)?(plugins\/)?/, "/static/plugins/");
return "@base-path : \"" + staticPrefix + "\";\n"
+ "@image-path : \"" + staticPrefix + "/images\";\n"
+ "@icon-path : \"" + staticPrefix + "/icons\";\n";
@ -301,7 +239,7 @@ function stripLess(sources) {
});
}
sources.forEach(function(pkg){
sources.forEach(function(pkg) {
if (pkg.id && (pkg.id.indexOf("text!") > -1) && pkg.id.match(/text\!.*\.(less|css)$/)) {
var source = pkg.source;
pkg.source = "";

Wyświetl plik

@ -72,9 +72,7 @@
cursor : pointer;
position : relative;
cursor : default;
-moz-user-select : none;
-khtml-user-select : none;
user-select : none;
.user-select(none);
background-position : 0 0;
background-repeat : no-repeat;
margin: @ace-status-icon-margin !important;

Wyświetl plik

@ -16,8 +16,8 @@
}
.chatContainer{
.display-flex();
.flex-direction(column);
display: flex;
flex-direction: column;
}
.chatText a {
@ -28,7 +28,6 @@
overflow: auto;
font-size: @collab-chat-font-size;
padding: 0 0 0 0;
.flex(1);
background: @collab-chat-background;
}
.chatText p {
@ -77,7 +76,6 @@
height:30px;
padding: 0;
cursor: text;
-webkit-flex-shrink: 0;
flex-shrink: 0;
}
.chatContainer .searchTxt.tb_console .sbtb_middle{

Wyświetl plik

@ -35,7 +35,7 @@ define(function(require, exports, module) {
index: 200,
caption: "Group Chat",
textselect: true,
style: "flex:1;-webkit-flex:1"
style: "flex:1;"
});
// var emit = plugin.getEmitter();

Wyświetl plik

@ -71,9 +71,7 @@
.collab-bar{
display:flex;
display:-webkit-flex;
flex-direction: column;
-webkit-flex-direction: column;
}
.ace_gutter-tooltip {

Wyświetl plik

@ -111,8 +111,6 @@
font-size: 10px;
font-weight: @collab-bubble-font-weight;
text-align: center;
-webkit-transform-origin: top left;
-webkit-transform: rotate(-90deg);
transform-origin: top left;
transform: rotate(-90deg);
padding: 1px 3px 1px 4px;

Wyświetl plik

@ -320,9 +320,7 @@
}
#ui-slider-handle when(@time-slider-handle-basic = false) {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
.user-select(none);
}
#ui-slider-handle span when(@time-slider-handle-basic = false){
@ -382,9 +380,7 @@
}
#ui-slider-bar {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
.user-select(none);
cursor: pointer;
height: 35px;
margin-left: @time-slider-bar-margin-left;

Wyświetl plik

@ -10,12 +10,10 @@
}
.errorlabel.anim, .disconnectlabel.anim{
transition: top 0.2s;
-webkit-transition: top 0.2s; /* Safari */
transition: top 0.2s;
}
.errorlabel.fade-in{
transition: opacity 0.2s;
-webkit-transition: opacity 0.2s; /* Safari */
transition: opacity 0.2s;
}
.errorlabel div{

Wyświetl plik

@ -6,9 +6,7 @@
height : 22px;
cursor : pointer;
position : absolute;
-moz-user-select : none;
-khtml-user-select : none;
user-select : none;
.user-select(none);
width : 20px;
}
.btnquicksearchnav .lbl{

Wyświetl plik

@ -47,8 +47,6 @@
box-shadow: 0 0 8px rgba(0,0,0,0.5);
display: inline-block;
vertical-align: middle;
-webkit-transform: scale(1);
-webkit-transform-origin: 0 0;
transform: scale(1);
transform-origin: 0 0;
}

Wyświetl plik

@ -62,7 +62,7 @@
.execute .install-spinner{
.image-2x(@pane-button-save-image, @pane-button-save-image-width, @pane-button-save-image-height, no-repeat);
.animation(@pane-button-save-animation);
animation: @pane-button-save-animation;
}
.execute .log{

Wyświetl plik

@ -216,7 +216,5 @@
/* allow selecting in doc popup but do not elsewhere */
.panelsbar, .btnsesssioncontainer, .bar-status, .splitgrabber,
.code_complete_text, .ace_scrollbar, .ace_tree {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
.user-select(none);
}

Wyświetl plik

@ -7,40 +7,26 @@
*/
@-webkit-keyframes rotation { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% {-webkit-transform: rotate(359deg); transform: rotate(359deg);}}
@keyframes rotation { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% {-webkit-transform: rotate(359deg); transform: rotate(359deg); }}
@keyframes rotation { 0% { transform: rotate(0deg); } 100% {transform: rotate(359deg); }}
@-webkit-keyframes running-spinner { 0%, 4.55% { background-position: -0px 0px; } 4.56%, 9.09% { background-position: -16px 0px; } 9.1%, 13.64% { background-position: -32px 0px; } 13.65%, 18.18% { background-position: -48px 0px; } 18.19%, 22.73% { background-position: -64px 0px; } 22.740000000000002%, 27.27% { background-position: -80px 0px; } 27.28%, 31.82% { background-position: -96px 0px; } 31.830000000000002%, 36.36% { background-position: -112px 0px; } 36.37%, 40.91% { background-position: -128px 0px; } 40.919999999999995%, 45.45% { background-position: -144px 0px; } 45.46%, 50% { background-position: -160px 0px; } 50.01%, 54.55% { background-position: -176px 0px; } 54.559999999999995%, 59.09% { background-position: -192px 0px; } 59.1%, 63.64% { background-position: -208px 0px; } 63.65%, 68.18% { background-position: -224px 0px; } 68.19000000000001%, 72.73% { background-position: -240px 0px; } 72.74000000000001%, 77.27% { background-position: -256px 0px; } 77.28%, 81.82% { background-position: -272px 0px; } 81.83%, 86.36% { background-position: -288px 0px; } 86.37%, 90.91% { background-position: -304px 0px; } 90.92%, 95.45% { background-position: -320px 0px; } 95.46000000000001%, 100% { background-position: -336px 0px; } }
@-moz-keyframes running-spinner { 0%, 4.55% { background-position: -0px 0px; } 4.56%, 9.09% { background-position: -16px 0px; } 9.1%, 13.64% { background-position: -32px 0px; } 13.65%, 18.18% { background-position: -48px 0px; } 18.19%, 22.73% { background-position: -64px 0px; } 22.740000000000002%, 27.27% { background-position: -80px 0px; } 27.28%, 31.82% { background-position: -96px 0px; } 31.830000000000002%, 36.36% { background-position: -112px 0px; } 36.37%, 40.91% { background-position: -128px 0px; } 40.919999999999995%, 45.45% { background-position: -144px 0px; } 45.46%, 50% { background-position: -160px 0px; } 50.01%, 54.55% { background-position: -176px 0px; } 54.559999999999995%, 59.09% { background-position: -192px 0px; } 59.1%, 63.64% { background-position: -208px 0px; } 63.65%, 68.18% { background-position: -224px 0px; } 68.19000000000001%, 72.73% { background-position: -240px 0px; } 72.74000000000001%, 77.27% { background-position: -256px 0px; } 77.28%, 81.82% { background-position: -272px 0px; } 81.83%, 86.36% { background-position: -288px 0px; } 86.37%, 90.91% { background-position: -304px 0px; } 90.92%, 95.45% { background-position: -320px 0px; } 95.46000000000001%, 100% { background-position: -336px 0px; } }
@-keyframes running-spinner { 0%, 4.55% { background-position: -0px 0px; } 4.56%, 9.09% { background-position: -16px 0px; } 9.1%, 13.64% { background-position: -32px 0px; } 13.65%, 18.18% { background-position: -48px 0px; } 18.19%, 22.73% { background-position: -64px 0px; } 22.740000000000002%, 27.27% { background-position: -80px 0px; } 27.28%, 31.82% { background-position: -96px 0px; } 31.830000000000002%, 36.36% { background-position: -112px 0px; } 36.37%, 40.91% { background-position: -128px 0px; } 40.919999999999995%, 45.45% { background-position: -144px 0px; } 45.46%, 50% { background-position: -160px 0px; } 50.01%, 54.55% { background-position: -176px 0px; } 54.559999999999995%, 59.09% { background-position: -192px 0px; } 59.1%, 63.64% { background-position: -208px 0px; } 63.65%, 68.18% { background-position: -224px 0px; } 68.19000000000001%, 72.73% { background-position: -240px 0px; } 72.74000000000001%, 77.27% { background-position: -256px 0px; } 77.28%, 81.82% { background-position: -272px 0px; } 81.83%, 86.36% { background-position: -288px 0px; } 86.37%, 90.91% { background-position: -304px 0px; } 90.92%, 95.45% { background-position: -320px 0px; } 95.46000000000001%, 100% { background-position: -336px 0px; } }
@-webkit-keyframes loading-spinner { from { background-position: 0 0; } to { background-position: -165px 0px; } }
@-moz-keyframes loading-spinner { from { background-position: 0 0; } to { background-position: -165px 0px; } }
@keyframes loading-spinner { from { background-position: 0 0; } to { background-position: -165px 0px; } }
@keyframes running-spinner { 0%, 4.55% { background-position: -0px 0px; } 4.56%, 9.09% { background-position: -16px 0px; } 9.1%, 13.64% { background-position: -32px 0px; } 13.65%, 18.18% { background-position: -48px 0px; } 18.19%, 22.73% { background-position: -64px 0px; } 22.740000000000002%, 27.27% { background-position: -80px 0px; } 27.28%, 31.82% { background-position: -96px 0px; } 31.830000000000002%, 36.36% { background-position: -112px 0px; } 36.37%, 40.91% { background-position: -128px 0px; } 40.919999999999995%, 45.45% { background-position: -144px 0px; } 45.46%, 50% { background-position: -160px 0px; } 50.01%, 54.55% { background-position: -176px 0px; } 54.559999999999995%, 59.09% { background-position: -192px 0px; } 59.1%, 63.64% { background-position: -208px 0px; } 63.65%, 68.18% { background-position: -224px 0px; } 68.19000000000001%, 72.73% { background-position: -240px 0px; } 72.74000000000001%, 77.27% { background-position: -256px 0px; } 77.28%, 81.82% { background-position: -272px 0px; } 81.83%, 86.36% { background-position: -288px 0px; } 86.37%, 90.91% { background-position: -304px 0px; } 90.92%, 95.45% { background-position: -320px 0px; } 95.46000000000001%, 100% { background-position: -336px 0px; } }
@-webkit-keyframes saving { 0%, 10%, 100% { opacity: 1; } 50%, 60% { opacity: .3; } }
@-moz-keyframes saving { 0%, 10%, 100% { opacity: 1; } 50%, 60% { opacity: .3; } }
@-keyframes saving { 0%, 10%, 100% { opacity: 1; } 50%, 60% { opacity: .3; } }
@keyframes loading-spinner { from { background-position: 0 0; } to { background-position: -165px 0px; } }
@-webkit-keyframes loading-24-spinner { from { background-position: 0 0; } to { background-position: -336px 0px; } }
@-moz-keyframes loading-24-spinner { from { background-position: 0 0; } to { background-position: -336px 0px; } }
@keyframes loading-24-spinner { from { background-position: 0 0; } to { background-position: -336px 0px; } }
@keyframes saving { 0%, 10%, 100% { opacity: 1; } 50%, 60% { opacity: .3; } }
@keyframes loading-24-spinner { from { background-position: 0 0; } to { background-position: -336px 0px; } }
.loading-spinner {
background: url("@{image-path}/tab-save-spinner-active.png") no-repeat;
-webkit-animation: loading-spinner 1.2s steps(11) infinite;
animation: loading-spinner 1.2s steps(11) infinite;
animation: loading-spinner 1.2s steps(11) infinite;
}
@-webkit-keyframes ball { 0%, 19.99%, 100% { background-position: 0 0 } 20%, 39.99% { background-position: -30px 0 } 40%, 59.99% { background-position: -60px 0 } 60%,79.99% { background-position: -90px 0 } 80%, 99.99% { background-position: -120px 0 } }
@-moz-keyframes ball { 0%, 19.99%, 100% { background-position: 0 0 } 20%, 39.99% { background-position: -30px 0 } 40%, 59.99% { background-position: -60px 0 } 60%,79.99% { background-position: -90px 0 } 80%, 99.99% { background-position: -120px 0 } }
@keyframes ball { 0%, 19.99%, 100% { background-position: 0 0 } 20%, 39.99% { background-position: -30px 0 } 40%, 59.99% { background-position: -60px 0 } 60%,79.99% { background-position: -90px 0 } 80%, 99.99% { background-position: -120px 0 } }
div.loading-ind {
background: url("@{image-path}/loading-ind.png") no-repeat;
height: 27px;
width: 28px;
-webkit-animation: ball .7s linear 0s infinite normal;
-moz-animation: ball .7s linear 0s infinite normal;
animation: ball .7s linear 0s infinite normal;
position: absolute;
left: 42%;

Wyświetl plik

@ -19,14 +19,6 @@ define(function(require, exports, module) {
var markup = require("text!./layout.xml");
// pre load themes
require("text!./themes/default-dark.less");
require("text!./themes/default-dark-gray.less");
require("text!./themes/default-light-gray.less");
require("text!./themes/default-light.less");
require("text!./themes/default-flat-light.less");
require("text!./themes/default-flat-dark.less");
/***** Initialization *****/
var plugin = new Plugin("Ajax.org", main.consumes);
@ -75,8 +67,7 @@ define(function(require, exports, module) {
.replace(/@\{image-path\}/g, options.staticPrefix + "/images"),
false, plugin);
ui.insertCss(require("text!./less/main.less"),
options.staticPrefix, plugin);
ui.insertCss(require("./less/index"), options.staticPrefix, plugin);
}
draw();

Wyświetl plik

@ -9,11 +9,7 @@
background-position : 0 27px;
background-repeat : no-repeat;
background-image : url("@{image-path}/browser_button.png");
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
.user-select(none);
}
.browser-btn span{

Wyświetl plik

@ -1,8 +1,6 @@
.btn-switcher {
.user-select(none);
-webkit-display: flex;
display: flex;
-webkit-align-items: center;
align-items: center;
cursor: default;
font-size: @preview-chooser-font-size;

Wyświetl plik

@ -5,11 +5,7 @@
cursor : default;
position : relative;
line-height : 17px;
-moz-user-select: -moz-none;
-khtml-user-select : none;
-webkit-user-select: none;
-o-user-select: none;
user-select : none;
.user-select(none);
}
.btn.smallbtn {

Wyświetl plik

@ -1,13 +1,7 @@
.c9-menu-bar {
position : relative;
overflow : visible;
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
// margin: 0;
// overflow: hidden;
.user-select(none);
}
.c9-menu-bar:before{
position: absolute;
@ -185,9 +179,7 @@
width: 10px;
}
.c9-menu-bar .c9-mbar-bcont .c9-activity.saving .light{
-webkit-animation: saving .4s linear 0 infinite;
-moz-animation: saving .4s linear 0 infinite;
animation: saving .4s linear 0 infinite;
animation: saving .4s linear 0 infinite;
background-position: -102px 0px !important;
}

Wyświetl plik

@ -14,10 +14,7 @@
text-shadow : @menu-button-text-shadow;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
.user-select(none);
}
.c9-menu-btnOver {

Wyświetl plik

@ -88,9 +88,7 @@
.c9-toolbarbutton-glossy.saving .c9-icon {
background-color: #85C410;
right: 10px;
-webkit-animation: saving .4s linear 0 infinite;
-moz-animation: saving .4s linear 0 infinite;
animation: saving .4s linear 0 infinite;
animation: saving .4s linear 0 infinite;
}
.c9-toolbarbutton-glossy.saved .c9-icon {
background-color: #85C410;

Wyświetl plik

@ -6,11 +6,7 @@
position : relative;
line-height : 17px;
border:1px solid transparent;
-moz-user-select: -moz-none;
-khtml-user-select : none;
-webkit-user-select: none;
-o-user-select: none;
user-select : none;
.user-select(none);
}
.with-arrow.c9-toolbarbutton {
@ -37,13 +33,9 @@
}
.c9-toolbarbuttonOver {
-moz-border-radius : 5px;
-webkit-border-radius : 5px;
border-radius : 5px;
border:1px solid #1c1c1c;
-moz-box-shadow : 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
-webkit-box-shadow : 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
box-shadow : 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
background : #343434;
@ -96,13 +88,9 @@
}
.c9-toolbarbuttonDown {
-moz-border-radius : 5px;
-webkit-border-radius : 5px;
border-radius : 5px;
border:1px solid #1c1c1c;
-moz-box-shadow : 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
-webkit-box-shadow : 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
box-shadow : 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
background : #343434;

Wyświetl plik

@ -3,11 +3,7 @@
position: relative;
background-color: #dedede;
background: linear-gradient(to top, rgb(222,222,222) 0%,rgb(255,255,255) 100%);
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0px 1px 1px #9fa0a3;
-moz-box-shadow: 0px 1px 1px #9fa0a3;
box-shadow: 0px 1px 1px #9fa0a3;
border-top: 1px solid #dddddd;
border-bottom: 1px solid #fafafa;
@ -47,10 +43,6 @@
top:0;
width:18px;
-webkit-border-top-right-radius: 2px;
-webkit-border-bottom-right-radius: 2px;
-moz-border-radius-topright: 2px;
-moz-border-radius-bottomright: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
@ -111,11 +103,7 @@
left: 0;
width: 120px;
margin-top : 2px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 2px 8px #8A8A8A;
-moz-box-shadow: 0 2px 8px #8A8A8A;
box-shadow: 0 2px 8px #8A8A8A;
background: #ffffff;
z-index: 1000;
@ -140,19 +128,11 @@
}
.optionList .dditem:first-child{
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.optionList .dditem:last-child{
-webkit-border-bottom-right-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}

Wyświetl plik

@ -59,8 +59,8 @@
height : @pane-button-container-inner-height;
overflow-y: hidden;
overflow-x: hidden;
.display-flex();
.flex-direction(row);
display: flex;
flex-direction: row;
}
/* Tab Button (not active) */
@ -70,7 +70,7 @@
min-width : 6px;
max-width : @pane-button-max-width;
.flex(1 1 auto);
flex: 1 1 auto;
position : relative;
width : 0;
line-height : 1.2em;
@ -171,12 +171,12 @@
.session_btn:not(.curbtn) .tab_middle:after,
.session_btn:not(.curbtn) .tab_middle:before{
background-color : @pane-button-background;
-webkit-transition: background-color .15s linear;
transition: background-color .15s linear;
}
.session_btn.notrans .tab_middle,
.session_btn.notrans .tab_middle:after,
.session_btn.notrans .tab_middle:before{
-webkit-transition: none;
transition: none;
}
.session_btn.over:not(.curbtn) .tab_middle,
@ -249,11 +249,7 @@ body>.session_btn.curbtn{
white-space : nowrap;
overflow : hidden;
padding : @pane-button-title-padding;
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
.user-select(none);
color : @pane-button-color;
text-shadow : @pane-button-textshadow;
// position: relative;
@ -318,7 +314,7 @@ body>.session_btn.curbtn{
top : @pane-button-states-top;
margin-top : 0px;
.animation(none);
animation: none;
}
.has_apf .session_btn.changed strong { background-position : 0 0; }
.has_apf .session_btn.error strong { background-position : (-1 * @pane-button-states-image-size) 0; }
@ -330,7 +326,7 @@ body>.session_btn.curbtn{
.has_apf .session_btn.running strong{
.image-2x(@pane-button-running-image, @pane-button-running-image-width, @pane-button-running-image-height, no-repeat);
.animation(@pane-button-running-animation);
animation: @pane-button-running-animation;
height : @pane-button-running-width;
width : @pane-button-running-height;
@ -342,7 +338,7 @@ body>.session_btn.curbtn{
.has_apf .session_btn.loading strong,
.has_apf .session_btn.connecting strong{
.image-2x(@pane-button-save-image, @pane-button-save-image-width, @pane-button-save-image-height, no-repeat);
.animation(@pane-button-save-animation);
animation: @pane-button-save-animation;
height : @pane-button-save-width;
width : @pane-button-save-height;
@ -369,7 +365,7 @@ body>.session_btn.curbtn{
z-index : 10;
margin-top : @pane-button-close-hack;
.animation(none)
animation: none;
}
.has_apf .session_btn strong:hover { background-position : -14px @pane-button-close-background; }
@ -391,7 +387,7 @@ body>.session_btn.curbtn{
position: relative;
cursor: default;
.skew(23deg);
transform: skew(23deg);
border-radius: 4px 3px 4px 2px;
border: @pane-plus-box-border;
box-shadow: @pane-plus-box-shadow;
@ -405,7 +401,7 @@ body>.session_btn.curbtn{
width : @pane-plus-icon-width;
height : @pane-plus-icon-height;
.image-2x("@{image-path}/@{pane-plus-icon}", @pane-plus-icon-image-width, @pane-plus-icon-image-height);
.skew(-23deg);
transform: skew(-23deg);
margin : @pane-plus-icon-margin;
background-position: @pane-plus-icon-idle-position;
}

Wyświetl plik

@ -23,10 +23,7 @@
color: @frame-title-color;
background-color: @frame-title-background;
background-image: linear-gradient(90deg, @frame-title-gradient-start 0%, @frame-title-gradient-stop 100%);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
.user-select(none);
}
.frame>.title:hover{
background-image: linear-gradient(90deg, @frame-title-gradient-hover-start 0%, @frame-title-gradient-hover-stop 100%);

Wyświetl plik

@ -60,10 +60,6 @@
position: absolute;
top: 0;
width: 2px;
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
.user-select(none);
}

Wyświetl plik

@ -0,0 +1,64 @@
define(function(require, exports, module) {
module.exports = require("text!./main.less")
+ require("text!./style.less")
+ require("text!./bar.less")
+ require("text!./bk-window2.less")
+ require("text!./bk-window.less")
+ require("text!./blackbutton.less")
+ require("text!./blackdg.less")
+ require("text!./black_dropdown.less")
+ require("text!./browser-btn.less")
+ require("text!./btn-default-css3.less")
+ require("text!./btn_icon_only.less")
+ require("text!./button.less")
+ require("text!./btn_console.less")
+ require("text!./btn_console_open.less")
+ require("text!./btn-switcher.less")
+ require("text!./c9-divider-double.less")
+ require("text!./c9-divider-hor.less")
+ require("text!./c9-divider.less")
+ require("text!./c9-menu-bar.less")
+ require("text!./c9-menu-btn.less")
+ require("text!./c9-simple-btn.less")
+ require("text!./c9-toolbarbutton-glossy.less")
+ require("text!./c9-toolbarbutton.less")
+ require("text!./c9-toolbarbutton-light.less")
+ require("text!./cboffline.less")
+ require("text!./checkbox_black.less")
+ require("text!./checkbox_grey.less")
+ require("text!./checkbox.less")
+ require("text!./editor_tab.less")
+ require("text!./textbox.less")
+ require("text!./searchbox.less")
+ require("text!./codebox.less")
+ require("text!./colorbox.less")
+ require("text!./datagrid.less")
+ require("text!./divider_console.less")
+ require("text!./divider.less")
+ require("text!./dropdown-dark-glossy.less")
+ require("text!./dropdown.less")
+ require("text!./frame.less")
+ require("text!./grouped_checkbox.less")
+ require("text!./header-btn.less")
+ require("text!./img.less")
+ require("text!./label.less")
+ require("text!./list_dark.less")
+ require("text!./list.less")
+ require("text!./menu.less")
+ require("text!./panel-bar.less")
+ require("text!./password.less")
+ require("text!./radiobutton.less")
+ require("text!./scrollbar.less")
+ require("text!./simplebox.less")
+ require("text!./simpleimg.less")
+ require("text!./spinner.less")
+ require("text!./splitbutton.less")
+ require("text!./splitter.less")
+ require("text!./tbsimple.less")
+ require("text!./textarea.less")
+ require("text!./tooltiplabel.less")
+ require("text!./toolbar.less")
+ require("text!./toolbar-top.less")
+ require("text!./toolbar-bottom.less");
})

Wyświetl plik

@ -33,64 +33,3 @@ BODY.noInput *{
padding: @dialog-buttons-padding !important;
height: @dialog-buttons-height !important;
}
@import "less/style.less";
@import "less/bar.less";
@import "less/bk-window2.less";
@import "less/bk-window.less";
@import "less/blackbutton.less";
@import "less/blackdg.less";
@import "less/black_dropdown.less";
@import "less/browser-btn.less";
@import "less/btn-default-css3.less";
@import "less/btn_icon_only.less";
@import "less/button.less";
@import "less/btn_console.less";
@import "less/btn_console_open.less";
@import "less/btn-switcher.less";
@import "less/c9-divider-double.less";
@import "less/c9-divider-hor.less";
@import "less/c9-divider.less";
@import "less/c9-menu-bar.less";
@import "less/c9-menu-btn.less";
@import "less/c9-simple-btn.less";
@import "less/c9-toolbarbutton-glossy.less";
@import "less/c9-toolbarbutton.less";
@import "less/c9-toolbarbutton-light.less";
@import "less/cboffline.less";
@import "less/checkbox_black.less";
@import "less/checkbox_grey.less";
@import "less/checkbox.less";
@import "less/editor_tab.less";
@import "less/textbox.less";
@import "less/searchbox.less";
@import "less/codebox.less";
@import "less/colorbox.less";
@import "less/datagrid.less";
@import "less/divider_console.less";
@import "less/divider.less";
@import "less/dropdown-dark-glossy.less";
@import "less/dropdown.less";
@import "less/frame.less";
@import "less/grouped_checkbox.less";
@import "less/header-btn.less";
@import "less/img.less";
@import "less/label.less";
@import "less/list_dark.less";
@import "less/list.less";
@import "less/menu.less";
@import "less/panel-bar.less";
@import "less/password.less";
@import "less/radiobutton.less";
@import "less/scrollbar.less";
@import "less/simplebox.less";
@import "less/simpleimg.less";
@import "less/spinner.less";
@import "less/splitbutton.less";
@import "less/splitter.less";
@import "less/tbsimple.less";
@import "less/textarea.less";
@import "less/tooltiplabel.less";
@import "less/toolbar.less";
@import "less/toolbar-top.less";
@import "less/toolbar-bottom.less";

Wyświetl plik

@ -190,5 +190,4 @@
overflow: hidden;
}
@-webkit-keyframes rotation { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% {-webkit-transform: rotate(359deg); transform: rotate(359deg);}}
@keyframes rotation { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% {-webkit-transform: rotate(359deg); transform: rotate(359deg); }}
@keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(359deg); }}

Wyświetl plik

@ -103,7 +103,7 @@
.loading-spinner {
.image-2x("/static/@{pane-button-save-image}", @pane-button-save-image-width, @pane-button-save-image-height);
.animation(~"loading-24-spinner 1.2s steps(24) infinite")!important;
animation: loading-24-spinner 1.2s steps(24) infinite !important;
}
.ace_tree .tree-row .checkbox{

Wyświetl plik

@ -390,7 +390,7 @@
.loading-spinner {
.image-2x("/static/@{pane-button-save-image}", @pane-button-save-image-width, @pane-button-save-image-height);
.animation(~"loading-24-spinner 1.2s steps(24) infinite")!important;
animation: loading-24-spinner 1.2s steps(24) infinite !important;
}
.searchresults .item{

Wyświetl plik

@ -30,7 +30,7 @@
font-size: 13px;
text-align: center;
border-radius: 3px 3px 0 0;
-webkit-user-select: none;
.user-select(none);
overflow: hidden;
-webkit-app-region: drag;
}

Wyświetl plik

@ -1,15 +1,3 @@
.image-2x(@image; @width; @height; @repeat: no-repeat) {
@filename : ~`/(.*)\.(jpg|jpeg|png|gif)/.exec(@{image})[1]`;
@extension : ~`/(.*)\.(jpg|jpeg|png|gif)/.exec(@{image})[2]`;
background-image: ~`"url(@{filename}.@{extension})"`;
background-repeat: @repeat;
@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx) {
background-image: ~`"url(@{filename}@2x.@{extension})"`;
background-size: @width @height;
}
}
.openfiles .ace_tree .tree-row{
height: @openfiles-row-height;
}
@ -25,8 +13,6 @@
pointer-events: auto;
cursor: pointer;
z-index: 10;
-webkit-animation: none;
-moz-animation: none;
animation: none;
display: inline-block;
vertical-align: middle;
@ -47,9 +33,7 @@
height: @pane-button-states-image-size;
margin: @openfiles-icon-margin;
-webkit-animation: none;
-moz-animation: none;
animation: none;
animation: none;
}
.openfiles .ace_tree .tree-row strong.changed { background-position : 0 0; }

Wyświetl plik

@ -7,10 +7,10 @@
border-top : 1px solid @border-highlight;
box-shadow : 0 -1px 0 @panel-bar-border;
.transform-origin(17px 18px);
.transform(rotate(90deg));
transform-origin: 17px 18px;
transform: rotate(90deg);
background: @panel-bar-background; /* url(images/c9-noise.png);*/
background: @panel-bar-background;
height : 34px;
white-space : nowrap;
@ -66,7 +66,7 @@
color : @panel-button-color;
text-shadow: @panel-button-text-shadow;
.transform(rotate(180deg));
transform: rotate(180deg);
height : 18px;
}
@ -75,7 +75,7 @@
margin-top: -1px;
}
.right .panelsbutton{
.transform(rotate(0deg));
transform: rotate(0deg);
}
.right .panelsbutton when (@panel-button-flat){
margin-top: 0;

Wyświetl plik

@ -13,10 +13,10 @@
}
.previewbar .locationbar{
.display-flex();
display: flex;
}
.previewbar .locationbar .ace_searchbox{
.flex(1);
flex: 1;
}
.previewbar .locationbar .ace_searchbox .sbtb_middle{
border-radius: 3px 0 0 3px;

Wyświetl plik

@ -72,7 +72,7 @@
left: 50%;
margin: 0px -261px;
z-index : 10000000;
.transform(~"rotate(2deg)");
transform: rotate(2deg);
}
.stickynote.casual{
bottom: 50px;
@ -119,7 +119,7 @@
border-right: 1px dashed rgba(0, 0, 0, 0.1);
box-shadow: 0px 0px 1px 0px rgba(204, 204, 204, 0.28);
.transform(~"rotate(-2deg) skew(0,0) translate(0%,-5px)");
transform: rotate(-2deg) skew(0,0) translate(0%,-5px);
}
.stickynote .left-shadow {
width: 140px;
@ -130,7 +130,7 @@
z-index: -6;
display: inline-block;
box-shadow: -10px -10px 10px rgba(0, 0, 0, 0.12);
.transform(~"scale(1) rotate(274deg) translate(20px, 25px) skew(9deg, 0deg)");
transform: scale(1) rotate(274deg) translate(20px, 25px) skew(9deg, 0deg);
}
.stickynote .right-shadow {
width: 140px;
@ -141,7 +141,7 @@
z-index: -6;
display: inline-block;
box-shadow: -10px -10px 10px rgba(0, 0, 0, 0.12);
.transform(~"scale(1) rotate(184deg) translate(20px, 25px) skew(9deg, 0deg)");
transform: scale(1) rotate(184deg) translate(20px, 25px) skew(9deg, 0deg);
}
/*
@ -207,7 +207,7 @@ THE SOFTWARE.
border: 1px solid #458845;
}
.ui-progress-bar.transition .ui-progress {
.transition(~"background-color 0.5s ease-in, border-color 1.5s ease-out, box-shadow 1.5s ease-out")
transition: background-color 0.5s ease-in, border-color 1.5s ease-out, box-shadow 1.5s ease-out
}
.ui-progress-bar .ui-progress {
/* Usual setup stuff */

Wyświetl plik

@ -9,7 +9,7 @@
box-shadow: @output-toolbar-box-shadow;
box-sizing: border-box;
border-bottom: 1px solid @output-toolbar-border-color;
.display-flex();
display: flex;
}
.output .toolbar>*{
margin-right: 10px;
@ -37,7 +37,7 @@
height: 17px;
font-family: @general-font-family;
font-size: @general-font-size;
.transition(background-color 0.1s linear);
transition: background-color 0.1s linear;
}
.output .toolbar .tbsimpleInitial{

Wyświetl plik

@ -57,11 +57,7 @@
.ace_button {
margin-left: 2px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
user-select: none;
.user-select(none);
overflow: hidden;
border: 1px solid rgba(100,100,100,0.23);
padding: 2px 4px;

Wyświetl plik

@ -1,12 +1,10 @@
.ace_diff-container {
display: -webkit-flex !important;
display: flex !important;
flex-direction: row;
position: absolute;
overflow: hidden;
}
.ace_diff-container > .ace_editor {
-webkit-flex-grow: 1;
flex-grow: 1;
}

Wyświetl plik

@ -25,7 +25,7 @@ define(function(require, exports, module) {
index: 200,
showTitle: true,
// splitter: true,
style: "flex:1;-webkit-flex:1"
style: "flex:1;"
});
var emit = plugin.getEmitter();

Wyświetl plik

@ -655,7 +655,7 @@ define(function(require, exports, module) {
// Container
container = vbox.appendChild(new ui.bar({
style: "flex:1;-webkit-flex:1;display:flex;flex-direction: column;"
style: "flex:1;display:flex;flex-direction: column;"
}));
// Mark Dirty

Wyświetl plik

@ -44,7 +44,7 @@ define(function(require, exports, module) {
caption: "All Tests",
index: 200,
// showTitle: true,
style: "flex:1;-webkit-flex:1"
style: "flex:1;"
});
var emit = plugin.getEmitter();

Wyświetl plik

@ -22,10 +22,7 @@
color: #795A0A;
margin: 0 5px;
pointer-events:auto;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
.user-select(text);
}
.stack-message.more{
cursor:pointer;

Wyświetl plik

@ -447,7 +447,7 @@ define(function(require, exports, module) {
// Container
container = vbox.appendChild(new ui.bar({
style: "flex:1;-webkit-flex:1;display:flex;flex-direction: column;"
style: "flex:1;display:flex;flex-direction: column;"
}));
emit.sticky("drawPanels", { html: container.$int, aml: container });

Wyświetl plik

@ -135,7 +135,6 @@
line-height: 13px;
font-weight: bold;
font-family: monospace;
background: -webkit-radial-gradient(5px 5px, circle, rgb(126, 143, 28), rgb(76, 93, 0));
background: radial-gradient(5px 5px, circle, rgb(126, 143, 28), rgb(76, 93, 0));
box-shadow: 0px 0px 7px 0px #000;
}
@ -189,15 +188,12 @@
}
.workspace_files{
display: -webkit-flex;
display: flex;
flex-direction: column;
-webkit-flex-direction: column;
}
.workspace_files .filetree.real{
flex : 1;
-webkit-flex: 1;
}
.ace_tree .heading{

Wyświetl plik

@ -142,7 +142,6 @@
line-height: 13px;
font-weight: bold;
font-family: monospace;
background: -webkit-radial-gradient(5px 5px, circle, rgb(126, 143, 28), rgb(76, 93, 0));
background: radial-gradient(5px 5px, circle, rgb(126, 143, 28), rgb(76, 93, 0));
box-shadow: 0px 0px 7px 0px #000;
}

Wyświetl plik

@ -9,10 +9,6 @@
background-color: rgba(255, 255, 255, 0);
color: #000;
text-align: center;
-webkit-transition: background-color 0.25s ease-out;
-moz-transition: background-color 0.25s ease-out;
-ms-transition: background-color 0.25s ease-out;
-o-transition: background-color 0.25s ease-out;
transition: background-color 0.25s ease-out;
}
@ -29,19 +25,11 @@
font-weight: bold;
position: relative;
top: 150px;
-webkit-transition: background-color 0.25s ease-out;
-moz-transition: background-color 0.25s ease-out;
-ms-transition: background-color 0.25s ease-out;
-o-transition: background-color 0.25s ease-out;
transition: background-color 0.25s ease-out;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}

Wyświetl plik

@ -153,9 +153,7 @@
<a:style><![CDATA[
.btn-cancel-upload {
position : relative;
-moz-user-select : none;
-khtml-user-select : none;
user-select : none;
.user-select(none);
color : #a4a4a4;
font-size : 11px;
height : 14px;

Wyświetl plik

@ -61,7 +61,7 @@ define(function(require, exports, module) {
var p = treeContainer.parentNode;
var box = new ui.vsplitbox({
id: "vboxTreeContainer",
style: "position:relative;flex:1;-webkit-flex:1",
style: "position:relative;flex:1",
splitter: false
});
p.insertBefore(box, treeContainer);

Wyświetl plik

@ -6,7 +6,7 @@
top: 0;
bottom: 0;
overflow: auto;
.display-flex();
display: flex;
.font-smoothing(@welcome-font-smoothing);
background-attachment: local;
color: @welcome-color;
@ -28,7 +28,7 @@
}
.main {
.flex(1);
flex: 1;
min-width: 460px;
overflow: auto;
position: relative;
@ -37,7 +37,7 @@
.sidepanel {
max-width: 250px;
min-width: 150px;
.flex(1);
flex: 1;
padding: 30px 30px 0 20px;
border-left: 1px solid @welcome-panel-border-color;
background: @welcome-panel-background;