diff options
author | John Mayhew | 2012-05-14 12:41:47 -0700 |
---|---|---|
committer | John Mayhew | 2012-05-14 12:41:47 -0700 |
commit | 2cdefe05cdc058160093d7ab9d50a4fadd1c45fc (patch) | |
tree | 502f325916b3afe8bc05d849b5f00151ea2c08d1 /css | |
parent | ec886fe3c46f6e3e54fe4e1df769dabed5588063 (diff) | |
download | ninja-2cdefe05cdc058160093d7ab9d50a4fadd1c45fc.tar.gz |
-updated images for tag and zoom tool
-made tag and zoom tool radio group button styles consistent and removed duplicate classes
Diffstat (limited to 'css')
-rwxr-xr-x | css/ninja.css | 48 |
1 files changed, 15 insertions, 33 deletions
diff --git a/css/ninja.css b/css/ninja.css index 309c3ccd..34a29362 100755 --- a/css/ninja.css +++ b/css/ninja.css | |||
@@ -679,6 +679,14 @@ nav.menuBar ul li:hover ul, nav.menuBar ul ul li:hover ul, nav.menuBar ul ul ul | |||
679 | 679 | ||
680 | .toolColorChipIcon { width: 20px; height: 20px; margin-top: 1px; -webkit-transform: scale(0.8); background-color: #282828; } | 680 | .toolColorChipIcon { width: 20px; height: 20px; margin-top: 1px; -webkit-transform: scale(0.8); background-color: #282828; } |
681 | 681 | ||
682 | .subToolHolderPanel input.toolOptsRadioButton { background: none; width: 20px; height: 20px; display: block; margin: 0px; padding: 0px; margin-right: 5px; margin-top: 0px; background-repeat: no-repeat; opacity: 0.8; text-indent: -9999px; cursor: pointer; -webkit-border-radius: 3px; -webkit-user-select: none; border: 1px solid transparent; background-position: 1px 1px; } | ||
683 | |||
684 | .subToolHolderPanel input.toolOptsRadioButton:active { border: 1px solid transparent; } | ||
685 | |||
686 | .subToolHolderPanel input.toolOptsRadioButton:hover { opacity: 1.0; -webkit-box-shadow: 0px 0px 4px #fff; } | ||
687 | |||
688 | .subToolHolderPanel input.toolOptsRadioButton:checked { background-color: #b2b2b2; opacity: 1.0; cursor: default; -webkit-box-shadow: none; background-repeat: no-repeat; background-position: 1px 1px; } | ||
689 | |||
682 | .textBox { padding-top: 3px; min-width: 10em; margin-left: 5px; position: relative; margin-top: 0px; } | 690 | .textBox { padding-top: 3px; min-width: 10em; margin-left: 5px; position: relative; margin-top: 0px; } |
683 | 691 | ||
684 | .selectBox { width: 10em; opacity: 0.9; margin-left: 10px; float: left; display: block; background-color: #666666; border: 1px solid black; color: white; outline: none; } | 692 | .selectBox { width: 10em; opacity: 0.9; margin-left: 10px; float: left; display: block; background-color: #666666; border: 1px solid black; color: white; outline: none; } |
@@ -743,35 +751,15 @@ input[type="radio"]:disabled { opacity: .3; background: #282828; border-width: 1 | |||
743 | 751 | ||
744 | .optionLabel { margin-top: 5px; } | 752 | .optionLabel { margin-top: 5px; } |
745 | 753 | ||
746 | .tagRadioButtons input.tag-type { background: none; width: 20px; height: 20px; display: block; float: left; margin: 0px; padding: 0px; margin-right: 5px; margin-top: 0px; background-repeat: no-repeat; opacity: 0.8; text-indent: -9999px; cursor: pointer; -webkit-border-radius: 3px; -webkit-user-select: none; border: 1px solid transparent; } | 754 | .tagRadioButtons input.divTool { background-image: url("../images/optionsbar/tag/div-tag.png"); } |
747 | |||
748 | .tagRadioButtons input.tag-type { background-image: url("../images/tools/sprite-toolbar-tag.png"); } | ||
749 | |||
750 | .tagRadioButtons input.tag-type:active { border: 1px solid transparent; } | ||
751 | |||
752 | .tagRadioButtons input.tag-type:hover { opacity: 1.0; -webkit-box-shadow: 0px 0px 4px #fff; } | ||
753 | |||
754 | .tagRadioButtons input.tag-type:checked { background-color: transparent; opacity: 1.0; cursor: default; -webkit-box-shadow: none; } | ||
755 | |||
756 | .tagRadioButtons input.divTool { margin-left: 8px; background-position: -40px 0px; } | ||
757 | 755 | ||
758 | .tagRadioButtons input.divTool:checked { background-position: -40px -20px; } | 756 | .tagRadioButtons input.imageTool { background-image: url("../images/optionsbar/tag/img-tag.png"); } |
759 | 757 | ||
760 | .tagRadioButtons input.imageTool { background-position: -60px 0px; } | 758 | .tagRadioButtons input.videoTool { background-image: url("../images/optionsbar/tag/vid-tag.png"); } |
761 | 759 | ||
762 | .tagRadioButtons input.imageTool:checked { background-position: -60px -20px; } | 760 | .tagRadioButtons input.canvasTool { background-image: url("../images/optionsbar/tag/canvas-tag.png"); } |
763 | 761 | ||
764 | .tagRadioButtons input.videoTool { background-position: -100px 0px; } | 762 | .tagRadioButtons input.customTool { background-image: url("../images/optionsbar/tag/custom-tag.png"); } |
765 | |||
766 | .tagRadioButtons input.videoTool:checked { background-position: -100px -20px; } | ||
767 | |||
768 | .tagRadioButtons input.canvasTool { background-position: -20px 0px; } | ||
769 | |||
770 | .tagRadioButtons input.canvasTool:checked { background-position: -20px -20px; } | ||
771 | |||
772 | .tagRadioButtons input.customTool { background-position: 0px 0px; } | ||
773 | |||
774 | .tagRadioButtons input.customTool:checked { background-position: 0px -20px; } | ||
775 | 763 | ||
776 | .tagRadioButtons .nj-divider { height: 100%; float: left; position: relative; } | 764 | .tagRadioButtons .nj-divider { height: 100%; float: left; position: relative; } |
777 | 765 | ||
@@ -779,15 +767,9 @@ input[type="radio"]:disabled { opacity: .3; background: #282828; border-width: 1 | |||
779 | 767 | ||
780 | .tagRadioButtons select[disabled="true"].nj-skinned, .tagRadioButtons select[disabled].nj-skinned { visibility: hidden; } | 768 | .tagRadioButtons select[disabled="true"].nj-skinned, .tagRadioButtons select[disabled].nj-skinned { visibility: hidden; } |
781 | 769 | ||
782 | #zoomToolOptionHolder input#zoomInTool:checked { border-style: solid; border-width: 1px; border-color: white; background-image: url("../images/optionsbar/zoom/zoom_plus.png"); background-repeat: no-repeat; background-position: 4px 3px; } | 770 | #zoomToolOptionHolder .zoomOutToolIcon { background-image: url("../images/optionsbar/zoom/zoom_minus.png"); } |
783 | |||
784 | #zoomToolOptionHolder input#zoomOutTool:checked { border-style: solid; border-width: 1px; border-color: white; background-image: url("../images/optionsbar/zoom/zoom_minus.png"); background-repeat: no-repeat; background-position: 4px 3px; } | ||
785 | |||
786 | #zoomToolOptionHolder input#zoomInTool { border-style: solid; border-width: 1px; background-image: url("../images/optionsbar/zoom/zoom_plus.png"); background-repeat: no-repeat; background-position: 4px 3px; } | ||
787 | |||
788 | #zoomToolOptionHolder input#zoomOutTool { border-style: solid; border-width: 1px; background-image: url("../images/optionsbar/zoom/zoom_minus.png"); background-repeat: no-repeat; background-position: 4px 3px; } | ||
789 | 771 | ||
790 | #zoomToolOptionHolder input.zoom-option { background: none; } | 772 | #zoomToolOptionHolder .zoomInToolIcon { background-image: url("../images/optionsbar/zoom/zoom_plus.png"); } |
791 | 773 | ||
792 | .object3DToolContainer input.tag-type { background: none; width: 20px; height: 20px; display: block; float: left; margin: 0px; margin-right: 5px; background-repeat: no-repeat; opacity: 0.8; text-indent: -9999px; cursor: pointer; -webkit-border-radius: 3px; -webkit-user-select: none; border: 1px solid transparent; } | 774 | .object3DToolContainer input.tag-type { background: none; width: 20px; height: 20px; display: block; float: left; margin: 0px; margin-right: 5px; background-repeat: no-repeat; opacity: 0.8; text-indent: -9999px; cursor: pointer; -webkit-border-radius: 3px; -webkit-user-select: none; border: 1px solid transparent; } |
793 | 775 | ||