jspaint/layout.css

191 lines
3.1 KiB
CSS
Raw Normal View History

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
}
.jspaint-choose-shape-style {
flex-flow: column;
}
.jspaint-choose-eraser,
.jspaint-choose-magnification,
.jspaint-choose-stroke-size,
.jspaint-choose-transparency {
flex-flow: column;
align-items: center;
justify-content: space-around;
}
.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;
}
.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
}
.jspaint-resize-ghost,
.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;
}
.jspaint-menu-popup-table {
border-collapse: collapse;
}
2014-05-23 21:49:55 +00:00
.jspaint-menu-item {
white-space: nowrap;
2014-05-23 21:49:55 +00:00
}
.jspaint-menu-hotkey {
2014-05-23 21:49:55 +00:00
display: inline !important;
}
.jspaint-menu-item-checkbox-area,
.jspaint-menu-item-submenu-area {
min-width: 16px;
}
2014-05-23 21:49:55 +00:00
2014-02-25 06:09:55 +00:00
.jspaint-Tools-component {
2014-02-25 07:29:22 +00:00
height: 273px;
align-items: center;
2014-02-24 05:57:52 +00:00
padding-left: 4px;
padding-right: 2px;
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
}
.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 06:09:55 +00:00
.jspaint-Colors-component {
height: 47px;
align-items: center;
}
.jspaint-palette {
display: flex;
flex-flow: row wrap;
2014-02-25 03:41:08 +00:00
width: 225px;
}
.jspaint-color-box,
.jspaint-palette {
height: 32px;
}
.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;
}
.jspaint-color-button input {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
2014-02-25 20:42:00 +00:00
.jspaint-canvas-area {
2014-02-23 20:17:11 +00:00
flex: 1;
display: block !important;
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;
}
.jspaint-window-title {
display: inline-block !important;
margin: 0;
padding: 0;
cursor: default;
}
.jspaint-window-close-button {
display: inline-block !important;
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 {
width: 85px;
}
.jspaint-window-content .jspaint-button-group > button {
width: 95%;
padding: 3px 5px;
}
2014-04-06 06:46:53 +00:00
::before, ::after {
pointer-events: none;
2014-06-08 19:55:37 +00:00
}