+Shapes, +Background, +Fill/Stroke, +Line Join

This commit is contained in:
Mahdi Dibaiee
2014-02-16 18:00:45 +03:30
parent c65a36f109
commit 7eff240187
202 changed files with 1561 additions and 349 deletions

0
Web/css/color-picker.less Normal file → Executable file
View File

0
Web/css/fonts.less Normal file → Executable file
View File

0
Web/css/fonts/MozTT-Bold.ttf Normal file → Executable file
View File

0
Web/css/fonts/MozTT-Light.ttf Normal file → Executable file
View File

0
Web/css/fonts/MozTT-Medium.ttf Normal file → Executable file
View File

0
Web/css/fonts/MozTT-Regular.ttf Normal file → Executable file
View File

0
Web/css/imgs/bg_overlay_pressed_1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 93 B

After

Width:  |  Height:  |  Size: 93 B

0
Web/css/imgs/bg_overlay_pressed_2.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 94 B

After

Width:  |  Height:  |  Size: 94 B

0
Web/css/imgs/clear.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
Web/css/imgs/div_line_lg_black.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
Web/css/imgs/div_line_sm_black.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
Web/css/imgs/download.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
Web/css/imgs/finger.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

0
Web/css/imgs/header_bg_black.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
Web/css/imgs/load.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 413 B

After

Width:  |  Height:  |  Size: 413 B

0
Web/css/imgs/menu.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 182 B

After

Width:  |  Height:  |  Size: 182 B

0
Web/css/imgs/redo.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
Web/css/imgs/settings.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

0
Web/css/imgs/undo.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

59
Web/css/main.css Normal file → Executable file
View File

@ -301,7 +301,8 @@ form[role="dialog"][data-type="value-selector"] menu button::-moz-focus-inner {
border: none;
outline: none;
}
form[role="dialog"][data-type="value-selector"] menu button {
form[role="dialog"][data-type="value-selector"] menu button,
.button {
width: calc(49.5%);
height: 3.8rem;
margin: 0 0 1rem;
@ -326,13 +327,15 @@ form[role="dialog"][data-type="value-selector"] menu button {
}
/* Press (default & affirmative) */
form[role="dialog"][data-type="value-selector"] menu button:active,
form[role="dialog"][data-type="value-selector"] menu button.affirmative:active {
form[role="dialog"][data-type="value-selector"] menu button.affirmative:active,
.button:active {
border-color: #008aaa;
background: #008aaa;
color: #333;
}
/* affirmative */
form[role="dialog"][data-type="value-selector"] menu button.affirmative {
form[role="dialog"][data-type="value-selector"] menu button.affirmative,
.button.affirmative {
background-image: url(value_selector/images/ui/affirmative.png);
background-color: #00caf2;
border-color: #008eab;
@ -344,7 +347,8 @@ form[role="dialog"][data-type="value-selector"] menu button,
form[role="dialog"][data-type="value-selector"] menu button:first-child {
margin: 0;
}
form[role="dialog"][data-type="value-selector"] menu button.full {
form[role="dialog"][data-type="value-selector"] menu button.full,
.button.full {
width: 100%;
}
/* Right to left tweaks */
@ -368,8 +372,8 @@ body {
outline: none;
}
.hidden {
display: none;
visibility: none;
display: none !important;
visibility: none !important;
}
div#container {
position: absolute;
@ -426,7 +430,8 @@ button {
left: 97%;
}
.picker,
.about {
.about,
.tour {
font-family: 'MozTT-Light';
width: 30rem;
height: 24.6rem;
@ -437,10 +442,12 @@ button {
margin-left: -15rem;
}
.picker .color-picker,
.about .color-picker {
.about .color-picker,
.tour .color-picker {
margin: 0;
}
.about {
.about,
.tour {
background: #262626;
padding: 1rem 2rem;
height: 23rem;
@ -451,22 +458,35 @@ button {
box-shadow: 0 0 0.3rem black;
}
.about a,
.tour a,
.about a:link,
.tour a:link,
.about a:visited,
.about a:active {
.tour a:visited,
.about a:active,
.tour a:active {
color: white;
}
.about .close {
.about .close,
.tour .close {
background: #262626;
color: white;
border: 1px solid gray;
}
.about p {
.about p,
.tour p {
font-size: 11pt;
}
.about span {
.about span,
.tour span {
font-size: 8pt;
}
.tour .button {
width: 30rem;
position: absolute;
bottom: 1rem;
left: 1.8rem;
}
header {
width: 100%;
height: 5.3rem;
@ -507,8 +527,9 @@ header #title {
left: -2rem;
}
#menu {
height: 100%;
width: 15rem;
height: 100%;
display: block;
background: #262626;
position: absolute;
left: -15rem;
@ -518,7 +539,7 @@ header #title {
font-size: 8pt;
transition: left 0.2s ease-out;
border-collapse: collapse;
overflow: hidden;
overflow-y: auto;
}
#menu.pulled {
left: 0;
@ -538,6 +559,9 @@ header #title {
padding: 0 0.6rem;
cursor: pointer;
}
#menu p {
width: 65%;
}
#menu span {
float: right;
font-size: 7pt;
@ -590,13 +614,14 @@ header #title {
background-image: url('imgs/redo.png');
}
#menu .options {
display: block;
display: table-row;
vertical-align: top;
margin-top: 1rem;
}
#menu .bottom {
width: 100%;
position: absolute;
bottom: 5rem;
width: 100%;
}
#menu .bottom button[class^='icon'] {
margin-left: 3.5rem;

31
Web/css/main.less Normal file → Executable file
View File

@ -3,7 +3,6 @@
@import 'seekbars';
@import 'value_selector';
html, body {
margin: 0;
font-size: 10px;
@ -20,8 +19,8 @@ html, body {
}
.hidden {
display: none;
visibility: none;
display: none !important;
visibility: none !important;
}
div#container {
@ -84,7 +83,7 @@ button {
left: 97%;
}
.picker, .about {
.picker, .about, .tour {
font-family: 'MozTT-Light';
width: 30rem;
height: 24.6rem;
@ -99,7 +98,7 @@ button {
}
}
.about {
.about, .tour {
background: #262626;
padding: 1rem 2rem;;
height: 23rem;
@ -127,6 +126,15 @@ button {
}
}
.tour {
.button {
width: 30rem;
position: absolute;
bottom: 1rem;
left: 1.8rem;
}
}
header {
width: 100%;
height: 5.3rem;
@ -174,8 +182,9 @@ header {
#menu {
height: 100%;
width: 15rem;
height: 100%;
display: block;
background: #262626;
position: absolute;
left: -15rem;
@ -185,7 +194,7 @@ header {
font-size: 8pt;
transition: left 0.2s ease-out;
border-collapse: collapse;
overflow: hidden;
overflow-y: auto;
&.pulled {
left: 0;
@ -204,6 +213,9 @@ header {
padding: 0 0.6rem;
cursor: pointer;
}
p {
width: 65%;
}
span {
float: right;
font-size: 7pt;
@ -260,13 +272,14 @@ header {
}
.options {
display: block;
display: table-row;
vertical-align: top;
margin-top: 1rem;
}
.bottom {
width: 100%;
position: absolute;
bottom: 5rem;
width: 100%;
button[class^='icon'] {
margin-left: 3.5rem;
}

0
Web/css/seekbars.less Normal file → Executable file
View File

0
Web/css/seekbars/images/ui/handler.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 636 B

After

Width:  |  Height:  |  Size: 636 B

0
Web/css/seekbars/images/ui/handler@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 960 B

After

Width:  |  Height:  |  Size: 960 B

0
Web/css/seekbars/images/ui/handler@2x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 938 B

After

Width:  |  Height:  |  Size: 938 B

0
Web/css/seekbars/seekbars.css Normal file → Executable file
View File

0
Web/css/switches.less Normal file → Executable file
View File

0
Web/css/switches/images/check/danger.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 583 B

0
Web/css/switches/images/check/danger@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 946 B

After

Width:  |  Height:  |  Size: 946 B

0
Web/css/switches/images/check/danger@2x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
Web/css/switches/images/check/default.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 583 B

0
Web/css/switches/images/check/default@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 946 B

After

Width:  |  Height:  |  Size: 946 B

0
Web/css/switches/images/check/default@2x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
Web/css/switches/images/radio/danger.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 578 B

After

Width:  |  Height:  |  Size: 578 B

0
Web/css/switches/images/radio/danger@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 893 B

After

Width:  |  Height:  |  Size: 893 B

0
Web/css/switches/images/radio/danger@2x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
Web/css/switches/images/radio/default.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 575 B

After

Width:  |  Height:  |  Size: 575 B

0
Web/css/switches/images/radio/default@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 889 B

After

Width:  |  Height:  |  Size: 889 B

0
Web/css/switches/images/radio/default@2x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
Web/css/switches/images/switch/background.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 755 B

After

Width:  |  Height:  |  Size: 755 B

0
Web/css/switches/images/switch/background@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
Web/css/switches/images/switch/background_off.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 475 B

0
Web/css/switches/images/switch/background_off@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 616 B

After

Width:  |  Height:  |  Size: 616 B

8
Web/css/value_selector.less Normal file → Executable file
View File

@ -144,7 +144,7 @@ form[role="dialog"][data-type="value-selector"] menu button::-moz-focus-inner {
outline: none;
}
form[role="dialog"][data-type="value-selector"] menu button {
form[role="dialog"][data-type="value-selector"] menu button, .button {
width: calc((100% - 1rem) / 2);
height: 3.8rem;
margin: 0 0 1rem;
@ -170,14 +170,14 @@ form[role="dialog"][data-type="value-selector"] menu button {
/* Press (default & affirmative) */
form[role="dialog"][data-type="value-selector"] menu button:active,
form[role="dialog"][data-type="value-selector"] menu button.affirmative:active {
form[role="dialog"][data-type="value-selector"] menu button.affirmative:active, .button:active {
border-color: #008aaa;
background: #008aaa;
color: #333;
}
/* affirmative */
form[role="dialog"][data-type="value-selector"] menu button.affirmative {
form[role="dialog"][data-type="value-selector"] menu button.affirmative, .button.affirmative {
background-image: url(value_selector/images/ui/affirmative.png);
background-color: #00caf2;
border-color: #008eab;
@ -192,7 +192,7 @@ form[role="dialog"][data-type="value-selector"] menu button:first-child {
margin: 0;
}
form[role="dialog"][data-type="value-selector"] menu button.full {
form[role="dialog"][data-type="value-selector"] menu button.full, .button.full {
width: 100%;
}

0
Web/css/value_selector/images/icons/checked.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 177 B

After

Width:  |  Height:  |  Size: 177 B

0
Web/css/value_selector/images/icons/checked@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 392 B

After

Width:  |  Height:  |  Size: 392 B

0
Web/css/value_selector/images/icons/checked@2x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 601 B

After

Width:  |  Height:  |  Size: 601 B

0
Web/css/value_selector/images/ui/affirmative.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 101 B

After

Width:  |  Height:  |  Size: 101 B

0
Web/css/value_selector/images/ui/default.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 82 B

After

Width:  |  Height:  |  Size: 82 B

0
Web/css/value_selector/images/ui/gradient.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

0
Web/css/value_selector/images/ui/gradient@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

0
Web/css/value_selector/images/ui/pattern.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

0
Web/css/value_selector/images/ui/shadow-invert.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 83 B

After

Width:  |  Height:  |  Size: 83 B

View File

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 154 B

0
Web/css/value_selector/images/ui/shadow-invert@2x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 86 B

After

Width:  |  Height:  |  Size: 86 B

0
Web/css/value_selector/images/ui/shadow.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 82 B

After

Width:  |  Height:  |  Size: 82 B

0
Web/css/value_selector/images/ui/shadow@1.5x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 154 B

0
Web/css/value_selector/images/ui/shadow@2x.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 87 B

After

Width:  |  Height:  |  Size: 87 B