X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/39844fcccd43fc77f6beb350f5792bb0859135df..34511b8161f4fa25634a9659137a1143a1511c21:/catalogue/static/catalogue/css/section_list.css diff --git a/catalogue/static/catalogue/css/section_list.css b/catalogue/static/catalogue/css/section_list.css index 04ba2da..bd68dee 100644 --- a/catalogue/static/catalogue/css/section_list.css +++ b/catalogue/static/catalogue/css/section_list.css @@ -1,40 +1,58 @@ -.section-level { - width: 37.5em; - border-radius: 0.938em; } - -.section-depth { - display: inline-block; - width: 16.25em; - vertical-align: top; - padding: 1.25em; } - .section-depth h1 { +#level-chooser-place { + min-height: 5.9375em; + margin-top: 2em; } + #level-chooser-place ul#level-chooser { + margin: 0; + padding: 1em 0 1em 8.75em; + background-color: white; + width: 31.25em; + z-index: 300; + position: relative; text-transform: uppercase; - margin: 0 0 1em 0; - font-size: 1em; } - .section-depth .section-lessons { - padding: 0 0 0 1em; } - -.section-depth-1 { - border-radius: 0 0.938em 0.938em 0; } - -.section-level-gimnazjum { - background: #f4ae83; - color: #67584f; } - .section-level-gimnazjum a { - color: #67584f; } - .section-level-gimnazjum .section-depth-1 { - background: #ed7831; - color: #fff; } - .section-level-gimnazjum .section-depth-1 a { - color: #fff; } + text-align: right; } + #level-chooser-place ul#level-chooser .home { + display: none; + position: absolute; + top: 1.5em; + left: 0; } + #level-chooser-place ul#level-chooser .home a { + background: none; + padding: 0; } + #level-chooser-place ul#level-chooser .home a img { + width: 7.5em; } + #level-chooser-place ul#level-chooser.fixed { + position: fixed; + top: 0; + border-bottom: 1px solid #c9ccce; } + #level-chooser-place ul#level-chooser.fixed .home { + display: block; } + #level-chooser-place ul#level-chooser li { + display: inline-block; + list-style: none; + max-width: 175px; } + #level-chooser-place ul#level-chooser li a { + display: table-cell; + padding: .5em 1em; + border-radius: 0.3125em; + background: #eee; + height: 2.625em; + vertical-align: middle; } + #level-chooser-place ul#level-chooser li a.active { + color: white; + background: #ED7831; } -.section-level-L { - background: #f4ae83; - color: #67584f; } - .section-level-L a { - color: #67584f; } - .section-level-L .section-depth-1 { - background: #ed7831; - color: #fff; } - .section-level-L .section-depth-1 a { - color: #fff; } +.level .link-list { + margin-left: 1em; } +.level .level-toc { + overflow: hidden; + /* Because we're changing bg color lower. */ } + .level .level-toc.fixed { + position: fixed; } + .level .level-toc .link-list { + margin-left: 1em; } + .level .level-toc .link-list li { + margin-bottom: 0; } + .level .level-toc .link-list li.curriculumcourses { + margin: 10px -17px -17px; + padding: 10px 16px 16px; + background-color: #eee; }