OLD | NEW |
(Empty) | |
| 1 /* |
| 2 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3 for details. All rights reserved. Use of this source code is governed by a |
| 4 BSD-style license that can be found in the COPYING file. |
| 5 */ |
| 6 |
| 7 body { |
| 8 background-color: #F8F8F8; |
| 9 font-family: 'Open Sans', sans-serif; |
| 10 font-size: 14px; |
| 11 font-weight: normal; |
| 12 line-height: 1.2em; |
| 13 margin: 15px; |
| 14 } |
| 15 |
| 16 /* Prevent the text contents of draggable elements from being selectable. */ |
| 17 [draggable] { |
| 18 -moz-user-select: none; |
| 19 -khtml-user-select: none; |
| 20 -webkit-user-select: none; |
| 21 user-select: none; |
| 22 } |
| 23 |
| 24 .column { |
| 25 background-color: #ccc; |
| 26 -webkit-border-radius: 10px; |
| 27 -moz-border-radius: 10px; |
| 28 -ms-border-radius: 10px; |
| 29 border: 2px solid #666; |
| 30 border-radius: 10px; |
| 31 -webkit-box-shadow: inset 0 0 3px #000; |
| 32 -ms-box-shadow: inset 0 0 3px #000; |
| 33 box-shadow: inset 0 0 3px #000; |
| 34 cursor: move; |
| 35 height: 150px; |
| 36 float: left; |
| 37 margin-right: 5px; |
| 38 text-align: center; |
| 39 -webkit-transition: -webkit-transform 0.2s ease-out; |
| 40 -moz-transition: -moz-transform 0.2s ease-out; |
| 41 -ms-transition: -moz-transform 0.2s ease-out; |
| 42 transition: transform 0.2s ease-out; |
| 43 width: 150px; |
| 44 } |
| 45 |
| 46 .column header { |
| 47 background: -moz-linear-gradient(left center, |
| 48 rgb(0, 0, 0), rgb(79, 79, 79), rgb(21, 21, 21)); |
| 49 background: -webkit-linear-gradient(linear, left top, right top, |
| 50 color-stop(0, rgb(0, 0, 0)), |
| 51 color-stop(0.5, rgb(79, 79, 79)), |
| 52 color-stop(1, rgb(21, 21, 21))); |
| 53 background: -webkit-linear-gradient(left center, |
| 54 rgb(0, 0, 0), rgb(79, 79, 79), rgb(21, 21, 21)); |
| 55 background: -ms-linear-gradient(left center, |
| 56 rgb(0, 0, 0), rgb(79, 79, 79), rgb(21, 21, 21)); |
| 57 border-bottom: 1px solid #ddd; |
| 58 -webkit-border-top-left-radius: 10px; |
| 59 -moz-border-radius-topleft: 10px; |
| 60 -ms-border-radius-topleft: 10px; |
| 61 border-top-left-radius: 10px; |
| 62 -webkit-border-top-right-radius: 10px; |
| 63 -moz-border-radius-topright: 10px; |
| 64 -ms-border-radius-topright: 10px; |
| 65 border-top-right-radius: 10px; |
| 66 box-shadow: 5px; |
| 67 color: #fff; |
| 68 padding: 5px; |
| 69 text-shadow: #000 0 1px; |
| 70 } |
| 71 |
| 72 .column.over { |
| 73 border: 2px dashed #000; |
| 74 } |
| 75 |
| 76 .column.moving { |
| 77 opacity: 0.25; |
| 78 -webkit-transform: scale(0.8); |
| 79 -moz-transform: scale(0.8); |
| 80 -ms-transform: scale(0.8); |
| 81 transform: scale(0.8); |
| 82 } |
OLD | NEW |