canvas-based-HTML5-Comic-Bo.../css/styles.css
2011-09-05 11:49:05 +02:00

170 lines
2.7 KiB
CSS

.cb-control {
font-family: helvetica, arial, sans-serif;
font-size: 12px;
}
.cb-control {
color: #fff;
background-color: #111;
padding: 10px;
position: fixed !important;
-webkit-box-shadow: 0 0 4px #000;
-moz-box-shadow: 0 0 4px #000;
box-shadow: 0 0 4px #000;
}
.cb-control label {
display: inline-block;
margin: 0 0 4px;
}
.cb-control.cb-navigate {
top: 0;
margin: 0;
cursor: pointer;
width: 128px;
opacity: 0;
background: center no-repeat;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.cb-control.cb-navigate:hover {
opacity: 1;
}
.cb-control.cb-navigate.left {
left: 0;
background-image: url(../img/left.png);
}
.cb-control.cb-navigate.right {
right: 0;
background-image: url(../img/right.png);
}
.cb-option {
margin-bottom: 16px;
}
.cb-option:last-child {
margin-bottom: 0;
}
.ui-draggable {
cursor: move;
}
#cb-loading-overlay {
z-index: 100;
opacity: 0.8;
background: #000 url("../img/loading.gif") no-repeat center;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
#cb-status {
z-index: 101;
font-size: 12px;
right: 0;
bottom: 0;
margin: 8px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
#cb-toolbar #cb-comic-info {
float: right;
line-height: 24px;
}
#cb-toolbar {
top: 0;
border-bottom: 2px solid #444;
}
#cb-toolbar button {
height: 24px;
width: 24px;
color: transparent;
border: none;
background-image: url("../img/iconic/sprite.png");
background-color: transparent;
background-repeat: no-repeat;
margin: 0 16px;
cursor: pointer;
}
#cb-toolbar button:hover,
#cb-toolbar button:active,
#cb-toolbar button.active {
background-position-x: -24px;
}
#cb-toolbar button.disabled {
background-position-x: -48px;
}
#cb-toolbar button.cb-close {
background-position-y: -120px;
}
#cb-toolbar button.cb-color {
background-position-y: 0;
}
#cb-toolbar button.cb-layout {
background-position-y: -24px;
}
#cb-toolbar button.cb-zoom-out {
background-position-y: -72px;
}
#cb-toolbar button.cb-zoom-in {
background-position-y: -96px;
}
#cb-toolbar button.cb-fit-width {
background-position-y: -48px;
}
#cb-color {
width: 246px;
top: 44px;
left: 136px;
z-index: 1;
border: 2px solid #444;
border-top: none;
-moz-border-radius-bottomleft: 16px;
-moz-border-radius-bottomright: 16px;
-webkit-border-bottom-left-radius: 16px;
-webkit-border-bottom-right-radius: 16px;
border-bottom-left-radius: 16px;
border-bottom-right-radius: 16px;
}
label[for="cb-desaturate"] {
padding: 4px;
}
#cb-desaturate {
float: left;
}
#cb-reset {
float: right;
}
#cb-reset {
background: transparent url(../img/iconic/reload_12x14.png) no-repeat left center;
padding-left: 16px;
height: 14px;
border: none;
color: #fff;
cursor: pointer;
}