jspaint/classic.css

469 lines
10 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;
}
2014-10-24 19:06:45 +00:00
.jspaint-selection,
.jspaint-textbox {
box-sizing: border-box;
2014-05-10 20:48:33 +00:00
-moz-box-sizing: border-box;
2014-10-24 19:06:45 +00:00
}
.jspaint-selection:after,
.jspaint-textbox:after {
content: '';
position: absolute;
left: 0px;
top: 0px;
right: 0px;
bottom: 0px;
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-resize-ghost {
2014-11-27 03:41:07 +00:00
outline: 1px dotted black;
/*outline: 1px dotted invert;*/
/* I want this to be inverty, but in chrome this makes it invisible */
2014-02-26 06:25:06 +00:00
}
.jspaint-cursor-bully * {
cursor: inherit !important;
}
2014-05-23 21:49:55 +00:00
2014-11-29 16:49:49 +00:00
.jspaint-menus *,
.jspaint-menu-popup * {
font-family: 'Segoe UI', sans-serif;
font-size: 12px;
2014-05-23 21:49:55 +00:00
cursor: default;
}
.jspaint-menu-container {
margin-bottom: 1px;
}
2014-05-23 21:49:55 +00:00
.jspaint-menu-button {
padding: 2px 5px;
position: relative;
2015-06-19 19:29:49 +00:00
outline: 0;
}
.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
}
2014-05-24 04:52:31 +00:00
.jspaint-menu-item[disabled] {
text-shadow: 0.8px 0.8px 0px #fff;
}
2015-06-19 19:29:49 +00:00
.jspaint-menu-item:focus,
2014-05-23 21:49:55 +00:00
.jspaint-menu-item.active {
background: #007;
color: #fff;
2014-05-24 04:52:31 +00:00
text-shadow: none;
2015-06-19 19:29:49 +00:00
outline: 0;
2014-05-24 04:52:31 +00:00
}
.jspaint-menu-item[disabled] {
color: #808080;
2014-05-23 21:49:55 +00:00
}
.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-24 04:52:31 +00:00
.jspaint-menu-item-checkbox-area,
.jspaint-menu-item-submenu-area {
text-align: center;
}
2014-05-23 21:49:55 +00:00
2014-05-01 23:32:27 +00:00
.jspaint-status-area {
font-family: 'Segoe UI', sans-serif;
font-size: 12px;
2014-05-01 23:32:27 +00:00
padding: 3px 2px;
padding-top: 4px;
border-top: 1px solid #7b7b7b;
outline: 1px solid #7b7b7b;
outline-offset: 1px;
}
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
.jspaint-window-content .jspaint-dialogue-button {
2014-03-06 06:11:22 +00:00
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 .jspaint-dialogue-button:before {
2014-03-06 06:11:22 +00:00
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 .jspaint-dialogue-button:hover:active,
2015-06-19 01:11:40 +00:00
.jspaint-window-content .jspaint-dialogue-button.pressed,
2014-03-06 06:11:22 +00:00
.jspaint-tool:hover:active,
.jspaint-tool.selected {
padding-bottom: 2px;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
2014-03-06 06:11:22 +00:00
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid white;
border-bottom: 1px solid white;
}
.jspaint-window-content .jspaint-dialogue-button:hover:active:before,
2015-06-19 01:11:40 +00:00
.jspaint-window-content .jspaint-dialogue-button.pressed:before,
2014-03-06 06:11:22 +00:00
.jspaint-tool:hover:active:before,
.jspaint-tool.selected:before {
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
2014-03-06 06:11:22 +00:00
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,
.jspaint-button.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;
}
.jspaint-component-ghost {
z-index: 500;
}
2014-02-25 01:01:05 +00:00
.jspaint-component-ghost.dock {
outline: 1px solid black;
/*outline: 1px solid invert;*/
2014-02-25 01:01:05 +00:00
}
.jspaint-component-ghost:not(.dock) {
outline: 1px dotted black;
/*outline: 1px dotted invert;*/
2014-02-25 01:01:05 +00:00
}
.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;*/
2014-02-25 01:01:05 +00:00
}
.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-family: 'Segoe UI', sans-serif;
font-size: 12px;
}
.jspaint-window-title {
padding-left: 2px;
}
.jspaint-window-button {
margin: 2px;
}
.jspaint-window-content {
font-family: Arial, sans-serif;
font-size: 16px;
}
.jspaint-button {
padding: 0;
vertical-align: middle;
font-family: Arial, sans-serif;
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-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-button:hover:active,
2015-06-19 01:11:40 +00:00
.jspaint-button.pressed,
.jspaint-button.selected {
border-top: 1px solid #000;
border-left: 1px solid #000;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
}
.jspaint-button:hover:active:after,
2015-06-19 01:11:40 +00:00
.jspaint-button.pressed:after,
.jspaint-button.selected:after {
border-top: 1px solid #808080;
border-left: 1px solid #808080;
border-right: 1px solid #dfdfdf;
border-bottom: 1px solid #dfdfdf;
}
.jspaint-button:before {
right: 0px;
top: -3px;
}
2015-06-19 01:11:40 +00:00
.jspaint-button:hover:active:before,
.jspaint-button.pressed:before {
right: -1px;
top: -2px;
2015-06-19 01:11:40 +00:00
}
.jspaint-button:focus {
outline: 1px dotted black;
outline-offset: -4px;
}
2015-10-13 18:56:42 +00:00
2015-10-15 15:15:27 +00:00
.help-window .item {
display: inline-block;
font-family: 'Segoe UI', sans-serif;
font-size: 12px;
padding: 0 2px;
}
2015-10-16 21:00:40 +00:00
.help-window .item:hover {
text-decoration: underline;
color: #0000ff;
cursor: pointer;
}
2015-10-13 18:56:42 +00:00
.help-window li ul {
2015-10-15 15:15:27 +00:00
padding-left: 16px;
2015-10-13 18:56:42 +00:00
}
.help-window li:before {
content: "";
display: inline-block;
2015-10-15 15:15:27 +00:00
vertical-align: middle;
2015-10-13 18:56:42 +00:00
width: 16px;
height: 16px;
background-image: url("images/help-icons.png");
background-position: 0 0;
margin-right: 2px;
}
.help-window .folder.expanded:before {
background-position: -16px 0;
}
.help-window .page:before {
background-position: -32px 0;
}
2015-10-15 15:15:27 +00:00
.help-window .item.selected {
/* @TODO: separate into :focus */
background-color: #0000aa;
color: white;
outline: 1px dotted #ffffaa;
outline-offset: -1px;
}