jspaint/classic.css

381 lines
8.7 KiB
CSS
Raw Normal View History

2014-02-24 05:57:52 +00:00
.jspaint {
background: #c0c0c0;
}
.jspaint-canvas-area {
2014-02-25 03:36:09 +00:00
background: #7b7b7b;
border: 1px inset;
}
.jspaint-selection {
box-sizing: border-box;
2014-05-10 20:48:33 +00:00
-moz-box-sizing: border-box;
border: 1px dashed black;
}
2014-02-26 06:25:06 +00:00
.jspaint-handle {
background: #000080;
}
.jspaint-useless-handle {
background: #fff;
box-shadow: 1px 1px 0 #000080 inset;
}
.jspaint-canvas-resize-ghost {
outline: 1px dotted #7b7b7b; /* what it is */
outline: 1px dotted invert; /* what it should be */
}
2014-05-23 21:49:55 +00:00
.jspaint-menus * {
font: menu;
cursor: default;
}
.jspaint-menu-container {
margin-bottom: 1px;
}
2014-05-23 21:49:55 +00:00
.jspaint-menu-button {
padding: 2px 5px;
position: relative;
}
.jspaint-menu-button:hover {
box-shadow: 1px 1px 0 white inset, -1px -1px 0 #707070 inset;
}
.jspaint-menu-button:active,
.jspaint-menu-button.active {
box-shadow: 1px 1px 0 #707070 inset, -1px -1px 0 white inset;
top: 1px;
left: 1px;
2014-05-23 21:49:55 +00:00
}
.jspaint-menu-popup:not(.something-else) { /* CSS specifity hack */
display: block;
padding: 2px;
background: #c0c0c0;
border-top: 1px solid #c0c0c0;
border-left: 1px solid #c0c0c0;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
box-shadow: 1px 1px 0 white inset, -1px -1px 0 #707070 inset;
2014-05-23 21:49:55 +00:00
}
.jspaint-menu-item {
padding: 1px 3px;
margin: 2px;
2014-05-23 21:49:55 +00:00
}
.jspaint-menu-item:hover,
.jspaint-menu-item.active {
background: #007;
color: #fff;
}
.jspaint-menu-hr {
display: block !important;
height: 0;
width: auto;
border: 0;
border-top: 1px solid #808080;
border-bottom: 1px solid #ffffff;
margin: 0px 2px;
}
.jspaint-menu-hotkey {
text-decoration: underline;
}
2014-05-23 21:49:55 +00:00
2014-05-01 23:32:27 +00:00
.jspaint-status-area {
overflow: hidden;
white-space: nowrap;
cursor: default;
font: status-bar;
padding: 3px 2px;
padding-top: 4px;
border-top: 1px solid #7b7b7b;
outline: 1px solid #7b7b7b;
outline-offset: 1px;
}
.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 20:42:00 +00:00
::-webkit-scrollbar {
2014-05-23 21:54:56 +00:00
width: 13px;
height: 13px;
2014-02-25 20:42:00 +00:00
}
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-button {
2014-05-23 21:54:56 +00:00
width: 13px;
height: 13px;
background: #c0c0c0;
border-top: 1px solid #c0c0c0;
border-left: 1px solid #c0c0c0;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
box-shadow: 1px 1px 0 white inset, -1px -1px 0 #707070 inset;
2014-02-25 20:42:00 +00:00
}
2014-02-25 22:02:48 +00:00
::-webkit-scrollbar-button:hover:active {
2014-05-23 21:54:56 +00:00
border: 1px solid #7b7b7b;
box-shadow: none;
2014-02-25 22:02:48 +00:00
}
2014-02-25 20:42:00 +00:00
::-webkit-scrollbar-corner {
2014-05-23 21:54:56 +00:00
background: #c0c0c0;
2014-02-25 20:42:00 +00:00
}
::-webkit-scrollbar-button {
background-position: center;
background-repeat: no-repeat;
}
::-webkit-scrollbar-button:horizontal:decrement {
2014-05-23 21:54:56 +00:00
background-image: url(images/scroll-left.png);
2014-02-25 20:42:00 +00:00
}
::-webkit-scrollbar-button:horizontal:increment {
2014-05-23 21:54:56 +00:00
background-image: url(images/scroll-right.png);
2014-02-25 20:42:00 +00:00
}
::-webkit-scrollbar-button:vertical:decrement {
2014-05-23 21:54:56 +00:00
background-image: url(images/scroll-up.png);
2014-02-25 20:42:00 +00:00
}
::-webkit-scrollbar-button:vertical:increment {
2014-05-23 21:54:56 +00:00
background-image: url(images/scroll-down.png);
2014-02-25 20:42:00 +00:00
}
2014-05-10 20:48:33 +00:00
::-webkit-scrollbar {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACAQMAAABIeJ9nAAAABlBMVEW9vb3///8EwsWUAAAADElEQVQI12NoYHAAAAHEAMFJRSpJAAAAAElFTkSuQmCC) repeat;
}
2014-02-25 03:36:09 +00:00
2014-03-06 06:11:22 +00:00
.jspaint-window-content button {
margin: 3px;
padding: 3px;
box-sizing: border-box;
2014-05-10 20:48:33 +00:00
-moz-box-sizing: border-box;
2014-03-06 06:11:22 +00:00
border: 0;
border-right: 1px solid black;
border-bottom: 1px solid black;
position: relative;
background: transparent;
outline: 0;
}
.jspaint-window-content button:before {
content: " ";
position: absolute;
z-index: 1;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
border-top: 1px solid white;
border-left: 1px solid white;
border-right: 1px solid #7b7b7b;
border-bottom: 1px solid #7b7b7b;
}
.jspaint-window-content button:hover:active,
.jspaint-tool:hover:active,
.jspaint-tool.selected {
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid white;
border-bottom: 1px solid white;
}
.jspaint-window-content button:hover:active:before,
.jspaint-tool:hover:active:before,
.jspaint-tool.selected:before {
border-top: 1px solid #7b7b7b;
border-left: 1px solid #7b7b7b;
border-right: 1px solid #bdbdbd;
border-bottom: 1px solid #bdbdbd;
}
2014-02-25 03:36:09 +00:00
.jspaint-tool-options {
2014-02-25 07:10:57 +00:00
border: 1px solid white;
border-top-color: #7b7b7b;
border-left-color: #7b7b7b;
2014-02-25 03:36:09 +00:00
}
2014-02-24 05:57:52 +00:00
.jspaint-tool {
display: block !important;
margin: 0;
padding: 0;
box-sizing: border-box;
2014-05-10 20:48:33 +00:00
-moz-box-sizing: border-box;
width: 25px;
height: 25px;
2014-02-24 05:57:52 +00:00
border: 0;
border-right: 1px solid black;
border-bottom: 1px solid black;
position: relative;
2014-02-24 05:57:52 +00:00
background: transparent;
outline: 0;
}
2014-02-24 05:57:52 +00:00
.jspaint-tool:before {
content: " ";
position: absolute;
2014-02-23 19:40:40 +00:00
z-index: 1;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
border-top: 1px solid white;
border-left: 1px solid white;
border-right: 1px solid #7b7b7b;
border-bottom: 1px solid #7b7b7b;
}
2014-02-24 06:41:05 +00:00
.jspaint-tool:hover:active {
2014-02-24 06:34:07 +00:00
padding: 1px;
2014-02-24 06:41:05 +00:00
background: transparent !important;
2014-02-24 06:34:07 +00:00
}
2014-02-23 19:40:40 +00:00
2014-02-24 06:41:05 +00:00
.jspaint-tool.selected,
2014-05-10 20:48:33 +00:00
.jspaint-current-colors {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACAQMAAABIeJ9nAAAABlBMVEW9vb3///8EwsWUAAAADElEQVQI12NoYHAAAAHEAMFJRSpJAAAAAElFTkSuQmCC) repeat;
}
2014-02-23 18:28:52 +00:00
2014-02-25 03:36:09 +00:00
.jspaint-current-colors {
box-sizing: border-box;
2014-05-10 20:48:33 +00:00
-moz-box-sizing: border-box;
2014-02-25 03:36:09 +00:00
border: 2px inset;
}
2014-02-25 07:10:57 +00:00
.jspaint-color-selection {
2014-02-25 03:36:09 +00:00
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
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-right: 1px solid #7B7B7B;
border-bottom: 1px solid #7B7B7B;
}
.jspaint-color-selection:after {
content: '';
position: absolute;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
border: 1px solid #bbb;
2014-02-25 03:36:09 +00:00
}
2014-02-25 06:30:28 +00:00
.jspaint-current-colors,
.jspaint-color-button {
2014-02-25 07:10:57 +00:00
border-top: 1px solid #7B7B7B;
border-left: 1px solid #7B7B7B;
border-right: 1px solid #BBBBBB;
border-bottom: 1px solid #BBBBBB;
position: relative;
box-shadow: 1px 1px 0px black inset;
}
.jspaint-current-colors:after,
.jspaint-color-button:after {
content: '';
position: absolute;
left: -1px;
top: -1px;
right: -2px;
bottom: -2px;
border-right: 1px solid white;
border-bottom: 1px solid white;
}
2014-02-25 01:01:05 +00:00
.jspaint-component-ghost.dock {
outline: 1px solid black;
outline: 1px solid invert;
}
.jspaint-component-ghost:not(.dock) {
outline: 1px dotted black;
outline: 1px dotted invert;
}
.jspaint-component-ghost:not(.dock):after,
.jspaint-component-ghost:not(.dock):before {
content: '';
position: absolute; left: 0; right: 0; top: 0; bottom: 0;
outline: 1px dotted black;
outline: 1px dotted invert;
}
.jspaint-component-ghost:not(.dock):after {
outline-offset: 1px;
}
.jspaint-component-ghost:not(.dock):before {
outline-offset: 2px;
}
.jspaint-window {
background: #c0c0c0;
border-top: 1px solid #dfdfdf;
border-left: 1px solid #dfdfdf;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
padding: 2px;
}
.jspaint-window:after {
content: '';
pointer-events: none;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-right: 1px solid #7b7b7b;
border-bottom: 1px solid #7b7b7b;
}
.jspaint-window > * {
margin: 1px;
}
.jspaint-window-titlebar {
background: #000080; /* fallback to standard color */
background: -moz-linear-gradient(left, #000080 0%, #1084d0 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%, #000080), color-stop(100%, #1084d0)); /* Chrome, Safari4+ */
background: -webkit-linear-gradient(left, #000080 0%, #1084d0 100%); /* Chrome10+, Safari5.1+ */
background: -o-linear-gradient(left, #000080 0%, #1084d0 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #000080 0%, #1084d0 100%); /* IE10+ */
background: linear-gradient(to right, #000080 0%, #1084d0 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000080', endColorstr='#1084d0', GradientType=1 ); /* IE6-9 */
color: white;
font: menu;
}
.jspaint-window-title {
padding-left: 2px;
}
.jspaint-window-close-button {
padding: 0;
margin: 2px;
vertical-align: middle;
font-size: 12px;
background: #c0c0c0;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
position: relative;
}
.jspaint-window-close-button:after {
content: '';
pointer-events: none;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
border-top: 1px solid #dfdfdf;
border-left: 1px solid #dfdfdf;
border-right: 1px solid #808080;
border-bottom: 1px solid #808080;
}
.jspaint-window-close-button:hover:active {
border-top: 1px solid #000;
border-left: 1px solid #000;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
}
.jspaint-window-close-button:hover:active:after {
border-top: 1px solid #808080;
border-left: 1px solid #808080;
border-right: 1px solid #dfdfdf;
border-bottom: 1px solid #dfdfdf;
}
.jspaint-window-close-button:before {
right: 0px;
top: -3px;
}
.jspaint-window-close-button:hover:active:before {
right: -1px;
top: -2px;
}