2014-02-23 20:17:11 +00:00
|
|
|
|
|
|
|
|
|
html, body, .jspaint {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border: 0;
|
2014-02-24 20:39:36 +00:00
|
|
|
|
overflow: hidden;
|
2014-02-23 20:17:11 +00:00
|
|
|
|
}
|
2014-05-17 03:14:49 +00:00
|
|
|
|
.jspaint-choose-shape-style {
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
}
|
2014-05-19 21:50:38 +00:00
|
|
|
|
.jspaint-choose-eraser,
|
|
|
|
|
.jspaint-choose-magnification,
|
|
|
|
|
.jspaint-choose-stroke-size,
|
|
|
|
|
.jspaint-choose-transparency {
|
2014-05-17 03:14:49 +00:00
|
|
|
|
flex-flow: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
}
|
2014-05-23 07:55:19 +00:00
|
|
|
|
.jspaint-choose-brush,
|
|
|
|
|
.jspaint-choose-airbrush-size {
|
2014-05-17 01:43:50 +00:00
|
|
|
|
flex-flow: row wrap;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
align-content: space-around;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-choose-brush canvas {
|
|
|
|
|
width: 10px;
|
|
|
|
|
height: 10px;
|
|
|
|
|
}
|
2014-05-24 04:40:04 +00:00
|
|
|
|
.jspaint :not(table):not(tbody):not(tr):not(td) {
|
2014-02-23 20:17:11 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
}
|
2014-06-08 20:38:37 +00:00
|
|
|
|
.jspaint-component-window .jspaint-window-content,
|
|
|
|
|
.jspaint-component-window .jspaint-window-content :not(table):not(tbody):not(tr):not(td) {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
2014-02-23 20:17:11 +00:00
|
|
|
|
.jspaint {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
2014-02-24 05:57:52 +00:00
|
|
|
|
.jspaint-horizontal {
|
2014-02-23 20:17:11 +00:00
|
|
|
|
flex-flow: row;
|
2014-02-24 05:57:52 +00:00
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-vertical {
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
flex: 1;
|
2014-02-23 20:17:11 +00:00
|
|
|
|
}
|
2015-06-14 21:47:31 +00:00
|
|
|
|
.jspaint-status-area,
|
|
|
|
|
.jspaint-component-area,
|
|
|
|
|
.jspaint-menus {
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
}
|
2014-11-28 02:53:34 +00:00
|
|
|
|
.jspaint-selection > img,
|
|
|
|
|
.jspaint-selection > canvas {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2014-08-19 18:57:49 +00:00
|
|
|
|
.jspaint-resize-ghost,
|
2014-03-13 19:12:30 +00:00
|
|
|
|
.jspaint-selection:not(.instantiated),
|
|
|
|
|
.jspaint-component-ghost {
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
2014-08-10 05:23:28 +00:00
|
|
|
|
.jspaint-textbox-editor {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
border: 0;
|
|
|
|
|
resize: none;
|
|
|
|
|
}
|
2014-02-25 06:09:55 +00:00
|
|
|
|
|
2014-05-23 21:49:55 +00:00
|
|
|
|
.jspaint-menu-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-menu-popup {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 20px;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 4;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
2014-05-24 04:40:04 +00:00
|
|
|
|
.jspaint-menu-popup-table {
|
|
|
|
|
border-collapse: collapse;
|
2014-05-23 23:44:26 +00:00
|
|
|
|
}
|
2014-05-23 21:49:55 +00:00
|
|
|
|
.jspaint-menu-item {
|
2014-05-24 04:40:04 +00:00
|
|
|
|
white-space: nowrap;
|
2014-05-23 21:49:55 +00:00
|
|
|
|
}
|
2014-05-23 23:15:11 +00:00
|
|
|
|
.jspaint-menu-hotkey {
|
2014-05-23 21:49:55 +00:00
|
|
|
|
display: inline !important;
|
|
|
|
|
}
|
2014-05-24 04:40:04 +00:00
|
|
|
|
.jspaint-menu-item-checkbox-area,
|
|
|
|
|
.jspaint-menu-item-submenu-area {
|
|
|
|
|
min-width: 16px;
|
|
|
|
|
}
|
2014-05-23 21:49:55 +00:00
|
|
|
|
|
2014-10-28 03:07:46 +00:00
|
|
|
|
.jspaint-status-area {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
cursor: default;
|
|
|
|
|
height: 1.25em;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-status-text {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-status-coordinates {
|
|
|
|
|
flex-basis: 114px;
|
|
|
|
|
flex-grow: 0;
|
|
|
|
|
min-width: 0px;
|
|
|
|
|
padding-left: 3px;
|
|
|
|
|
border-left: 1px solid #7b7b7b;
|
|
|
|
|
}
|
|
|
|
|
|
2014-02-25 06:09:55 +00:00
|
|
|
|
.jspaint-Tools-component {
|
2014-02-25 07:29:22 +00:00
|
|
|
|
height: 273px;
|
2014-02-24 22:26:51 +00:00
|
|
|
|
align-items: center;
|
2014-02-24 05:57:52 +00:00
|
|
|
|
padding-left: 4px;
|
|
|
|
|
padding-right: 2px;
|
2014-02-24 22:26:51 +00:00
|
|
|
|
flex-flow: column;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-tool-options {
|
|
|
|
|
margin-top: 3px;
|
|
|
|
|
width: 41px;
|
|
|
|
|
height: 66px;
|
|
|
|
|
box-sizing: border-box;
|
2014-05-10 20:48:33 +00:00
|
|
|
|
-moz-box-sizing: border-box;
|
2014-02-24 05:57:52 +00:00
|
|
|
|
}
|
2014-05-16 18:55:15 +00:00
|
|
|
|
.jspaint-tool-options > div {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
2014-02-24 05:57:52 +00:00
|
|
|
|
.jspaint-tools {
|
2014-02-23 20:17:11 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: row wrap;
|
|
|
|
|
height: 200px;
|
|
|
|
|
width: 50px;
|
|
|
|
|
}
|
2014-02-25 02:56:34 +00:00
|
|
|
|
|
2014-02-25 06:09:55 +00:00
|
|
|
|
|
|
|
|
|
.jspaint-Colors-component {
|
|
|
|
|
height: 47px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2014-02-25 02:56:34 +00:00
|
|
|
|
.jspaint-palette {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: row wrap;
|
2014-02-25 03:41:08 +00:00
|
|
|
|
}
|
|
|
|
|
.jspaint-color-box,
|
|
|
|
|
.jspaint-palette {
|
|
|
|
|
height: 32px;
|
2014-02-25 02:56:34 +00:00
|
|
|
|
}
|
|
|
|
|
.jspaint-current-colors {
|
2014-02-25 07:10:57 +00:00
|
|
|
|
width: 30px;
|
2014-02-25 06:30:28 +00:00
|
|
|
|
height: 31px;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-color-button,
|
|
|
|
|
.jspaint-color-selection {
|
2014-02-25 07:10:57 +00:00
|
|
|
|
margin-left: 1px;
|
2014-02-25 06:30:28 +00:00
|
|
|
|
padding: 0;
|
|
|
|
|
box-sizing: border-box;
|
2014-05-10 20:48:33 +00:00
|
|
|
|
-moz-box-sizing: border-box;
|
2014-02-25 07:10:57 +00:00
|
|
|
|
width: 15px;
|
|
|
|
|
height: 15px;
|
2014-02-25 06:30:28 +00:00
|
|
|
|
border: 0;
|
2014-02-25 02:56:34 +00:00
|
|
|
|
}
|
2014-05-18 05:21:45 +00:00
|
|
|
|
.jspaint-color-button input {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2014-02-25 02:56:34 +00:00
|
|
|
|
|
2014-02-25 20:42:00 +00:00
|
|
|
|
|
2014-02-26 07:17:24 +00:00
|
|
|
|
.jspaint-canvas-area {
|
2014-02-23 20:17:11 +00:00
|
|
|
|
flex: 1;
|
2014-05-24 04:40:04 +00:00
|
|
|
|
display: block !important;
|
2014-03-13 19:12:30 +00:00
|
|
|
|
position: relative;
|
2014-02-25 20:42:00 +00:00
|
|
|
|
overflow: auto;
|
2014-02-26 04:24:41 +00:00
|
|
|
|
padding: 3px;
|
2014-02-26 06:25:06 +00:00
|
|
|
|
}
|
|
|
|
|
.jspaint-handle {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 3px;
|
|
|
|
|
height: 3px;
|
2014-03-03 03:03:40 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.jspaint-window-title {
|
2014-05-24 04:40:04 +00:00
|
|
|
|
display: inline-block !important;
|
2014-03-03 03:03:40 +00:00
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
cursor: default;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-window-close-button {
|
2014-05-24 04:40:04 +00:00
|
|
|
|
display: inline-block !important;
|
2014-03-03 03:03:40 +00:00
|
|
|
|
float: right;
|
|
|
|
|
width: 13px;
|
|
|
|
|
height: 11px;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-window-close-button:before {
|
|
|
|
|
content: '×';
|
|
|
|
|
position: relative;
|
2014-04-06 06:46:53 +00:00
|
|
|
|
}
|
|
|
|
|
|
2014-09-23 16:22:01 +00:00
|
|
|
|
.jspaint-window-content .jspaint-button-group {
|
2015-06-19 01:11:40 +00:00
|
|
|
|
display: flex;
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
flex-flow: column;
|
2014-09-23 16:22:01 +00:00
|
|
|
|
}
|
|
|
|
|
.jspaint-window-content .jspaint-button-group > button {
|
2015-06-19 01:11:40 +00:00
|
|
|
|
width: 80px;
|
2014-09-23 16:22:01 +00:00
|
|
|
|
padding: 3px 5px;
|
|
|
|
|
}
|
2015-06-19 01:11:40 +00:00
|
|
|
|
.jspaint-window-content > form {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: row;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-dialogue-window .jspaint-window-content > form {
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-dialogue-window .jspaint-window-content > form > .jspaint-button-group {
|
|
|
|
|
flex-flow: row;
|
|
|
|
|
}
|
|
|
|
|
.jspaint-dialogue-window .jspaint-window-content > form > div:first-child {
|
|
|
|
|
padding: 5px;
|
|
|
|
|
}
|
2014-09-23 16:22:01 +00:00
|
|
|
|
|
2014-04-06 06:46:53 +00:00
|
|
|
|
::before, ::after {
|
|
|
|
|
pointer-events: none;
|
2014-06-08 19:55:37 +00:00
|
|
|
|
}
|