aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/static/css/non-responsive.css
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-07-17 12:23:33 -0500
committerFrederick Muriuki Muriithi2025-07-17 12:24:58 -0500
commitecf1a9a1798db490ff49945eaa73c8e4c090d1a5 (patch)
tree4ad661a8e0a8f21ce53cb8b5cbfec8939be89789 /gn_auth/static/css/non-responsive.css
parent0e6a67bca38e0339af042554ed9b85a93ca39eee (diff)
downloadgn-auth-ecf1a9a1798db490ff49945eaa73c8e4c090d1a5.tar.gz
Decouple gn-auth from production (https://genenetwork.org).
Copy over files from GN2 for a quick decoupling of gn-auth from the production system.
Diffstat (limited to 'gn_auth/static/css/non-responsive.css')
-rw-r--r--gn_auth/static/css/non-responsive.css114
1 files changed, 114 insertions, 0 deletions
diff --git a/gn_auth/static/css/non-responsive.css b/gn_auth/static/css/non-responsive.css
new file mode 100644
index 0000000..a4bcddd
--- /dev/null
+++ b/gn_auth/static/css/non-responsive.css
@@ -0,0 +1,114 @@
+/* Template-specific stuff
+ *
+ * Customizations just for the template; these are not necessary for anything
+ * with disabling the responsiveness.
+ */
+
+/* Account for fixed navbar */
+body {
+ //min-width: 1200px;
+ padding-top: 70px;
+ padding-bottom: 30px;
+}
+
+/* Finesse the page header spacing */
+.page-header {
+ margin-bottom: 10px;
+}
+
+.page-header .lead {
+ margin-bottom: 10px;
+}
+
+
+/* Non-responsive overrides
+ *
+ * Utilitze the following CSS to disable the responsive-ness of the container,
+ * grid system, and navbar.
+ */
+
+/* Reset the container */
+.container {
+ width: 100%;
+ max-width: none !important;
+}
+
+
+.container .navbar-header,
+.container .navbar-collapse {
+ margin-right: 0;
+ margin-left: 0;
+}
+
+/* Always float the navbar header */
+.navbar-header {
+ float: left;
+}
+
+/* Undo the collapsing navbar */
+.navbar-collapse {
+ display: block !important;
+ height: auto !important;
+ padding-bottom: 0;
+ overflow: visible !important;
+}
+
+.navbar-toggle {
+ display: none;
+}
+
+.navbar-collapse {
+ border-top: 0;
+}
+
+/* Always apply the floated nav */
+.navbar-nav {
+ float: left;
+ margin: 0;
+}
+
+.navbar-nav>li {
+ float: left;
+}
+
+.navbar-nav>li>a {
+ padding: 5px;
+}
+
+/* Redeclare since we override the float above */
+.navbar-nav.navbar-right {
+ float: right;
+}
+
+/* Undo custom dropdowns */
+.navbar .navbar-nav .open .dropdown-menu {
+ position: absolute;
+ float: left;
+ background-color: #fff;
+ border: 1px solid #ccc;
+ border: 1px solid rgba(0, 0, 0, .15);
+ border-width: 0 1px 1px;
+ border-radius: 0 0 4px 4px;
+ -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
+ box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
+}
+
+.navbar-default .navbar-nav .open .dropdown-menu>li>a {
+ color: #333;
+}
+
+.navbar .navbar-nav .open .dropdown-menu>li>a:hover,
+.navbar .navbar-nav .open .dropdown-menu>li>a:focus,
+.navbar .navbar-nav .open .dropdown-menu>.active>a,
+.navbar .navbar-nav .open .dropdown-menu>.active>a:hover,
+.navbar .navbar-nav .open .dropdown-menu>.active>a:focus {
+ color: #fff !important;
+ background-color: #3071a9 !important;
+}
+
+.navbar .navbar-nav .open .dropdown-menu>.disabled>a,
+.navbar .navbar-nav .open .dropdown-menu>.disabled>a:hover,
+.navbar .navbar-nav .open .dropdown-menu>.disabled>a:focus {
+ color: #999 !important;
+ background-color: transparent !important;
+} \ No newline at end of file