github.com/olivere/camlistore@v0.0.0-20140121221811-1b7ac2da0199/server/camlistored/ui/blob_item.css (about) 1 /* 2 Copyright 2013 The Camlistore Authors 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 /* Tile view of BlobItem */ 18 .cam-blobitem { 19 display: inline-block; 20 } 21 22 .cam-blobitem>a { 23 text-decoration: none; 24 } 25 26 .cam-blobitem-thumbclip { 27 position: relative; 28 overflow: hidden; 29 } 30 31 .cam-blobitem-loading { 32 background-color: rgb(240, 240, 240); 33 } 34 35 .cam-blobitem-thumb { 36 display: block; 37 position: relative; 38 } 39 40 .cam-blobitemcontainer-50 .cam-blobitem-thumbtitle { 41 font-size: 10px; 42 } 43 44 .cam-blobitemcontainer-75 .cam-blobitem-thumbtitle { 45 font-size: 12px; 46 } 47 48 .cam-blobitemcontainer-100 .cam-blobitem-thumbtitle { 49 font-size: 12px; 50 } 51 52 .cam-blobitemcontainer-150 .cam-blobitem-thumbtitle { 53 font-size: 13px; 54 } 55 56 .cam-blobitemcontainer-200 .cam-blobitem-thumbtitle { 57 font-size: 14px; 58 } 59 60 .cam-blobitemcontainer-250 .cam-blobitem-thumbtitle { 61 font-size: 14px; 62 } 63 64 .cam-blobitem-thumbtitle { 65 color: #222; 66 font-size: 0.8em; 67 overflow: hidden; 68 padding: 0 1ex; 69 text-align: center; 70 text-overflow: ellipsis; 71 display: block; 72 } 73 74 .cam-blobitem.cam-blobitem-image .cam-blobitem-thumbtitle { 75 display: none; 76 } 77 78 .cam-blobitem.cam-dropactive { 79 border: 1px solid #acf!important; 80 outline: 1px solid #acf!important; 81 background: #e5efff; 82 } 83 84 .cam-blobitem .checkmark { 85 background-image: url('checkmark2.svg'); 86 background-repeat: no-repeat; 87 background-size: 100% 100%; 88 cursor: pointer; 89 height: 25px; 90 left: 5px; 91 opacity: 0; 92 position: absolute; 93 top: 5px; 94 transition: opacity 0.2s ease; 95 width: 25px; 96 z-index: 2; 97 98 /* To force us into a graphics layer, otherwise we get weird effects as we transition in and out of one during animation. See: https://code.google.com/p/camlistore/issues/detail?id=284. */ 99 -webkit-transform: scale3d(1, 1, 1); 100 } 101 102 .cam-blobitem.goog-control-disabled .checkmark { 103 display: none; 104 } 105 106 .cam-blobitem.goog-control-hover .checkmark { 107 opacity: 0.6; 108 } 109 110 .cam-blobitem.goog-control-hover .checkmark:hover { 111 opacity: 1!important; 112 } 113 114 .cam-blobitem.goog-control-checked .checkmark { 115 opacity: 1!important; 116 } 117 118 .cam-blobitem.goog-control-checked .checkmark { 119 background-image: url('checkmark2_blue.svg'); 120 }