@@ -2,7 +2,29 @@ html {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
|
||||
body,
|
||||
div,
|
||||
dl,
|
||||
dt,
|
||||
dd,
|
||||
ul,
|
||||
ol,
|
||||
li,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
pre,
|
||||
form,
|
||||
fieldset,
|
||||
input,
|
||||
textarea,
|
||||
p,
|
||||
blockquote,
|
||||
th,
|
||||
td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -12,33 +34,51 @@ table {
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
fieldset, img {
|
||||
fieldset,
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
address, caption, cite, code, dfn, em, strong, th, var {
|
||||
address,
|
||||
caption,
|
||||
cite,
|
||||
code,
|
||||
dfn,
|
||||
em,
|
||||
strong,
|
||||
th,
|
||||
var {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
ol, ul {
|
||||
ol,
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
caption, th {
|
||||
caption,
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-size: 100%;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
q:before, q:after {
|
||||
q:before,
|
||||
q:after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
abbr, acronym {
|
||||
abbr,
|
||||
acronym {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
@@ -62,14 +102,17 @@ table {
|
||||
/**
|
||||
* 99% for safari; 100% is too large
|
||||
*/
|
||||
select, input, textarea {
|
||||
select,
|
||||
input,
|
||||
textarea {
|
||||
font: 99% arial, helvetica, clean, sans-serif;
|
||||
}
|
||||
|
||||
/**
|
||||
* Bump up !IE to get to 13px equivalent
|
||||
*/
|
||||
pre, code {
|
||||
pre,
|
||||
code {
|
||||
font: 115% monospace;
|
||||
font-size: 100%;
|
||||
}
|
||||
@@ -89,7 +132,7 @@ body * {
|
||||
}
|
||||
|
||||
body {
|
||||
// font: normal 80% "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
// font: normal 80% "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
@@ -110,7 +153,8 @@ ul {
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
a:hover, a:active {
|
||||
a:hover,
|
||||
a:active {
|
||||
font: bold 100%;
|
||||
text-decoration: underline;
|
||||
color: black;
|
||||
@@ -129,7 +173,7 @@ h1 {
|
||||
}
|
||||
|
||||
h3 {
|
||||
/* use as subhead on main body */
|
||||
/* use as subhead on main body */
|
||||
clear: left;
|
||||
font-style: normal;
|
||||
font-size: 130%;
|
||||
@@ -137,12 +181,11 @@ h3 {
|
||||
}
|
||||
|
||||
h4 {
|
||||
/* use as headers in footer */
|
||||
/* use as headers in footer */
|
||||
font-weight: bold;
|
||||
font-size: 120%;
|
||||
border-bottom: 1px solid #8e9181;
|
||||
color: #e2e3dd;
|
||||
padding-bottom: 10px;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
}
|
@@ -4,7 +4,7 @@
|
||||
/* Header & Toolbar Styles */
|
||||
/********************************************************************************/
|
||||
@import "header.less";
|
||||
@import "bootstrap.min.css";
|
||||
@import "../bootstrap/css/bootstrap.min.css";
|
||||
|
||||
body {
|
||||
-webkit-touch-callout: none;
|
||||
@@ -14,17 +14,21 @@ body {
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
overflow: hidden;
|
||||
position: fixed
|
||||
}
|
||||
|
||||
div#mindplot {
|
||||
position: relative;
|
||||
top: @header-toolbar-height;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
overflow: hidden;
|
||||
opacity: 1;
|
||||
background-color: #f2f2f2;
|
||||
background-image: linear-gradient(#ebe9e7 1px, transparent 1px), linear-gradient(to right, #ebe9e7 1px, #f2f2f2 1px);
|
||||
background-size: 50px 50px;
|
||||
}
|
||||
|
||||
div#small_error_icon {
|
||||
@@ -37,6 +41,8 @@ div#small_error_icon {
|
||||
background-color: #dfcf3c;
|
||||
padding: 5px 15px;
|
||||
color: #666666;
|
||||
/*font-weight: bold;*/
|
||||
/*width: 100px;*/
|
||||
font-size: 13px;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
@@ -48,6 +54,8 @@ div#small_error_icon {
|
||||
background-color: #dfcf3c;
|
||||
padding: 5px 15px;
|
||||
color: #666666;
|
||||
/*font-weight: bold;*/
|
||||
/*width: 100px;*/
|
||||
font-size: 13px;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
@@ -77,15 +85,6 @@ div.modalDialog {
|
||||
border: 1px solid #999;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
|
||||
/* IE6-7 */
|
||||
-webkit-border-radius: 6px;
|
||||
-moz-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
|
||||
-moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
|
||||
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding-box;
|
||||
background-clip: padding-box;
|
||||
@@ -121,43 +120,87 @@ div.shareModalDialog {
|
||||
width: 550px;
|
||||
}
|
||||
|
||||
#tutorialVideo{
|
||||
background: url(../images/help.png) no-repeat left center;
|
||||
padding-left: 19px;
|
||||
}
|
||||
|
||||
#keyboardShortcuts{
|
||||
background: url(../images/help.png) no-repeat left center;
|
||||
padding-left: 19px;
|
||||
}
|
||||
|
||||
.panelIcon {
|
||||
width:16px;
|
||||
height:16px;
|
||||
margin-left: 4px;
|
||||
margin-top: 3px;
|
||||
cursor: pointer
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-left: 4px;
|
||||
margin-top: 3px;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
.panelIcon:hover {
|
||||
background-color: #efefef;
|
||||
background-color: #efefef;
|
||||
}
|
||||
|
||||
.popoverBlack {
|
||||
background: black;
|
||||
.popover {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.popoverBlack.bottom .arrow:after{
|
||||
border-bottom-color: black;
|
||||
#floating-panel {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
.popoverGray {
|
||||
background: #e4e2d2;
|
||||
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
|
||||
border: 3px double #bebebe;
|
||||
div#bottom-logo {
|
||||
position: fixed;
|
||||
left: 20px;
|
||||
bottom: 10px;
|
||||
background: url(../../images/editor/logo-text-black.svg) no-repeat;
|
||||
width: 90px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.popoverGray.bottom .arrow:after{
|
||||
border-bottom-color: #e4e2d2;
|
||||
#zoom-button {
|
||||
width: 40px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
#zoom-plus,
|
||||
#zoom-minus {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 40px 40px;
|
||||
background-position: center;
|
||||
cursor: pointer;
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
||||
#zoom-plus {
|
||||
border-radius: 8px 8px 0 0;
|
||||
}
|
||||
|
||||
#zoom-minus {
|
||||
border-radius: 0 0 8px 8px;
|
||||
}
|
||||
|
||||
div#shotcuts > img{
|
||||
margin: 20px 0;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
#keyboardTable {
|
||||
font-family: Arial, verdana, serif;
|
||||
font-size: 13px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#keyboardTable td {
|
||||
padding: 3px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#keyboardTable th {
|
||||
padding: 5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#keyboardTable th {
|
||||
background-color: #000000;
|
||||
color: #ffffff;
|
||||
}
|
95
wise-webapp/src/main/webapp/css/embedded.less
Normal file
95
wise-webapp/src/main/webapp/css/embedded.less
Normal file
@@ -0,0 +1,95 @@
|
||||
@import "editor.less";
|
||||
|
||||
/* Overwrite some styles */
|
||||
body {
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
div#headerInfo {
|
||||
height: 0;
|
||||
}
|
||||
|
||||
div#header {
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
div#headerMapTitle,
|
||||
#headerActions,
|
||||
#headerLogo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Footer Styles */
|
||||
div#footer {
|
||||
position: absolute;
|
||||
height: 0px;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
div#zoomIn {
|
||||
background: url(../images/zoom-in.png) no-repeat left top;
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#zoomOut {
|
||||
background: url(../images/zoom-out.png) no-repeat left top;
|
||||
margin-top: 10px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.button {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
float: left;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
float: left;
|
||||
cursor: pointer;
|
||||
border: 1px solid black;
|
||||
border-top-color: white;
|
||||
border-left-color: white;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div#mapDetails {
|
||||
float: right;
|
||||
padding-top: 10px;
|
||||
margin-right: 130px;
|
||||
|
||||
}
|
||||
|
||||
div#mapDetails .title {
|
||||
font-weight: bold;
|
||||
margin-left: 10px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
div#infoPanel {
|
||||
border: 2px black solid;
|
||||
position: absolute;
|
||||
background: gray;
|
||||
width: 100px;
|
||||
height: 300px;
|
||||
z-index: 100;
|
||||
padding: 5px;
|
||||
border-radius: 8px;
|
||||
top: 150px;
|
||||
right: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div#infoPanel .textNode {
|
||||
background-color: #E0E5EF;
|
||||
height: 20px;
|
||||
width: 80px;
|
||||
border: 3px #023BB9 solid;
|
||||
padding: 4px;
|
||||
cursor: move
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
@header-height : 75px;
|
||||
@header-toolbar-height : 35px;
|
||||
@header-height : 0px;
|
||||
@header-toolbar-height : 50px;
|
||||
@header-info-height : @header-height - @header-toolbar-height;
|
||||
|
||||
div#header {
|
||||
@@ -11,30 +11,6 @@ div#header {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
div#headerLogo {
|
||||
background: url(../images/logo-icon.svg) no-repeat center top;
|
||||
height: 40px;
|
||||
width: 80px;
|
||||
float: left;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
div#headerInfo {
|
||||
width: 100%;
|
||||
height: @header-info-height;
|
||||
color: white;
|
||||
padding: 0px 0px
|
||||
|
||||
}
|
||||
|
||||
div#headerActions {
|
||||
text-align: right;
|
||||
margin-top: 13px;
|
||||
padding-right: 10px;
|
||||
color: white;
|
||||
float: right;
|
||||
}
|
||||
|
||||
div#headerActions span {
|
||||
border-bottom: 3px solid rgb(247, 201, 49);
|
||||
}
|
||||
@@ -44,42 +20,62 @@ div#headerActions a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div#headerMapTitle {
|
||||
min-width: 200px;
|
||||
height:@header-info-height - 13;
|
||||
text-align: left;
|
||||
padding-top: 13px;
|
||||
padding-left: 50px;
|
||||
color: white;
|
||||
float: left;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
div#headerMapTitle span {
|
||||
padding: 4px 50px;
|
||||
border: 1px solid rgb(90, 90, 90);
|
||||
background-color: rgb(45, 45, 45);
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
div#headerNotifier {
|
||||
border: 1px solid rgb(241,163,39);
|
||||
background-color: rgb(252,235,192);
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border: 1px solid rgb(241, 163, 39);
|
||||
background-color: rgb(252, 235, 192);
|
||||
border-radius: 3px;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
padding: 5px 9px;
|
||||
color:back;
|
||||
white-space:nowrap;
|
||||
margin-top:5px;
|
||||
/*margin-top:-34px;*/
|
||||
display:none;
|
||||
/*right: 5px;*/
|
||||
color: back;
|
||||
white-space: nowrap;
|
||||
margin-top: 5px;
|
||||
display: none;
|
||||
bottom: 10px;
|
||||
}
|
||||
|
||||
@import "toolbar.less";
|
||||
div#toolbarRight {
|
||||
float: right;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
justify-content: center;
|
||||
margin: 6px 10px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#account {
|
||||
float: right;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#account >img {
|
||||
width: 36x;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
#share {
|
||||
margin: 0 30px;
|
||||
}
|
||||
|
||||
.actionButton {
|
||||
float: right;
|
||||
cursor: pointer;
|
||||
margin: 0px 10px;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
user-select: none;
|
||||
vertical-align: middle;
|
||||
justify-content: center;
|
||||
padding: 10px 25px;
|
||||
font-size: 15px;
|
||||
min-width: 64px;
|
||||
box-sizing: border-box;
|
||||
font-weight: 600;
|
||||
border-radius: 9px;
|
||||
color: white;
|
||||
background-color: #ffa800;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
@import "toolbar.less";
|
||||
|
@@ -1,23 +1,46 @@
|
||||
div#toolbar {
|
||||
width: 100%;
|
||||
height: @header-toolbar-height;
|
||||
background-color: rgb(229, 227, 209);
|
||||
border-bottom: 3px double rgb(190, 190, 190);
|
||||
border-top: 1px solid rgb(190, 190, 190);
|
||||
padding: 0px 15px;
|
||||
height: 50px;
|
||||
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
|
||||
background-color: #fff;
|
||||
// TODO: make toolbar responsive
|
||||
min-width: 900px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div#toolbar .buttonContainer {
|
||||
height: @header-toolbar-height;
|
||||
padding-top: 8px;
|
||||
padding-right: 10px;
|
||||
padding-left: 10px;
|
||||
float: left;
|
||||
margin-left: 5px;
|
||||
border-left: 1px solid lightgray;
|
||||
}
|
||||
|
||||
div#mapName >span {
|
||||
border-radius: 4px;
|
||||
float: left;
|
||||
padding: 8px;
|
||||
min-width: 30px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div#back {
|
||||
background: url(../../images/editor/back-icon.svg) no-repeat center center;
|
||||
height: 40px;
|
||||
width: 80px;
|
||||
float: left;
|
||||
margin: 6px 0px;
|
||||
}
|
||||
|
||||
/******************************************************************************************/
|
||||
/* Buttons*/
|
||||
/******************************************************************************************/
|
||||
|
||||
div#toolbar .buttonOn, div#toolbar .buttonOff, div#toolbar .buttonActive, div#toolbar .buttonOn:hover {
|
||||
div#toolbar .buttonOn,
|
||||
div#toolbar .buttonOff,
|
||||
div#toolbar .buttonActive,
|
||||
div#toolbar .buttonOn:hover {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
float: left;
|
||||
@@ -32,17 +55,16 @@ div#toolbar .buttonOn, div#toolbar .buttonOff, div#toolbar .buttonActive, div#to
|
||||
div#toolbar .buttonOn:hover {
|
||||
cursor: pointer;
|
||||
opacity: 1;
|
||||
background: url(../images/editor/btn-bg-hover.png) no-repeat center top;
|
||||
// background: url(../images/btn-bg-hover.png) no-repeat center top;
|
||||
}
|
||||
|
||||
div#toolbar .buttonOn {
|
||||
opacity: 0.8;
|
||||
background: url(../images/editor/btn-bg-normal.png) no-repeat center top;
|
||||
// background: url(../images/btn-bg-normal.png) no-repeat center top;
|
||||
}
|
||||
|
||||
div#toolbar .buttonOff {
|
||||
opacity: 0.4;
|
||||
background: url(../images/editor/btn-bg-normal.png) no-repeat center top;
|
||||
}
|
||||
|
||||
div#exportAnchor {
|
||||
@@ -53,7 +75,10 @@ div#exportAnchor {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
div#toolbar .buttonExtOn, div#toolbar .buttonExtOff, div#toolbar .buttonExtActive, div#toolbar .buttonExtOn:hover {
|
||||
div#toolbar .buttonExtOn,
|
||||
div#toolbar .buttonExtOff,
|
||||
div#toolbar .buttonExtActive,
|
||||
div#toolbar .buttonExtOn:hover {
|
||||
width: 40px;
|
||||
height: 28px;
|
||||
float: left;
|
||||
@@ -67,24 +92,19 @@ div#toolbar .buttonExtOn, div#toolbar .buttonExtOff, div#toolbar .buttonExtActiv
|
||||
|
||||
div#toolbar .buttonExtOn:hover {
|
||||
opacity: 1;
|
||||
background: url(../images/editor/btne-bg-hover.png) no-repeat center top;
|
||||
|
||||
}
|
||||
|
||||
div#toolbar .buttonExtActive {
|
||||
opacity: 1;
|
||||
background: url(../images/editor/btne-bg-selected.png) no-repeat center top;
|
||||
|
||||
}
|
||||
|
||||
div#toolbar .buttonExtOn {
|
||||
opacity: 0.8;
|
||||
background: url(../images/editor/btne-bg-normal.png) no-repeat center top;
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
div#toolbar .buttonExtOff {
|
||||
opacity: 0.4;
|
||||
background: url(../images/editor/tne-bg-normal.png) no-repeat center top;
|
||||
}
|
||||
|
||||
div#exportAnchor {
|
||||
@@ -116,7 +136,8 @@ div#colorPalette {
|
||||
top: 89px;
|
||||
}
|
||||
|
||||
div.toolbarPanelLink, div.toolbarPanelLinkSelectedLink {
|
||||
div.toolbarPanelLink,
|
||||
div.toolbarPanelLinkSelectedLink {
|
||||
cursor: pointer;
|
||||
color: black;
|
||||
margin: 1px;
|
||||
@@ -126,7 +147,8 @@ div.toolbarPanelLink, div.toolbarPanelLinkSelectedLink {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.toolbarPanelLink:hover, div.toolbarPanelLinkSelectedLink {
|
||||
div.toolbarPanelLink:hover,
|
||||
div.toolbarPanelLinkSelectedLink {
|
||||
cursor: pointer;
|
||||
background-color: #efefef;
|
||||
}
|
||||
|
Reference in New Issue
Block a user