197 lines
3.3 KiB
CSS
197 lines
3.3 KiB
CSS
/**
|
|
* Kolo Sreče - CSS za administratorski vmesnik
|
|
*/
|
|
|
|
/* Splošni stil administratorske strani */
|
|
.wheel-admin-page {
|
|
max-width: 1200px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.wheel-admin-page h1 {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.wheel-admin-page .nav-tab-wrapper {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Kartice */
|
|
.wheel-card {
|
|
background: #fff;
|
|
border: 1px solid #ccd0d4;
|
|
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
|
margin-bottom: 20px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.wheel-card h2 {
|
|
margin-top: 0;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
/* Tabela z nagradami */
|
|
.wheel-prizes-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.wheel-prizes-table th,
|
|
.wheel-prizes-table td {
|
|
padding: 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.wheel-prizes-table th {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
.wheel-prizes-table tr:hover {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
/* Barve nagrad */
|
|
.wheel-color-preview {
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
margin-right: 10px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.wheel-color-blue {
|
|
background-color: #5DADE2;
|
|
}
|
|
|
|
.wheel-color-red {
|
|
background-color: #E74C3C;
|
|
}
|
|
|
|
.wheel-color-gray {
|
|
background-color: #D5D8DC;
|
|
}
|
|
|
|
/* Obrazci */
|
|
.wheel-form-table {
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.wheel-form-table th {
|
|
width: 200px;
|
|
padding: 15px 10px 15px 0;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.wheel-form-table td {
|
|
padding: 15px 10px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.wheel-form-table input[type="text"],
|
|
.wheel-form-table input[type="number"],
|
|
.wheel-form-table select,
|
|
.wheel-form-table textarea {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.wheel-form-table .description {
|
|
color: #666;
|
|
font-style: italic;
|
|
margin-top: 5px;
|
|
display: block;
|
|
}
|
|
|
|
/* Gumbi */
|
|
.wheel-button-primary {
|
|
background: #0073aa;
|
|
border-color: #0073aa;
|
|
color: #fff;
|
|
padding: 5px 15px;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wheel-button-secondary {
|
|
background: #f7f7f7;
|
|
border-color: #ccc;
|
|
color: #555;
|
|
padding: 5px 15px;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wheel-button-delete {
|
|
background: #d63638;
|
|
border-color: #d63638;
|
|
color: #fff;
|
|
padding: 5px 15px;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Statistika */
|
|
.wheel-stats-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: 0 -10px;
|
|
}
|
|
|
|
.wheel-stats-box {
|
|
background: #fff;
|
|
border: 1px solid #ccd0d4;
|
|
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
|
padding: 20px;
|
|
margin: 10px;
|
|
flex: 1 0 calc(33.333% - 20px);
|
|
min-width: 250px;
|
|
text-align: center;
|
|
}
|
|
|
|
.wheel-stats-box h3 {
|
|
margin-top: 0;
|
|
color: #23282d;
|
|
}
|
|
|
|
.wheel-stats-number {
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
color: #0073aa;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
/* Predogled kolesa */
|
|
.wheel-preview-container {
|
|
max-width: 300px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
/* Odzivnost */
|
|
@media screen and (max-width: 782px) {
|
|
.wheel-form-table th {
|
|
width: 100%;
|
|
display: block;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.wheel-form-table td {
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.wheel-stats-box {
|
|
flex: 1 0 calc(50% - 20px);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.wheel-stats-box {
|
|
flex: 1 0 calc(100% - 20px);
|
|
}
|
|
} |