compile less clientside. remove compiled css
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
data-main-favicon="/customize/main-favicon.png"
|
||||
data-alt-favicon="/customize/alt-favicon.png"
|
||||
id="favicon" />
|
||||
<link rel="stylesheet" href="/bower_components/components-font-awesome/css/font-awesome.min.css">
|
||||
<style> .noscroll { overflow-y: hidden; } </style>
|
||||
</head>
|
||||
<body class='noscroll'>
|
||||
|
||||
@@ -15,8 +15,9 @@ define([
|
||||
'/bower_components/file-saver/FileSaver.min.js',
|
||||
|
||||
'css!/bower_components/components-font-awesome/css/font-awesome.min.css',
|
||||
'css!/customize/main.css',
|
||||
'less!/customize/src/less/cryptpad.less',
|
||||
'less!/whiteboard/whiteboard.less',
|
||||
'less!/customize/src/less/toolbar.less',
|
||||
], function ($, Config, Realtime, Crypto, Toolbar, TextPatcher, JSONSortify, JsonOT, Cryptpad, Cryptget, Colors, AppConfig) {
|
||||
var saveAs = window.saveAs;
|
||||
var Messages = Cryptpad.Messages;
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
html,
|
||||
body {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
height: 100%;
|
||||
background: url('/customize/bg3.jpg') no-repeat center center;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
#canvas-area {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
}
|
||||
.canvas-container {
|
||||
border: 1px solid black;
|
||||
margin: auto;
|
||||
background: white;
|
||||
}
|
||||
#controls {
|
||||
display: block;
|
||||
position: relative;
|
||||
border-top: 1px solid black;
|
||||
background: white;
|
||||
height: 100px;
|
||||
line-height: 100px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
#controls #width,
|
||||
#controls #opacity {
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
}
|
||||
#controls #clear,
|
||||
#controls #delete,
|
||||
#controls #toggleDraw {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
}
|
||||
#controls .selected {
|
||||
margin-left: 20px;
|
||||
display: inline-block;
|
||||
height: 135px;
|
||||
width: 135px;
|
||||
z-index: 9001;
|
||||
text-align: center;
|
||||
}
|
||||
#controls .selected img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
/* Colors */
|
||||
#colors {
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
z-index: 100;
|
||||
background: white;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
#colors span.palette-color {
|
||||
height: 4vw;
|
||||
width: 4vw;
|
||||
display: inline-block;
|
||||
margin: 5px;
|
||||
border: 1px solid black;
|
||||
vertical-align: top;
|
||||
}
|
||||
#color-picker {
|
||||
display: block;
|
||||
}
|
||||
#pickers {
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
z-index: -5;
|
||||
}
|
||||
Reference in New Issue
Block a user