Remove less

This commit is contained in:
Paulo Gustavo Veiga 2022-01-10 21:13:06 -08:00
parent a6b6d67277
commit 7f8b9a8121
12 changed files with 13 additions and 40 deletions

View File

@ -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%;

View File

@ -1,4 +1,4 @@
@import "compatibility.less"; @import "compatibility.css";
div#errorContainer { div#errorContainer {
font-family:Helvetica; font-family:Helvetica;

View File

@ -1,8 +1,7 @@
@header-toolbar-height : 50px; @import "toolbar.css";
div#header { div#header {
width: 100%; width: 100%;
height:@header-toolbar-height; height:50px;
position: absolute; position: absolute;
top: 0; top: 0;
z-index:1000; z-index:1000;
@ -69,4 +68,3 @@ div#toolbarRight {
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";

View File

@ -1 +0,0 @@
@header-toolbar-height: 50px;

View File

@ -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 {

View File

@ -1,4 +1,4 @@
@import "editor.less"; @import "editor.css";
/* Overwrite some styles */ /* Overwrite some styles */
body{ body{

File diff suppressed because one or more lines are too long

View File

@ -25,8 +25,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<base href="${requestScope['site.baseurl']}/static/mindplot/"> <base href="${requestScope['site.baseurl']}/static/mindplot/">
<title><spring:message code="SITE.TITLE"/> - <c:out value="${mindmap.title}"/></title> <title><spring:message code="SITE.TITLE"/> - <c:out value="${mindmap.title}"/></title>
<link rel="stylesheet/less" type="text/css" href="../../css/error.less"/> <link rel="stylesheet" href="../../css/error.css"/>
<script type='text/javascript' src="../../js/less.js"/></script>
<%@ include file="/jsp/pageHeaders.jsf" %> <%@ include file="/jsp/pageHeaders.jsf" %>
</head> </head>

View File

@ -14,9 +14,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<base href="${requestScope['site.baseurl']}/static/mindplot/"> <base href="${requestScope['site.baseurl']}/static/mindplot/">
<title><spring:message code="SITE.TITLE"/> - <c:out value="${mindmap.title}"/></title> <title><spring:message code="SITE.TITLE"/> - <c:out value="${mindmap.title}"/></title>
<link rel="stylesheet/less" type="text/css" href="../../css/bootstrap.min.css"/> <link rel="stylesheet" href="../../css/editor.css"/>
<link rel="stylesheet/less" type="text/css" href="../../css/editor.less"/>
<script type='text/javascript' src="../../js/less.js"/></script>
<%@ include file="/jsp/pageHeaders.jsf" %> <%@ include file="/jsp/pageHeaders.jsf" %>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -10,8 +10,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<base href="${requestScope['site.baseurl']}/static/mindplot/"> <base href="${requestScope['site.baseurl']}/static/mindplot/">
<title><spring:message code="SITE.TITLE"/> | ${mindmap.title} </title> <title><spring:message code="SITE.TITLE"/> | ${mindmap.title} </title>
<link rel="stylesheet/less" type="text/css" href="../../css/viewonly.less"/> <link rel="stylesheet" href="../../css/viewonly.css"/>
<script type='text/javascript' src="../../js/less.js"/></script>
<%@ include file="/jsp/pageHeaders.jsf" %> <%@ include file="/jsp/pageHeaders.jsf" %>
<script type="text/javascript"> <script type="text/javascript">
var mapId = '${mindmap.id}'; var mapId = '${mindmap.id}';

View File

@ -16,8 +16,8 @@
<meta property="og:image" content="http://www.wisemapping.com/images/logo.png"/> <meta property="og:image" content="http://www.wisemapping.com/images/logo.png"/>
<meta property="og:site_name" content="WiseMapping.com"/> <meta property="og:site_name" content="WiseMapping.com"/>
<link rel="icon" href="../../images/favicon.ico" type="image/x-icon"/> <link rel="icon" href="../../favicon.ico" type="image/x-icon"/>
<link rel="apple-touch-icon" href="../../favicon.png" /> <link rel="apple-touch-icon" href="../../favicon.png" />
<link rel="shortcut icon" href="../../images/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon"/>
<link rel="manifest" href="../../manifest.json" /> <link rel="manifest" href="../../manifest.json" />