Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 2 additions & 42 deletions css/agency.css
Original file line number Diff line number Diff line change
@@ -1,44 +1,4 @@

* Start Bootstrap

-
Agency v3

.3
.7
+
1
(
http:

/
/
startbootstrap.com /template-overviews/ agency

)
* Copyright

2013
-
2016
Start Bootstrap
* Licensed under MIT

(
https:

/
/
github.com /BlackrockDigital/ startbootstrap /blob/ gh-pages

/
LICENSE

)
*

/
body {
* Start Bootstrap - Agency v3 .3 .7 + 1 ( http: / / startbootstrap.com /template-overviews/ agency) * Copyright 2013 - 2016 Start Bootstrap * Licensed under MIT ( https: / / github.com /BlackrockDigital/ startbootstrap /blob/ gh-pages / LICENSE) * / body {
overflow-x: hidden;
font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
Expand Down Expand Up @@ -918,4 +878,4 @@ img::-moz-selection {

body {
webkit-tap-highlight-color: #4CAF50;
}
}
203 changes: 101 additions & 102 deletions css/drawingboard.css
Original file line number Diff line number Diff line change
@@ -1,112 +1,113 @@
.drawing-board {
text-align: center;
text-align: center;
}

canvas {
background: #fff;
display: block;
margin: auto;
border-radius: 5px;
border: 5px solid black;
cursor: url(../img/cursor.png), crosshair;
background: #fff;
display: block;
margin: auto;
border-radius: 5px;
border: 5px solid black;
cursor: url(../img/cursor.png), crosshair;
width: 50%;
}

.controls {
min-height: 60px;
margin: 0 auto;
width: 600px;
border-radius: 5px;
overflow: hidden;
min-height: 60px;
margin: 0 auto;
width: 600px;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind changing this to make the colours and "New Color" button scalable for mobile too?

(ie width: 100%; instead of width:600px;)

border-radius: 5px;
overflow: hidden;
}

.db-ul {
list-style: none;
margin: 0;
float: left;
padding: 10px 0 20px;
width: 100%;
text-align: center;
list-style: none;
margin: 0;
float: left;
padding: 10px 0 20px;
width: 100%;
text-align: center;
}

.db-ul li,
#newColor {
display: block;
height: 54px;
width: 54px;
border-radius: 60px;
cursor: pointer;
border: 0;
box-shadow: 0 3px 0 0 #222;
display: block;
height: 54px;
width: 54px;
border-radius: 60px;
cursor: pointer;
border: 0;
box-shadow: 0 3px 0 0 #222;
}

.db-ul li {
display: inline-block;
margin: 0 5px 10px;
display: inline-block;
margin: 0 5px 10px;
}

.red {
background: #fc4c4f;
background: #fc4c4f;
}

.blue {
background: #4fa3fc;
background: #4fa3fc;
}

.yellow {
background: #ECD13F;
background: #ECD13F;
}

.selected {
border: 7px solid #fff;
width: 40px;
height: 40px;
border: 7px solid #fff;
width: 40px;
height: 40px;
}

button {
background: #4CAF50;
color: #fff;
outline: none;
cursor: pointer;
display: block;
font-size: 16px;
line-height: 40px;
background: #4CAF50;
color: #fff;
outline: none;
cursor: pointer;
display: block;
font-size: 16px;
line-height: 40px;
}

#revealColorSelect {
border: none;
border-radius: 5px;
margin: 10px auto;
padding: 5px 20px;
width: 160px;
border: none;
border-radius: 5px;
margin: 10px auto;
padding: 5px 20px;
width: 160px;
}


/* New Color Palette */

#colorSelect {
background: #fff;
border-radius: 5px;
clear: both;
margin: 20px auto 0;
padding: 10px;
width: 305px;
position: relative;
display: none;
background: #fff;
border-radius: 5px;
clear: both;
margin: 20px auto 0;
padding: 10px;
width: 305px;
position: relative;
display: none;
}

#colorSelect:after {
bottom: 100%;
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(255, 255, 255, 0);
border-bottom-color: #fff;
border-width: 10px;
margin-left: -10px;
bottom: 100%;
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(255, 255, 255, 0);
border-bottom-color: #fff;
border-width: 10px;
margin-left: -10px;
}

#linear_gradient {
Expand All @@ -116,40 +117,38 @@ button {
height: 100px;
top: 0;
bottom: 0;
background-image: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.1),rgba(0,0,0,0.05),transparent,transparent)

#newColor {
width: 80px;
height: 80px;
border-radius: 3px;
box-shadow: none;
float: left;
border: none;
margin: 10px 20px 20px 10px;
}

.sliders p {
margin: 8px 0;
vertical-align: middle;
}

.sliders label {
display: inline-block;
margin: 0 10px 0 0;
width: 35px;
font-size: 14px;
color: #6D574E;
}

.sliders input {
position: relative;
top: 2px;
}

#colorSelect button {
border: none;
clear: both;
margin: 10px -10px -7px;
padding: 5px 10px;
width: 325px;
}
background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05), transparent, transparent) #newColor {
width: 80px;
height: 80px;
border-radius: 3px;
box-shadow: none;
float: left;
border: none;
margin: 10px 20px 20px 10px;
}

.sliders p {
margin: 8px 0;
vertical-align: middle;
}

.sliders label {
display: inline-block;
margin: 0 10px 0 0;
width: 35px;
font-size: 14px;
color: #6D574E;
}

.sliders input {
position: relative;
top: 2px;
}

#colorSelect button {
border: none;
clear: both;
margin: 10px -10px -7px;
padding: 5px 10px;
width: 325px;
}
Loading