aboutsummaryrefslogtreecommitdiff
path: root/css/ninja.css
diff options
context:
space:
mode:
authorJohn Mayhew2012-05-08 09:55:02 -0700
committerJohn Mayhew2012-05-08 09:55:02 -0700
commit7dedf0735eec1d227b21291e1bb43dcdec93cbf3 (patch)
tree9afc0fec1009649303f64552c9cdd40e772aeb37 /css/ninja.css
parentdd663d8fe9191cc57c9cebe6d425562cb45982c2 (diff)
downloadninja-7dedf0735eec1d227b21291e1bb43dcdec93cbf3.tar.gz
-Removed id dependence of the tag tool options CSS
-Separated the options3d CSS from the tag tool options css -Removed unused translateObjectToolContainer CSS class
Diffstat (limited to 'css/ninja.css')
-rwxr-xr-xcss/ninja.css62
1 files changed, 36 insertions, 26 deletions
diff --git a/css/ninja.css b/css/ninja.css
index 2acfcb5d..9740317d 100755
--- a/css/ninja.css
+++ b/css/ninja.css
@@ -763,49 +763,41 @@ input[type="radio"]:disabled { opacity: .3; background: #282828; border-width: 1
763 763
764.optionLabel { margin-top: 5px; } 764.optionLabel { margin-top: 5px; }
765 765
766#tagToolContainer input.tag-type, #rotateObjectToolContainer input.tag-type, #translateObjectToolContainer input.tag-type { background: none; width: 20px; height: 20px; display: block; float: left; margin: 0px; padding: 0px; margin-right: 5px; margin-top: 4px; background-repeat: no-repeat; opacity: 0.8; text-indent: -9999px; cursor: pointer; -webkit-border-radius: 3px; -webkit-user-select: none; border: 1px solid transparent; } 766.tagRadioButtons input.tag-type { background: none; width: 20px; height: 20px; display: block; float: left; margin: 0px; padding: 0px; margin-right: 5px; margin-top: 4px; background-repeat: no-repeat; opacity: 0.8; text-indent: -9999px; cursor: pointer; -webkit-border-radius: 3px; -webkit-user-select: none; border: 1px solid transparent; }
767 767
768#tagToolContainer input.tag-type { background-image: url("../images/tools/sprite-toolbar-tag.png"); } 768.tagRadioButtons input.tag-type { background-image: url("../images/tools/sprite-toolbar-tag.png"); }
769 769
770#rotateObjectToolContainer input.tag-type { background-image: url("../images/tools/sprite-toolbar-3d.png"); } 770.tagRadioButtons input.tag-type:active { border: 1px solid transparent; }
771 771
772#translateObjectToolContainer input.tag-type { background-image: url("../images/tools/sprite-toolbar-3d.png"); } 772.tagRadioButtons input.tag-type:hover { opacity: 1.0; -webkit-box-shadow: 0px 0px 4px #fff; }
773 773
774#tagToolContainer input.tag-type:active, #rotateObjectToolContainer input.tag-type:active, #translateObjectToolContainer input.tag-type:active { border: 1px solid transparent; } 774.tagRadioButtons input.tag-type:checked { background-color: transparent; opacity: 1.0; cursor: default; -webkit-box-shadow: none; }
775 775
776#tagToolContainer input.tag-type:hover, #rotateObjectToolContainer input.tag-type:hover, #translateObjectToolContainer input.tag-type:hover { opacity: 1.0; -webkit-box-shadow: 0px 0px 4px #fff; } 776.tagRadioButtons input.divTool { background-position: -40px 0px; }
777 777
778#tagToolContainer input.tag-type:checked, #rotateObjectToolContainer input.tag-type:checked, #translateObjectToolContainer input.tag-type:checked { background-color: transparent; opacity: 1.0; cursor: default; -webkit-box-shadow: none; } 778.tagRadioButtons input.divTool:checked { background-position: -40px -20px; }
779 779
780#tagToolContainer input#divTool { background-position: -40px 0px; } 780.tagRadioButtons input.imageTool { background-position: -60px 0px; }
781 781
782#tagToolContainer input#divTool:checked { background-position: -40px -20px; } 782.tagRadioButtons input.imageTool:checked { background-position: -60px -20px; }
783 783
784#tagToolContainer input#imageTool { background-position: -60px 0px; } 784.tagRadioButtons input.videoTool { background-position: -100px 0px; }
785 785
786#tagToolContainer input#imageTool:checked { background-position: -60px -20px; } 786.tagRadioButtons input.videoTool:checked { background-position: -100px -20px; }
787 787
788#tagToolContainer input#videoTool { background-position: -100px 0px; } 788.tagRadioButtons input.canvasTool { background-position: -20px 0px; }
789 789
790#tagToolContainer input#videoTool:checked { background-position: -100px -20px; } 790.tagRadioButtons input.canvasTool:checked { background-position: -20px -20px; }
791 791
792#tagToolContainer input#canvasTool, #rotateObjectToolContainer input#rotateLocally, #translateObjectToolContainer input#translateLocally { background-position: -20px 0px; } 792.tagRadioButtons input.customTool { background-position: 0px 0px; }
793 793
794#tagToolContainer input#canvasTool:checked, #rotateObjectToolContainer input#rotateLocally:checked, #translateObjectToolContainer input#translateLocally:checked { background-position: -20px -20px; } 794.tagRadioButtons input.customTool:checked { background-position: 0px -20px; }
795 795
796#tagToolContainer input#flashTool { background-position: -80px 0px; } 796.tagRadioButtons .nj-divider { height: 100%; float: left; position: relative; top: 5px; }
797 797
798#tagToolContainer input#flashTool:checked { background-position: -80px -20px; } 798.tagRadioButtons select.nj-skinned { visibility: visible; position: relative; }
799 799
800#tagToolContainer input#customTool, #rotateObjectToolContainer input#rotateGlobally, #translateObjectToolContainer input#translateGlobally { background-position: 0px 0px; } 800.tagRadioButtons select[disabled="true"].nj-skinned, .tagRadioButtons select[disabled].nj-skinned { visibility: hidden; }
801
802#tagToolContainer input#customTool:checked, #rotateObjectToolContainer input#rotateGlobally:checked, #translateObjectToolContainer input#translateGlobally:checked { background-position: 0px -20px; }
803
804#tagToolContainer .nj-divider { height: 100%; float: left; position: relative; top: 5px; }
805
806#tagToolContainer select.nj-skinned { visibility: visible; position: relative; }
807
808#tagToolContainer select[disabled="true"].nj-skinned, #tagToolContainer select[disabled].nj-skinned { visibility: hidden; }
809 801
810#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; } 802#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; }
811 803
@@ -817,6 +809,24 @@ input[type="radio"]:disabled { opacity: .3; background: #282828; border-width: 1
817 809
818#zoomToolOptionHolder input.zoom-option { background: none; } 810#zoomToolOptionHolder input.zoom-option { background: none; }
819 811
812.object3DToolContainer input.tag-type { background: none; width: 20px; height: 20px; display: block; float: left; margin: 0px; padding: 0px; margin-right: 5px; margin-top: 4px; background-repeat: no-repeat; opacity: 0.8; text-indent: -9999px; cursor: pointer; -webkit-border-radius: 3px; -webkit-user-select: none; border: 1px solid transparent; }
813
814.object3DToolContainer input.tag-type { background-image: url("../images/tools/sprite-toolbar-3d.png"); }
815
816.object3DToolContainer input.tag-type:active { border: 1px solid transparent; }
817
818.object3DToolContainer input.tag-type:hover { opacity: 1.0; -webkit-box-shadow: 0px 0px 4px #fff; }
819
820.object3DToolContainer input.tag-type:checked { background-color: transparent; opacity: 1.0; cursor: default; -webkit-box-shadow: none; }
821
822.object3DToolContainer input.rotateLocally { background-position: -20px 0px; }
823
824.object3DToolContainer input.rotateLocally:checked { background-position: -20px -20px; }
825
826.object3DToolContainer input.rotateGlobally { background-position: 0px 0px; }
827
828.object3DToolContainer input.rotateGlobally:checked { background-position: 0px -20px; }
829
820#toolsPanelContent { width: 40px; } 830#toolsPanelContent { width: 40px; }
821 831
822.toolsList { width: 29px; margin: auto; } 832.toolsList { width: 29px; margin: auto; }