diff --git a/common/static/style.css b/common/static/style.css index 526b0ee946..4cacc43c14 100644 --- a/common/static/style.css +++ b/common/static/style.css @@ -1,134 +1,265 @@ body { - font-family: Candara, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-family: Candara, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } + a { - color: #222; + color: #222; } + .fa { - color: #666; + color: #666; } + .fa.fa-5x { - color: white; + color: white; } + .fa.fa-fw { - margin-right: 10px; + margin-right: 10px; } + a:hover { - color: #555555; + color: #555555; } + .navbar-brand strong { - font-size: 26px; - font-family: Candara Light, serif; - margin-left: 4px; - letter-spacing: 2px; + font-size: 26px; + font-family: Candara Light, serif; + margin-left: 4px; + letter-spacing: 2px; } + .navbar-brand > img { - height: 50px; + height: 50px; } + .user-bottom-div { - display: block; - text-align: center; - background-color: #ddd; - position: fixed; - bottom: 0; - width: 100%; - height: 50px; - line-height: 50px; + display: block; + text-align: center; + background-color: #ddd; + position: fixed; + bottom: 0; + width: 100%; + height: 50px; + line-height: 50px; } + .lsb-login { - display: flex; - justify-content: center; - align-items: center; - height: 90vh; - margin: 0; + display: flex; + justify-content: center; + align-items: center; + height: 90vh; + margin: 0; } + .login-form-wrapper { - background-color: #FFF; - border-radius: 4px; - box-shadow: rgba(0, 0, 0, 0.1) 0 3px 5px; - padding: 30px 40px; - border-top: 5px solid #337ab7; + background-color: #FFF; + border-radius: 4px; + box-shadow: rgba(0, 0, 0, 0.1) 0 3px 5px; + padding: 30px 40px; + border-top: 5px solid #337ab7; } + table { - max-width: none !important; - /*解决 ios 横向滚动失效*/ + max-width: none !important; + /*解决 ios 横向滚动失效*/ } + .user-bottom-div { - display: block; - text-align: center; - background-color: #ddd; - position: fixed; - bottom: 0; - width: 100%; - height: 50px; - line-height: 50px; + display: block; + text-align: center; + background-color: #ddd; + position: fixed; + bottom: 0; + width: 100%; + height: 50px; + line-height: 50px; } + .lsb-login { - display: flex; - justify-content: center; - align-items: center; - height: 90vh; - margin: 0; + display: flex; + justify-content: center; + align-items: center; + height: 90vh; + margin: 0; } + .login-form-wrapper { - background-color: #FFF; - border-radius: 4px; - box-shadow: rgba(0, 0, 0, 0.1) 0 3px 5px; - padding: 30px 10px; - border-top: 5px solid #337ab7; + background-color: #FFF; + border-radius: 4px; + box-shadow: rgba(0, 0, 0, 0.1) 0 3px 5px; + padding: 30px 10px; + border-top: 5px solid #337ab7; } + .login-form { - margin: 20px; + margin: 20px; } + .sidebar .sidebar-nav.navbar-collapse { - padding-left: 0; - padding-right: 0; + padding-left: 0; + padding-right: 0; } + .sidebar .sidebar-search { - padding: 15px; + padding: 15px; } + .sidebar ul li a { - border-left: 3px solid transparent; - color: #333; + border-left: 3px solid transparent; + color: #333; } + .sidebar ul li a.active { - background-color: #eeeeee; - border-left: 3px solid #337ab7; + background-color: #eeeeee; + border-left: 3px solid #337ab7; } + .sidebar .arrow { - float: right; - margin-top: 3px; + float: right; + margin-top: 3px; } + .sidebar .fa.arrow:before { - content: "\f104"; + content: "\f104"; } + .sidebar .active > a > .fa.arrow:before { - content: "\f107"; + content: "\f107"; } + .sidebar .nav-second-level li, .sidebar .nav-third-level li { - border-bottom: none !important; + border-bottom: none !important; } + .sidebar .nav-second-level li a { - padding-left: 47px; + padding-left: 47px; } + .sidebar .nav-third-level li a { - padding-left: 52px; + padding-left: 52px; } + @media (min-width: 768px) { - .sidebar { - z-index: 1; - position: absolute; - width: 200px; - margin-top: 51px; - } - .navbar-top-links .dropdown-messages, - .navbar-top-links .dropdown-tasks, - .navbar-top-links .dropdown-alerts { - margin-left: auto; - } + .sidebar { + z-index: 1; + position: absolute; + width: 200px; + margin-top: 51px; + } + + .navbar-top-links .dropdown-messages, + .navbar-top-links .dropdown-tasks, + .navbar-top-links .dropdown-alerts { + margin-left: auto; + } } + .fixed-table-container { - border: none; + border: none; +} + +/*# sourceMappingURL=style.css.map */ + + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap: break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox input[type="text"] { + width: 170px; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; } -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/sql/static/css/.gitkeep b/sql/static/css/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/sql/static/css/basic.css b/sql/static/css/basic.css deleted file mode 100755 index a5da626d44..0000000000 --- a/sql/static/css/basic.css +++ /dev/null @@ -1,111 +0,0 @@ -/* - * basic.css - * ~~~~~~~~~ - * - * Sphinx stylesheet -- basic theme. - * - * :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * - */ - -/* -- sidebar --------------------------------------------------------------- */ - -div.sphinxsidebarwrapper { - padding: 10px 5px 0 10px; -} - -div.sphinxsidebar { - float: left; - width: 230px; - margin-left: -100%; - font-size: 90%; - word-wrap: break-word; - overflow-wrap : break-word; -} - -div.sphinxsidebar ul { - list-style: none; -} - -div.sphinxsidebar ul ul, -div.sphinxsidebar ul.want-points { - margin-left: 20px; - list-style: square; -} - -div.sphinxsidebar ul ul { - margin-top: 0; - margin-bottom: 0; -} - -div.sphinxsidebar form { - margin-top: 10px; -} - -div.sphinxsidebar input { - border: 1px solid #98dbcc; - font-family: sans-serif; - font-size: 1em; -} - -div.sphinxsidebar #searchbox input[type="text"] { - width: 170px; -} - -/* -- general index --------------------------------------------------------- */ - -table.indextable { - width: 100%; -} - -table.indextable td { - text-align: left; - vertical-align: top; -} - -table.indextable ul { - margin-top: 0; - margin-bottom: 0; - list-style-type: none; -} - -table.indextable > tbody > tr > td > ul { - padding-left: 0em; -} - -table.indextable tr.pcap { - height: 10px; -} - -table.indextable tr.cap { - margin-top: 10px; - background-color: #f2f2f2; -} - -img.toggler { - margin-right: 3px; - margin-top: 3px; - cursor: pointer; -} - -div.modindex-jumpbox { - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - margin: 1em 0 1em 0; - padding: 0.4em; -} - -div.genindex-jumpbox { - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - margin: 1em 0 1em 0; - padding: 0.4em; -} - -/* -- domain module index --------------------------------------------------- */ - -table.modindextable td { - padding: 2px; - border-collapse: collapse; -} diff --git a/sql/static/js/.gitkeep b/sql/static/js/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/sql/static/pics/.gitkeep b/sql/static/pics/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/sql/templates/data_dictionary.html b/sql/templates/data_dictionary.html index 64ec067cfe..3f9377d641 100644 --- a/sql/templates/data_dictionary.html +++ b/sql/templates/data_dictionary.html @@ -278,7 +278,6 @@ {% endblock content %} {% block js %} {% load static %} -