123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- /*
- DJANGO JET Admin styles
- */
- @import "globals";
- html, body {
- margin: 0;
- padding: 0;
- }
- body {
- height: 100%;
- background: $background-color;
- color: $text-color;
- font-family: $font;
- font-size: $font-size;
- text-size-adjust: 100%;
- &.non-scrollable {
- overflow: hidden;
- }
- @include for-mobile {
- padding-top: 60px;
- }
- }
- /* PAGE STRUCTURE */
- #container {
- padding: 0 0 0 $sidebar-width;
- min-height: 100%;
- @include for-mobile {
- padding-left: 0;
- }
- .popup & {
- padding-left: 0;
- }
- }
- #content {
- padding: 20px;
- @include for-phone {
- padding: 10px;
- }
- & > h1 {
- display: none;
- }
- }
- #content-main {
- float: left;
- width: 100%;
- @include for-mobile {
- float: none;
- }
- }
- #content-related {
- float: right;
- width: 260px;
- position: relative;
- margin-right: -300px;
- @include for-mobile {
- float: none;
- width: 100%;
- margin-left: 0;
- position: static;
- }
- }
- #footer {
- clear: both;
- padding: 10px;
- &:empty {
- display: none;
- }
- }
- .dialog-confirm {
- display: none;
- }
- /* COLUMN TYPES */
- .colMS {
- margin-right: 300px;
- @include for-mobile {
- margin-right: 0;
- }
- }
- .colSM {
- margin-left: 300px;
- @include for-mobile {
- margin-left: 0;
- }
- }
- .colSM #content-related {
- float: left;
- margin-right: 0;
- margin-left: -300px;
- @include for-mobile {
- float: none;
- margin-left: 0;
- }
- }
- .colSM #content-main {
- float: right;
- @include for-mobile {
- float: none;
- }
- }
- .popup .colM {
- width: auto;
- }
- /* SIDEBAR */
- //#content-related {
- // background: #f8f8f8;
- //}
- //
- //#content-related .module {
- // background: none;
- //}
- //
- //#content-related h3 {
- // font-size: 14px;
- // color: #666;
- // padding: 0 16px;
- // margin: 0 0 16px;
- //}
- //
- //#content-related h4 {
- // font-size: 13px;
- //}
- //
- //#content-related p {
- // padding-left: 16px;
- // padding-right: 16px;
- //}
- //
- //#content-related .actionlist {
- // padding: 0;
- // margin: 16px;
- //}
- //
- //#content-related .actionlist li {
- // line-height: 1.2;
- // margin-bottom: 10px;
- // padding-left: 18px;
- //}
- //
- //#content-related .module h2 {
- // background: none;
- // padding: 16px;
- // margin-bottom: 16px;
- // border-bottom: 1px solid #eaeaea;
- // font-size: 18px;
- // color: #333;
- //}
- //
- //.delete-confirmation form input[type="submit"] {
- // background: #ba2121;
- // border-radius: 4px;
- // padding: 10px 15px;
- // color: #fff;
- //}
- //
- //.delete-confirmation form input[type="submit"]:active,
- //.delete-confirmation form input[type="submit"]:focus,
- //.delete-confirmation form input[type="submit"]:hover {
- // background: #a41515;
- //}
- //
- //.delete-confirmation form .cancel-link {
- // display: inline-block;
- // vertical-align: middle;
- // height: 15px;
- // line-height: 15px;
- // background: #ddd;
- // border-radius: 4px;
- // padding: 10px 15px;
- // color: #333;
- // margin: 0 0 0 10px;
- //}
- //
- //.delete-confirmation form .cancel-link:active,
- //.delete-confirmation form .cancel-link:focus,
- //.delete-confirmation form .cancel-link:hover {
- // background: #ccc;
- //}
- //
- @import "jquery-ui/jquery-ui.theme";
- @import "select2/layout";
- @import "content";
- @import "forms";
- @import "tables";
- @import "messages";
- @import "header";
- @import "breadcrumbs";
- @import "modules";
- @import "object-tools";
- @import "changeform";
- @import "changelist";
- @import "sidebar";
- @import "relatedpopup";
- @import "dashboard";
- @import "delete-confirmation";
- @import "login";
|