mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 23:54:55 +01:00
Remove less
This commit is contained in:
parent
2f49a2b8a5
commit
67e332cd88
@ -62,8 +62,6 @@
|
|||||||
"html-webpack-plugin": "^5.3.2",
|
"html-webpack-plugin": "^5.3.2",
|
||||||
"jest-diff": "^27.4.2",
|
"jest-diff": "^27.4.2",
|
||||||
"jest-webpack": "^0.5.1",
|
"jest-webpack": "^0.5.1",
|
||||||
"less": "^4.1.2",
|
|
||||||
"less-loader": "^10.2.0",
|
|
||||||
"mocha": "^9.1.3",
|
"mocha": "^9.1.3",
|
||||||
"nodemon": "^2.0.12",
|
"nodemon": "^2.0.12",
|
||||||
"start-server-and-test": "^1.14.0",
|
"start-server-and-test": "^1.14.0",
|
||||||
|
@ -132,7 +132,6 @@ body * {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
// font: normal 80% "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
@import "compatibility.less";
|
@import "compatibility.css";
|
||||||
|
|
||||||
/********************************************************************************/
|
/********************************************************************************/
|
||||||
/* Header & Toolbar Styles */
|
/* Header & Toolbar Styles */
|
||||||
/********************************************************************************/
|
/********************************************************************************/
|
||||||
@import "header.less";
|
@import "header.css";
|
||||||
@import "../bootstrap/css/bootstrap.min.css";
|
@import "../bootstrap/css/bootstrap.min.css";
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -18,7 +18,7 @@ body {
|
|||||||
|
|
||||||
div#mindplot {
|
div#mindplot {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: @header-toolbar-height;
|
top: 50px;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
@ -1,4 +1,4 @@
|
|||||||
@import "editor.less";
|
@import "editor.css";
|
||||||
|
|
||||||
/* Overwrite some styles */
|
/* Overwrite some styles */
|
||||||
body {
|
body {
|
@ -1,4 +1,4 @@
|
|||||||
@header-toolbar-height : 50px;
|
@import "toolbar.css";
|
||||||
|
|
||||||
div#header {
|
div#header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -78,5 +78,3 @@ div#toolbarRight {
|
|||||||
.actionButton:hover {
|
.actionButton:hover {
|
||||||
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "toolbar.less";
|
|
@ -3,13 +3,12 @@ div#toolbar {
|
|||||||
height: 50px;
|
height: 50px;
|
||||||
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
// TODO: make toolbar responsive
|
|
||||||
min-width: 900px;
|
min-width: 900px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#toolbar .buttonContainer {
|
div#toolbar .buttonContainer {
|
||||||
height: @header-toolbar-height;
|
height: 50px;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
@ -54,17 +53,14 @@ div#toolbar .buttonOn:hover {
|
|||||||
div#toolbar .buttonOn:hover {
|
div#toolbar .buttonOn:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
// background: url(../images/btn-bg-hover.png) no-repeat center top;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#toolbar .buttonOn {
|
div#toolbar .buttonOn {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
// background: url(../images/btn-bg-normal.png) no-repeat center top;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#toolbar .buttonOff {
|
div#toolbar .buttonOff {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
// background: url(../images/btn-bg-normal.png) no-repeat center top;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#exportAnchor {
|
div#exportAnchor {
|
||||||
@ -92,24 +88,19 @@ div#toolbar .buttonExtOn:hover {
|
|||||||
|
|
||||||
div#toolbar .buttonExtOn:hover {
|
div#toolbar .buttonExtOn:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
// background: url(../images/btne-bg-hover.png) no-repeat center top;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#toolbar .buttonExtActive {
|
div#toolbar .buttonExtActive {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
// background: url(../images/btne-bg-selected.png) no-repeat center top;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#toolbar .buttonExtOn {
|
div#toolbar .buttonExtOn {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
// background: url(../images/btne-bg-normal.png) no-repeat center top;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#toolbar .buttonExtOff {
|
div#toolbar .buttonExtOff {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
// background: url(../images/btne-bg-normal.png) no-repeat center top;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#exportAnchor {
|
div#exportAnchor {
|
@ -1,4 +1,4 @@
|
|||||||
@import "editor.less";
|
@import "editor.css";
|
||||||
|
|
||||||
/* Overwrite some styles */
|
/* Overwrite some styles */
|
||||||
body {
|
body {
|
||||||
@ -28,3 +28,7 @@ div#footer-logo {
|
|||||||
#floating-panel {
|
#floating-panel {
|
||||||
bottom: 80px;
|
bottom: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#mindplot {
|
||||||
|
top:0;
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
import '../css/editor.less';
|
import '../css/editor.css';
|
||||||
import { buildDesigner } from '../../../../src/components/DesignerBuilder';
|
import { buildDesigner } from '../../../../src/components/DesignerBuilder';
|
||||||
import { PersistenceManager, LocalStorageManager } from '../../../../src';
|
import { PersistenceManager, LocalStorageManager } from '../../../../src';
|
||||||
import LoadingModal from '../../../../src/components/widget/LoadingModal';
|
import LoadingModal from '../../../../src/components/widget/LoadingModal';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import '../css/embedded.less';
|
import '../css/embedded.css';
|
||||||
import { buildDesigner } from '../../../../src/components/DesignerBuilder';
|
import { buildDesigner } from '../../../../src/components/DesignerBuilder';
|
||||||
import { PersistenceManager, LocalStorageManager } from '../../../../src';
|
import { PersistenceManager, LocalStorageManager } from '../../../../src';
|
||||||
import DesignerOptionsBuilder from '../../../../src/components/DesignerOptionsBuilder';
|
import DesignerOptionsBuilder from '../../../../src/components/DesignerOptionsBuilder';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import '../css/viewmode.less';
|
import '../css/viewmode.css';
|
||||||
import { buildDesigner } from '../../../../src/components/DesignerBuilder';
|
import { buildDesigner } from '../../../../src/components/DesignerBuilder';
|
||||||
import { PersistenceManager, LocalStorageManager } from '../../../../src';
|
import { PersistenceManager, LocalStorageManager } from '../../../../src';
|
||||||
import DesignerOptionsBuilder from '../../../../src/components/DesignerOptionsBuilder';
|
import DesignerOptionsBuilder from '../../../../src/components/DesignerOptionsBuilder';
|
||||||
|
@ -21,12 +21,11 @@ const playgroundConfig = {
|
|||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.less$/i,
|
test: /\.css$/i,
|
||||||
use: [
|
use: [
|
||||||
// compiles Less to CSS
|
// compiles Less to CSS
|
||||||
'style-loader',
|
'style-loader',
|
||||||
'css-loader?url=false',
|
'css-loader?url=false',
|
||||||
'less-loader',
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user