Initial commit: Django inventory system
This commit is contained in:
45
myproject/static/admin/css/custom_nested.css
Normal file
45
myproject/static/admin/css/custom_nested.css
Normal file
@@ -0,0 +1,45 @@
|
||||
/* Кастомные стили для nested admin */
|
||||
|
||||
/* Улучшение отображения вложенных inline */
|
||||
.djn-item {
|
||||
margin-bottom: 15px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
padding: 10px;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.djn-item h3 {
|
||||
margin-top: 0;
|
||||
color: #417690;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Приоритеты внутри позиций */
|
||||
.djn-items > .djn-item .djn-items {
|
||||
margin-left: 20px;
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.djn-items > .djn-item .djn-items > .djn-item {
|
||||
background-color: #fafafa;
|
||||
padding: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* Кнопки добавления */
|
||||
.djn-add-item {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/* Заголовки для приоритетов */
|
||||
.djn-items > .djn-item .djn-items > h3 {
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user