From 29ad6355ef60cfb3b3fc7f780504f3ed30845883 Mon Sep 17 00:00:00 2001
From: John Mayhew
Date: Mon, 7 May 2012 14:30:47 -0700
Subject: More implementation of moving color chips to the individual subtools.
Removed the tool color bar
Added new icons for inkbottle
Removed Pencil tool
Removed Inkbottle tool
Added chips to the pen, brush and tag tools
Aligned controls in several subtools
---
.../brush-properties.reel/brush-properties.css | 22 ++++++++++
.../brush-properties.reel/brush-properties.html | 29 ++++++-------
.../brush-properties.reel/brush-properties.js | 48 +++++++++++++++++++++-
.../fill-properties.reel/fill-properties.html | 2 +-
.../pen-properties.reel/pen-properties.css | 8 ++--
.../pen-properties.reel/pen-properties.html | 5 ++-
.../pencil-properties.reel/pencil-properties.css | 6 ---
.../pencil-properties.reel/pencil-properties.html | 31 --------------
.../pencil-properties.reel/pencil-properties.js | 25 -----------
.../shape-properties.reel/shape-properties.css | 7 +++-
.../shape-properties.reel/shape-properties.html | 8 ++--
.../tag-properties.reel/tag-properties.css | 16 ++++++++
.../tag-properties.reel/tag-properties.html | 10 ++++-
.../tag-properties.reel/tag-properties.js | 47 ++++++++++++++++++++-
14 files changed, 172 insertions(+), 92 deletions(-)
delete mode 100755 js/components/tools-properties/pencil-properties.reel/pencil-properties.css
delete mode 100755 js/components/tools-properties/pencil-properties.reel/pencil-properties.html
delete mode 100755 js/components/tools-properties/pencil-properties.reel/pencil-properties.js
(limited to 'js/components/tools-properties')
diff --git a/js/components/tools-properties/brush-properties.reel/brush-properties.css b/js/components/tools-properties/brush-properties.reel/brush-properties.css
index 7f1b0f7f..0912dd7e 100755
--- a/js/components/tools-properties/brush-properties.reel/brush-properties.css
+++ b/js/components/tools-properties/brush-properties.reel/brush-properties.css
@@ -3,4 +3,26 @@
No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
*/
+
+ .optionsBrushTool {
+ padding: 6px;
+}
+ .optionsBrushTool > * {
+ float:left;
+}
+
+ .optionsBrushTool .fillColorCtrl {
+ width: 20px;
+ height: 18px;
+ margin-left: 3px;
+ margin-right: 8px;
+ border: 1px black solid;
+}
+
+ .optionsBrushTool .colorCtrlIcon {
+ width: 20px;
+ height: 20px;
+ -webkit-transform: scale(0.8);
+ background-color: rgb(40, 40, 40);
+}
\ No newline at end of file
diff --git a/js/components/tools-properties/brush-properties.reel/brush-properties.html b/js/components/tools-properties/brush-properties.reel/brush-properties.html
index b0c02734..e4cd69b8 100755
--- a/js/components/tools-properties/brush-properties.reel/brush-properties.html
+++ b/js/components/tools-properties/brush-properties.reel/brush-properties.html
@@ -64,6 +64,7 @@
"prototype": "js/components/tools-properties/brush-properties.reel",
"properties": {
"element": {"#": "brushProperties"},
+ "_fillColorCtrl": {"#": "fillColorCtrl"},
"_strokeSize": {"@": "strokeSizeHT"},
"_strokeHardness": {"@": "strokeHardnessHT"},
"_doSmoothing": {"#": "doSmoothing"},
@@ -74,24 +75,24 @@
}
}
}
-
+