DaPortal

/* $Id$ */
/* Copyright (c) 2012 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Web DaPortal */
/* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* stock icons */
.stock16, .stock24, .stock32, .stock48 {
background-position: 0 0;
background-repeat: no-repeat;
}
.stock16 {
background-image: url('../icons/generic/16x16/stock.png');
background-size: 16px 16px;
}
.stock24 {
background-image: url('../icons/generic/24x24/stock.png');
background-size: 24px 24px;
}
.stock32 {
background-image: url('../icons/generic/32x32/stock.png');
background-size: 32px 32px;
}
.stock48 {
background-image: url('../icons/generic/48x48/stock.png');
background-size: 48px 48px;
}
a.button.stock16, button.stock16, input[type="button"].stock16,
input[type="reset"].stock16, input[type="submit"].stock16 {
background-origin: padding-box;
background-position: 2px center;
background-size: auto 16px;
border-width: 1px;
min-height: 16px;
padding-left: 20px;
}
h1.stock48 {
padding-left: 52px;
min-height: 48px;
}
h2.stock32 {
padding-left: 36px;
min-height: 32px;
}
h3.stock24 {
padding-left: 28px;
min-height: 24px;
}
h4.stock16 {
padding-left: 20px;
min-height: 16px;
}
img.stock16, img.stock24, img.stock32, img.stock48 {
background-position: center center;
margin-right: 4px;
}
img.stock16 {
padding: 8px;
}
img.stock24 {
padding: 12px;
}
img.stock32 {
padding: 16px;
}
img.stock48 {
padding: 24px;
}