fix chrome bug with sticker dragging
This commit is contained in:
parent
cdcafae858
commit
165a83e283
4 changed files with 79 additions and 58 deletions
|
@ -7,32 +7,32 @@ body {
|
||||||
color: #333;
|
color: #333;
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
xbackground-image: -webkit-gradient(radial, 265 118, 456, 147 0, 29, from(#DDDDDD), to(#f3f3f3));
|
xbackground-image: -webkit-gradient(radial, 265 118, 456, 147 0, 29, from(#DDDDDD), to(#f3f3f3));
|
||||||
|
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
|
||||||
xheight: 1400px;
|
xheight: 1400px;
|
||||||
xwidth: 2000px;
|
xwidth: 2000px;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
-o-user-select:none;
|
-o-user-select:none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-khtml-user-select: none;
|
-khtml-user-select: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
|
||||||
background-image: url('/css/bg/concrete_wall_2_2.png');
|
background-image: url('/css/bg/concrete_wall_2_2.png');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#board {
|
#board {
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: #dcd5d1;
|
background-color: #dcd5d1;
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
xwidth: 980px;
|
xwidth: 980px;
|
||||||
xborder: solid silver 8px;
|
xborder: solid silver 8px;
|
||||||
|
|
||||||
background-image: -webkit-gradient(
|
background-image: -webkit-gradient(
|
||||||
linear,
|
linear,
|
||||||
left top,
|
left top,
|
||||||
|
@ -40,9 +40,9 @@ body {
|
||||||
color-stop(0.49, rgb(214,210,206)),
|
color-stop(0.49, rgb(214,210,206)),
|
||||||
color-stop(0.84, rgb(196,191,182))
|
color-stop(0.84, rgb(196,191,182))
|
||||||
);
|
);
|
||||||
|
|
||||||
xbackground: -moz-linear-gradient(top, rgb(214,210,206), #000);
|
xbackground: -moz-linear-gradient(top, rgb(214,210,206), #000);
|
||||||
|
|
||||||
-webkit-box-shadow:inset 1px 1px 3px #999;
|
-webkit-box-shadow:inset 1px 1px 3px #999;
|
||||||
-moz-box-shadow:inset 1px 1px 3px #999;
|
-moz-box-shadow:inset 1px 1px 3px #999;
|
||||||
box-shadow:inset 1px 1px 3px #999;
|
box-shadow:inset 1px 1px 3px #999;
|
||||||
|
@ -53,13 +53,13 @@ body {
|
||||||
display: block;
|
display: block;
|
||||||
width: 996px;
|
width: 996px;
|
||||||
height: 466px;
|
height: 466px;
|
||||||
|
|
||||||
xmargin-left: auto;
|
xmargin-left: auto;
|
||||||
xmargin-right: auto;
|
xmargin-right: auto;
|
||||||
|
|
||||||
-webkit-box-shadow: 1px 3px 2px #aaa;
|
-webkit-box-shadow: 1px 3px 2px #aaa;
|
||||||
-moz-box-shadow: 1px 3px 2px #999;
|
-moz-box-shadow: 1px 3px 2px #999;
|
||||||
|
|
||||||
x-webkit-transform:rotate(0.3deg); /*"is that a little off-level? i feel like it is off-level"*/
|
x-webkit-transform:rotate(0.3deg); /*"is that a little off-level? i feel like it is off-level"*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ width: 16px; height: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-icon-hover {
|
.card-icon-hover {
|
||||||
opacity: .9;
|
opacity: .9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-edit-form, .card-edit-form input, .card-edit-form textarea {
|
.card-edit-form, .card-edit-form input, .card-edit-form textarea {
|
||||||
|
@ -108,7 +108,7 @@ width: 16px; height: 16px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #330066;
|
color: #330066;
|
||||||
color: #666;
|
color: #666;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ width: 16px; height: 16px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h1 a {
|
h1, h1 a {
|
||||||
|
@ -157,12 +157,12 @@ h1, h1 a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-family: 'Rock Salt', "Arial Rounded MT Bold", arial, serif;
|
font-family: 'Rock Salt', "Arial Rounded MT Bold", arial, serif;
|
||||||
color: #5c9db4;
|
color: #5c9db4;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom-icon {
|
.bottom-icon {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
opacity: .4;
|
opacity: .4;
|
||||||
|
@ -223,7 +223,7 @@ h2 {
|
||||||
letter-spacing: 4px;
|
letter-spacing: 4px;
|
||||||
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", 'Helvetica Neue', arial, serif;
|
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", 'Helvetica Neue', arial, serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.names p {
|
.names p {
|
||||||
|
@ -241,45 +241,45 @@ h2 {
|
||||||
}
|
}
|
||||||
|
|
||||||
.names input {
|
.names input {
|
||||||
padding: 0; //2px 8px 2px 2px;
|
padding: 0; //2px 8px 2px 2px;
|
||||||
border: none;
|
border: none;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
|
background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
|
||||||
background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
|
background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
|
||||||
|
|
||||||
background: none;
|
background: none;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
color: #666;
|
color: #666;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", 'Helvetica Neue', arial, serif;
|
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", 'Helvetica Neue', arial, serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
letter-spacing: 4px;
|
letter-spacing: 4px;
|
||||||
margin:0;
|
margin:0;
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.names input:hover {
|
.names input:hover {
|
||||||
padding: 2px 2px 2px 2px;
|
padding: 2px 2px 2px 2px;
|
||||||
xborder: solid 1px #E5E5E5;
|
xborder: solid 1px #E5E5E5;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
|
background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
|
||||||
background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
|
background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
|
||||||
xopacity: .5;
|
xopacity: .5;
|
||||||
background: none;
|
background: none;
|
||||||
box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
|
box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
|
||||||
-moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
|
-moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
|
||||||
-webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
|
-webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", 'Helvetica Neue', arial, serif;
|
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", 'Helvetica Neue', arial, serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
letter-spacing: 4px;
|
letter-spacing: 4px;
|
||||||
margin:0;
|
margin:0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.names .focused {
|
.names .focused {
|
||||||
|
@ -298,10 +298,13 @@ xopacity: .5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sticker {
|
.sticker {
|
||||||
padding-top: 3px;
|
xpadding-top: 3px;
|
||||||
padding-left: 2px;
|
xpadding-left: 2px;
|
||||||
xz-index:10;
|
xz-index:10;
|
||||||
display: inline;
|
display: inline-block;
|
||||||
|
width: 11px;
|
||||||
|
height: 11px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stickers {
|
.stickers {
|
||||||
|
@ -316,6 +319,34 @@ xopacity: .5;
|
||||||
padding: 0; margin 0;
|
padding: 0; margin 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#sticker-red {
|
||||||
|
background-image: url('/images/stickers/sticker-red.png');
|
||||||
|
}
|
||||||
|
#sticker-blue {
|
||||||
|
background-image: url('/images/stickers/sticker-blue.png');
|
||||||
|
}
|
||||||
|
#sticker-yellow {
|
||||||
|
background-image: url('/images/stickers/sticker-yellow.png');
|
||||||
|
}
|
||||||
|
#sticker-green {
|
||||||
|
background-image: url('/images/stickers/sticker-green.png');
|
||||||
|
}
|
||||||
|
#sticker-pink {
|
||||||
|
background-image: url('/images/stickers/sticker-pink.png');
|
||||||
|
}
|
||||||
|
#sticker-lightblue {
|
||||||
|
background-image: url('/images/stickers/sticker-lightblue.png');
|
||||||
|
}
|
||||||
|
#sticker-orange {
|
||||||
|
background-image: url('/images/stickers/sticker-orange.png');
|
||||||
|
}
|
||||||
|
#sticker-purple {
|
||||||
|
background-image: url('/images/stickers/sticker-purple.png');
|
||||||
|
}
|
||||||
|
#nosticker {
|
||||||
|
background-image: url('/images/stickers/sticker-deletestar.png');
|
||||||
|
}
|
||||||
|
|
||||||
#sticker-nostar {
|
#sticker-nostar {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 3px;
|
top: 3px;
|
||||||
|
@ -467,11 +498,11 @@ input:hover {
|
||||||
font-family: 'Covered By Your Grace',"Arial Rounded MT Bold", arial, serif;
|
font-family: 'Covered By Your Grace',"Arial Rounded MT Bold", arial, serif;
|
||||||
color: #19ba98;
|
color: #19ba98;
|
||||||
color: black;
|
color: black;
|
||||||
|
|
||||||
xborder: solid 1px;
|
xborder: solid 1px;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.notice-bar {
|
.notice-bar {
|
||||||
|
@ -551,4 +582,3 @@ input:hover {
|
||||||
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
|
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
|
||||||
|
|
||||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 2.9 KiB |
|
@ -14,8 +14,8 @@ block body
|
||||||
div#board-doodles
|
div#board-doodles
|
||||||
image#marker(src='/images/marker.png')
|
image#marker(src='/images/marker.png')
|
||||||
image#eraser(src='/images/eraser.png')
|
image#eraser(src='/images/eraser.png')
|
||||||
|
|
||||||
|
|
||||||
table#board-table.board-table
|
table#board-table.board-table
|
||||||
tr
|
tr
|
||||||
td#icon-col(width='1%')
|
td#icon-col(width='1%')
|
||||||
|
@ -30,25 +30,16 @@ block body
|
||||||
|
|
||||||
div.stickers
|
div.stickers
|
||||||
div.sticker#sticker-red
|
div.sticker#sticker-red
|
||||||
image(src="/images/stickers/sticker-red.png")
|
|
||||||
div.sticker#sticker-blue
|
div.sticker#sticker-blue
|
||||||
image(src="/images/stickers/sticker-blue.png")
|
|
||||||
div.sticker#sticker-yellow
|
div.sticker#sticker-yellow
|
||||||
image(src="/images/stickers/sticker-yellow.png")
|
|
||||||
div.sticker#sticker-green
|
div.sticker#sticker-green
|
||||||
image(src="/images/stickers/sticker-green.png")
|
|
||||||
br
|
br
|
||||||
div.sticker#sticker-pink
|
div.sticker#sticker-pink
|
||||||
image(src="/images/stickers/sticker-pink.png")
|
|
||||||
div.sticker#sticker-lightblue
|
div.sticker#sticker-lightblue
|
||||||
image(src="/images/stickers/sticker-lightblue.png")
|
|
||||||
div.sticker#sticker-orange
|
div.sticker#sticker-orange
|
||||||
image(src="/images/stickers/sticker-orange.png")
|
|
||||||
div.sticker#sticker-purple
|
div.sticker#sticker-purple
|
||||||
image(src="/images/stickers/sticker-purple.png")
|
|
||||||
br
|
br
|
||||||
div.sticker#nosticker
|
div.sticker#nosticker
|
||||||
image(src="/images/stickers/sticker-deletestar.png")
|
|
||||||
//br
|
//br
|
||||||
//div.sticker#sticker-gold
|
//div.sticker#sticker-gold
|
||||||
// image(src="/images/stickers/sticker-gold.png")
|
// image(src="/images/stickers/sticker-gold.png")
|
||||||
|
@ -72,4 +63,4 @@ block body
|
||||||
|
|
||||||
//<div style="width: 980px; height: 450px; border: solid 2px; opacity:.1; margin-top: 100px"> this will be the backlog that only appears on drag or perhaps not at all</div>
|
//<div style="width: 980px; height: 450px; border: solid 2px; opacity:.1; margin-top: 100px"> this will be the backlog that only appears on drag or perhaps not at all</div>
|
||||||
|
|
||||||
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-2069672-4']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
|
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-2069672-4']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
|
||||||
|
|
|
@ -6,7 +6,7 @@ html(lang="en")
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="/lib/jquery-1.5.1.min.js"></script>
|
<script src="/lib/jquery-1.5.1.min.js"></script>
|
||||||
<!-- <script src="/lib/jquery-ui/js/jquery-ui-1.8.9.custom.min.js"></script> -->
|
<!-- <script src="/lib/jquery-ui/js/jquery-ui-1.8.9.custom.min.js"></script> -->
|
||||||
<script src="/lib/jquery-ui/development-bundle/ui/jquery-ui-1.8.9.custom.js"></script>
|
<script src="https://code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
|
||||||
|
|
||||||
<!-- External Scripts -->
|
<!-- External Scripts -->
|
||||||
<script src="/lib/jquery.ui.touch-punch.min.js"></script>
|
<script src="/lib/jquery.ui.touch-punch.min.js"></script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue