wisemapping-frontend/packages/editor/src/global-styled.css

284 lines
4.7 KiB
CSS
Raw Normal View History

2022-02-21 06:25:18 +01:00
/********************************************************************************/
/* Header & Toolbar Styles */
/********************************************************************************/
2022-07-10 05:56:01 +02:00
@import 'bootstrap-prefix.min.css';
@import 'bootstrap-fixes.css';
2022-02-21 06:25:18 +01:00
html {
2022-07-10 05:56:01 +02:00
/* avoid bootstrap overriding font-size and breaking Mui */
font-size: initial;
2022-02-21 06:25:18 +01:00
}
body {
2022-07-10 05:56:01 +02:00
width: 100vw;
height: 100vh;
min-width: 100vw;
min-height: 100vh;
margin: 0px;
}
.mindplot-root {
2022-07-10 05:56:01 +02:00
width: 100%;
height: 100%;
}
2022-02-21 06:25:18 +01:00
div#mindplot {
2022-07-10 05:56:01 +02:00
position: relative;
top: 50px;
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;
2022-02-21 06:25:18 +01:00
}
.notesTip {
2022-07-10 05:56:01 +02:00
background-color: #dfcf3c;
padding: 5px 15px;
color: #666666;
/*font-weight: bold;*/
/*width: 100px;*/
font-size: 13px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
2022-02-21 06:25:18 +01:00
}
.linkTip {
2022-07-10 05:56:01 +02:00
background-color: #dfcf3c;
padding: 5px 15px;
color: #666666;
/*font-weight: bold;*/
/*width: 100px;*/
font-size: 13px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
2022-02-21 06:25:18 +01:00
}
.keyboardShortcutTip {
2022-07-10 05:56:01 +02:00
background-color: black;
padding: 5px 15px;
color: white;
font-weight: bold;
font-size: 11px;
2022-02-21 06:25:18 +01:00
}
/** */
/* Modal dialogs definitions */
div.modalDialog {
2022-07-10 05:56:01 +02:00
position: fixed;
top: 50%;
left: 50%;
z-index: 11000;
width: 500px;
margin: -250px 0 0 -250px;
background-color: #ffffff;
border: 1px solid #999;
padding: 10px;
overflow: auto;
-webkit-background-clip: padding-box;
-moz-background-clip: padding-box;
background-clip: padding-box;
2022-02-21 06:25:18 +01:00
}
div.modalDialog .content {
2022-07-10 05:56:01 +02:00
padding: 5px 5px;
2022-02-21 06:25:18 +01:00
}
div.modalDialog .title {
2022-07-10 05:56:01 +02:00
font-weight: bold;
text-shadow: 1px 1px 0 #fff;
border-bottom: 1px solid #eee;
padding: 5px 15px;
font-size: 18px;
2022-02-21 06:25:18 +01:00
}
/*--- End Modal Dialog Form ---*/
.publishModalDialog .content {
2022-07-10 05:56:01 +02:00
height: 420px;
2022-02-21 06:25:18 +01:00
}
.exportModalDialog .content {
2022-07-10 05:56:01 +02:00
height: 400px;
2022-02-21 06:25:18 +01:00
}
.shareModalDialog .content {
2022-07-10 05:56:01 +02:00
height: 440px;
2022-02-21 06:25:18 +01:00
}
div.shareModalDialog {
2022-07-10 05:56:01 +02:00
width: 550px;
2022-02-21 06:25:18 +01:00
}
.panelIcon {
2022-07-10 05:56:01 +02:00
width: 20px;
height: 20px;
margin-left: 4px;
margin-top: 3px;
cursor: pointer;
2022-02-21 06:25:18 +01:00
}
.panelIcon:hover {
2022-07-10 05:56:01 +02:00
background-color: #efefef;
2022-02-21 06:25:18 +01:00
}
2022-03-02 23:25:51 +01:00
.wise-editor .popover {
2022-07-10 05:56:01 +02:00
font-size: 13px;
max-width: none;
2022-02-21 06:25:18 +01:00
}
#floating-panel {
2022-07-10 05:56:01 +02:00
position: fixed;
display: flex;
flex-direction: column;
align-items: flex-end;
bottom: 20px;
right: 20px;
align-items: stretch;
2022-02-21 06:25:18 +01:00
}
div#position {
2022-07-10 05:56:01 +02:00
margin-top: 5px;
2022-02-21 06:25:18 +01:00
}
#position-button {
2022-07-10 05:56:01 +02:00
cursor: pointer;
border: solid black 1px;
width: 40px;
height: 40px;
background-position: center;
background-repeat: no-repeat;
background-size: 40px 40px;
background-color: #fff;
border-radius: 8px;
2022-02-21 06:25:18 +01:00
}
#zoom-button {
2022-07-10 05:56:01 +02:00
width: 40px;
border: 0;
2022-02-21 06:25:18 +01:00
}
#zoom-plus,
#zoom-minus {
2022-07-10 05:56:01 +02:00
border: solid black 1px;
height: 40px;
width: 40px;
background-repeat: no-repeat;
background-size: 40px 40px;
background-position: center;
cursor: pointer;
background-color: #fff;
2022-02-21 06:25:18 +01:00
}
#zoom-plus {
2022-07-10 05:56:01 +02:00
border-radius: 8px 8px 0 0;
2022-02-21 06:25:18 +01:00
}
#zoom-minus {
2022-07-10 05:56:01 +02:00
border-radius: 0 0 8px 8px;
2022-02-21 06:25:18 +01:00
}
2022-07-10 05:56:01 +02:00
div#shotcuts > img {
margin: 20px 0;
width: 40px;
height: 40px;
2022-02-21 06:25:18 +01:00
}
#keyboardTable {
2022-07-10 05:56:01 +02:00
font-family: Arial, verdana, serif;
font-size: 13px;
width: 100%;
2022-02-21 06:25:18 +01:00
}
#keyboardTable td {
2022-07-10 05:56:01 +02:00
padding: 3px;
white-space: nowrap;
2022-02-21 06:25:18 +01:00
}
#keyboardTable th {
2022-07-10 05:56:01 +02:00
padding: 5px;
white-space: nowrap;
2022-02-21 06:25:18 +01:00
}
#keyboardTable th {
2022-07-10 05:56:01 +02:00
background-color: #000000;
color: #ffffff;
2022-02-21 06:25:18 +01:00
}
.tryInfoPanel {
2022-07-10 05:56:01 +02:00
position: absolute;
text-align: center;
left: 0;
right: 0;
background-color: white;
border: solid 2px #ffa800;
margin: auto;
width: 99%;
border-radius: 9px;
width: 96%;
}
@media (min-width: 600px) {
2022-07-10 05:56:01 +02:00
.tryInfoPanel {
font-size: 15px;
}
}
@media (max-width: 600px) {
2022-07-10 05:56:01 +02:00
.tryInfoPanel {
font-size: 13px;
}
}
.tryInfoPanel .tryInfoPanelInner {
2022-07-10 05:56:01 +02:00
padding-top: 10px;
padding-bottom: 10px;
padding-left: 5px;
padding-right: 5px;
}
2022-07-10 05:56:01 +02:00
.tryInfoPanel .tryInfoPanelInner .closeButton {
position: absolute;
top: 5px;
right: 5px;
}
.tryInfoPanel .tryInfoPanelInner .closeButton button {
2022-07-10 05:56:01 +02:00
cursor: pointer;
border-style: hidden;
background-color: transparent;
padding: 0px;
}
.tryInfoPanel .tryInfoPanelInner .closeButton button img {
2022-07-10 05:56:01 +02:00
width: 18px;
height: 18px;
filter: invert(73%) sepia(21%) saturate(4699%) hue-rotate(357deg) brightness(98%) contrast(108%);
}
.tryInfoPanelWithToolbar {
2022-07-10 05:56:01 +02:00
top: 55px;
}
.tryInfoPanelWithoutToolbar {
2022-07-10 05:56:01 +02:00
top: 5px;
}
.tryInfoPanelClosed {
2022-07-10 05:56:01 +02:00
display: none;
2022-02-21 06:25:18 +01:00
}
.tryInfoPanel > p {
2022-07-10 05:56:01 +02:00
justify-content: center;
}