Commit 0754f182 authored by Luc Didry's avatar Luc Didry
Browse files

Fix #13 and fix #14

- text and rectangle transparency
- choose text font
parent 2a5931d6
SIL OPEN FONT LICENSE
Version 1.1 - 26 February 2007
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting — in part or in whole — any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
© 2003-2014 SIL International, all rights reserved, unless otherwise noted elsewhere on this page.
Provided by SIL's Non-Roman Script Initiative. Contact us here: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=support
\ No newline at end of file
SIL OPEN FONT LICENSE
Version 1.1 - 26 February 2007
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting — in part or in whole — any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
© 2003-2014 SIL International, all rights reserved, unless otherwise noted elsewhere on this page.
Provided by SIL's Non-Roman Script Initiative. Contact us here: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=support
\ No newline at end of file
## License
Hack Copyright 2015, Christopher Simpkins with Reserved Font Name "Hack".
Bitstream Vera Sans Mono Copyright 2003 Bitstream Inc. and licensed under the Bitstream Vera License with Reserved Font Names "Bitstream" and "Vera"
DejaVu modifications of the original Bitstream Vera Sans Mono typeface have been committed to the public domain.
This Font Software is licensed under the Hack Open Font License v2.0 and the Bitstream Vera License.
These licenses are copied below.
### Hack Open Font License v2.0
(Version 1.0 - 06 September 2015)
(Version 2.0 - 27 September 2015)
Copyright 2015 by Christopher Simpkins. All Rights Reserved.
DEFINITIONS
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION AND CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated source code, documentation, and binary files (the "Font Software"), to reproduce and distribute the modifications to the Bitstream Vera Font Software, including without limitation the rights to use, study, copy, merge, embed, modify, redistribute, and/or sell modified or unmodified copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions:
(1) The above copyright notice and this permission notice shall be included in all modified and unmodified copies of the Font Software typefaces. These notices can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
(2) The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing the word "Hack".
(3) Neither the Font Software nor any of its individual components, in original or modified versions, may be sold by itself.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
Except as contained in this notice, the names of Christopher Simpkins and the Author(s) of the Font Software shall not be used to promote, endorse or advertise any modified version, except to acknowledge the contribution(s) of Christopher Simpkins and the Author(s) or with their explicit written permission. For further information, contact: chris at sourcefoundry dot org.
### BITSTREAM VERA LICENSE
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions:
The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera".
This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names.
The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org.
SIL OPEN FONT LICENSE
Version 1.1 - 26 February 2007
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting — in part or in whole — any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
© 2003-2014 SIL International, all rights reserved, unless otherwise noted elsewhere on this page.
Provided by SIL's Non-Roman Script Initiative. Contact us here: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=support
\ No newline at end of file
<!-- vim:set sw=4 ts=4 sts=4 ft=html expandtab: -->
<!DOCTYPE html>
<html lang="en">
<head>
......@@ -23,8 +24,9 @@
<a class="dropdown-item" href="#" data-setting="hide-settings">Home</a>
<a class="dropdown-item" href="#" data-setting="set-corner-shape">Sticker shape</a>
<a class="dropdown-item" href="#" data-setting="set-colors">Colors</a>
<a class="dropdown-item" href="#" data-setting="set-fonts">Fonts</a>
<a class="dropdown-item" href="#" data-setting="set-bg">Background</a>
<a class="dropdown-item" href="#" data-setting="set-positions">Positions and sizes</a>
<a class="dropdown-item" href="#" data-setting="set-positions">Positions</a>
</div>
</li>
<li class="nav-item">
......@@ -61,11 +63,14 @@
<li class="nav-item">
<a class="nav-link" href="#" data-setting="set-colors">Colors</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-setting="set-fonts">Fonts</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-setting="set-bg">Background</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-setting="set-positions">Positions and sizes</a>
<a class="nav-link" href="#" data-setting="set-positions">Positions</a>
</li>
</ul>
</nav>
......@@ -100,10 +105,10 @@
<div class="row text-center">
<div class="col-md-12 col-lg-6 d-none text-left" id="settings">
<div class="row d-none" id="set-corner-shape">
<div class="col">
<div class="col-12">
<div class="row">
<label for="corners" class="col-sm-12 col-md-4">Corner shape</label>
<div class="col-sm-12 col-md-8">
<label for="corners" class="col-sm-12 col-md-6">Corner shape</label>
<div class="col-sm-12 col-md-6">
<select id="corners" class="form-control">
<option value="20" selected>Rounded corners</option>
<option value="0">Square corners</option>
......@@ -114,40 +119,160 @@
</div>
<div class="row d-none" id="set-colors">
<div class="col-12">
<div class="row wemake text-center">
First line
</div>
<div class="row">
<div class="col-sm-12 col-md-6">
<div class="col-sm-12">
<div class="row">
<label for="wemake-color" class="col-sm-12 col-md-8">First line color</label>
<div class="col-sm-12 col-md-4">
<label for="wemake-color" class="col-sm-12 col-md-6 color">Color</label>
<div class="col-sm-12 col-md-6">
<input id="wemake-color" type="color" value="#000000" class="form-control">
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div class="col-sm-12">
<div class="row">
<label for="wemake-alpha" class="col-sm-12 col-md-6 transparency">Transparency</label>
<div class="col-sm-12 col-md-6 input-group">
<input id="wemake-alpha" type="number" min="0" max="100" value="0" class="form-control">
<div class="input-group-addon">%</div>
</div>
</div>
</div>
</div>
<div class="row porn text-center">
Second line
</div>
<div class="row">
<div class="col-sm-12">
<div class="row">
<label for="porn-color" class="col-sm-12 col-md-8">Second line color</label>
<div class="col-sm-12 col-md-4">
<label for="porn-color" class="col-sm-12 col-md-6 color">Color</label>
<div class="col-sm-12 col-md-6">
<input id="porn-color" type="color" value="#000000" class="form-control">
</div>
</div>
</div>
<div class="col-sm-12">
<div class="row">
<label for="porn-alpha" class="col-sm-12 col-md-6 transparency">ransparency</label>
<div class="col-sm-12 col-md-6 input-group">
<input id="porn-alpha" type="number" min="0" max="100" value="0" class="form-control">
<div class="input-group-addon">%</div>
</div>
</div>
</div>
</div>
<div class="row rectangle text-center">
Rectangle
</div>
<div class="row">
<div class="col-sm-12">
<div class="row">
<label for="rect-color" class="col-sm-12 col-md-6 color">Color</label>
<div class="col-sm-12 col-md-6">
<input id="rect-color" type="color" value="#000000" class="form-control">
</div>
</div>
</div>
<div class="col-sm-12">
<div class="row">
<label for="rect-alpha" class="col-sm-12 col-md-6 transparency">Transparency</label>
<div class="col-sm-12 col-md-6 input-group">
<input id="rect-alpha" type="number" min="0" max="100" value="0" class="form-control">
<div class="input-group-addon">%</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="row">
<a href="#" id="switch-colors" class="btn btn-info">Switch texts' colors</a>
</div>
</div>
</div>
</div>
</div>
<div class="row d-none" id="set-fonts">
<div class="col-12">
<div class="row wemake text-center">
First line
</div>
<div class="row">
<div class="col-sm-12 col-md-6">
<div class="col-sm-12">
<div class="row">
<label for="rect-color" class="col-sm-12 col-md-8">Rectangle color</label>
<div class="col-sm-12 col-md-4">
<input id="rect-color" type="color" value="#000000" class="form-control">
<label for="wemake-font" class="col-sm-12 col-md-6 font">Font</label>
<div class="col-sm-12 col-md-6">
<select id="wemake-font" class="form-control">
<option value="sans-serif" selected>Sans serif</option>
<option value="Comic Spice">Comic Spice</option>
<option value="Comic Neue">Comic Neue</option>
<option value="Hack">Hack</option>
<option value="Nosifer">Nosifer</option>
</select>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div class="col-sm-12">
<div class="row">
<a href="#" id="switch-colors" class="btn btn-info">Switch texts' colors</a>
<label for="wemake-font-style" class="col-sm-12 col-md-6 style">Style</label>
<div class="col-sm-12 col-md-6">
<select id="wemake-font-style" class="form-control">
<option value="regular">Regular</option>
<option value="bold" selected>Bold</option>
<option value="italic">Italic</option>
<option value="italic bold">Bold italic</option>
</select>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="row">
<label for="wemake-size" class="col-sm-12 col-md-6 text-size">Text size</label>
<div class="col-sm-12 col-md-6">
<input id="wemake-size" type="number" min="1" value="150" class="form-control">
</div>
</div>
</div>
</div>
<div class="row porn text-center">
Second line
</div>
<div class="row">
<div class="col-sm-12">
<div class="row">
<label for="porn-font" class="col-sm-12 col-md-6 font">Font</label>
<div class="col-sm-12 col-md-6">
<select id="porn-font" class="form-control">
<option value="sans-serif" selected>Sans serif</option>
<option value="Comic Spice">Comic Spice</option>
<option value="Comic Neue">Comic Neue</option>
<option value="Hack">Hack</option>
<option value="Nosifer">Nosifer</option>
</select>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="row">
<label for="porn-font-style" class="col-sm-12 col-md-6 style">Style</label>
<div class="col-sm-12 col-md-6">
<select id="porn-font-style" class="form-control">
<option value="regular">Regular</option>
<option value="bold" selected>Bold</option>
<option value="italic">Italic</option>
<option value="italic bold">Bold italic</option>
</select>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="row">
<label for="porn-size" class="col-sm-12 col-md-6 text-size">Text size</label>
<div class="col-sm-12 col-md-6">
<input id="porn-size" type="number" min="1" value="220" class="form-control">
</div>
</div>
</div>
</div>
......@@ -175,9 +300,9 @@
</div>
</div>
<div class="row" id="bg-color">
<label for="color" class="col-sm-12 col-md-6">Background color</label>
<label for="bgu-color" class="col-sm-12 col-md-6">Background color</label>
<div class="col-sm-12 col-md-6">
<input id="color" type="color" value="#fcd205" class="form-control">
<input id="bgu-color" type="color" value="#fcd205" class="form-control">
</div>
</div>
<div class="d-none" id="gradient-settings">
......@@ -249,42 +374,36 @@
</div>
<div class="row d-none" id="set-positions">
<div class="col">
<div class="row wemake text-center">
First line
</div>
<div class="row">
<label for="wemake-x" class="col-sm-12 col-md-8">First line x position</label>
<label for="wemake-x" class="col-sm-12 col-md-8 x-position">x position</label>
<div class="col-sm-12 col-md-4">
<input id="wemake-x" type="number" min="0" value="400" class="form-control">
</div>
</div>
<div class="row">
<label for="wemake-y" class="col-sm-12 col-md-8">First line y position</label>
<label for="wemake-y" class="col-sm-12 col-md-8 y-position">y position</label>
<div class="col-sm-12 col-md-4">
<input id="wemake-y" type="number" min="0" value="160" class="form-control">
</div>
</div>
<div class="row">
<label for="wemake-size" class="col-sm-12 col-md-8">First line text size</label>
<div class="col-sm-12 col-md-4">
<input id="wemake-size" type="number" min="1" value="150" class="form-control">
</div>
<div class="row porn text-center">
Second line
</div>
<div class="row">
<label for="porn-x" class="col-sm-12 col-md-8">Second line x position</label>
<label for="porn-x" class="col-sm-12 col-md-8 x-position">x position</label>
<div class="col-sm-12 col-md-4">
<input id="porn-x" type="number" min="0" value="400" class="form-control">
</div>
</div>
<div class="row">
<label for="porn-y" class="col-sm-12 col-md-8">Second line y position</label>
<label for="porn-y" class="col-sm-12 col-md-8 y-position">y position</label>
<div class="col-sm-12 col-md-4">