first commit
This commit is contained in:
commit
b71ea45681
898 changed files with 138202 additions and 0 deletions
74
templates/admin/base_site.html
Normal file
74
templates/admin/base_site.html
Normal file
|
@ -0,0 +1,74 @@
|
|||
{% extends 'admin/base.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block extrastyle %}
|
||||
<style>
|
||||
/* Force RTL layout */
|
||||
html {
|
||||
direction: rtl !important;
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
body {
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
/* Sidebar to the right */
|
||||
.main-sidebar {
|
||||
right: 0 !important;
|
||||
left: auto !important;
|
||||
}
|
||||
|
||||
/* Shift the content area to the left */
|
||||
.content-wrapper,
|
||||
.main-footer,
|
||||
.main-header {
|
||||
margin-left: 0 !important;
|
||||
margin-right: 250px !important; /* or whatever the sidebar width is */
|
||||
}
|
||||
|
||||
/* Fix nav toggle button */
|
||||
.sidebar-collapse .main-sidebar {
|
||||
margin-right: -250px !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.nav {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.ml-auto, .mx-auto {
|
||||
margin-right: auto !important;
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
|
||||
.pl-3, .px-3 {
|
||||
padding-right: 1rem !important;
|
||||
padding-left: 0rem !important;
|
||||
}
|
||||
|
||||
/* Menu items alignment */
|
||||
.nav-sidebar .nav-link {
|
||||
text-align: right !important;
|
||||
|
||||
}
|
||||
|
||||
/* Brand alignment */
|
||||
.brand-link {
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
/* Dropdowns and user menu */
|
||||
.user-panel,
|
||||
.navbar-nav {
|
||||
direction: rtl !important;
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
direction: rtl !important;
|
||||
text-align: right !important;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="{% static 'admin/css/custom_rtl.css' %}">
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue