Squashed commit of the following: commit 94ed51c799fa605f5debc262dd9ccfd756bc9ee5 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 6 18:34:13 2013 +0100 ready for 2.012000 commit b26bdbeb5df65011bf79baa7beccefbbfbfe6614 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 6 18:29:38 2013 +0100 add note to clarify cron spec commit 6271f08f2b6c44668ca772a3478fbc42a76d3f01 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 6 17:34:33 2013 +0100 update TODO commit 221b062bb80cd29263d1f2dbf3cf674140cad972 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 6 17:33:12 2013 +0100 Manual topology is preserved when re-discovering neighbors commit 50fd829c9e986afd47640abbeae06b09cd0796ec Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 6 16:40:09 2013 +0100 Pseudo device ports being counted properly since Port Utilization report commit 252f136f6a4226a78c859c68ea0c1245109c71ca Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 6 16:24:47 2013 +0100 Fix blur events on editable cells commit 3136e3b899ce697ed43a1347c61bd11fc4011b77 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 6 15:58:23 2013 +0100 move port control features from common device js commit dba012ea1c169993dd80e9aef0067597def54f79 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 6 15:41:50 2013 +0100 Floating table headers not compatible with in-header drop-down menus commit e728258f74cb1ebddc47acfa1e152ee8ba91f0e8 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Aug 6 15:13:56 2013 +0100 RW snmp community strings now in the "community" table commit d01ac4d8060bb6eaa152987a4a1b0c35cd580ade Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Aug 5 19:04:56 2013 +0100 fixes to deal with Extensible auth redirects commit 0529003a4b408a3725ec61d5f18f09fce741c2c2 Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Aug 5 18:42:47 2013 +0100 cute bug icon in the report bug message commit c7a77f791e6a2130c3a0c776a9de37c89e68bdeb Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Aug 5 18:28:20 2013 +0100 shift ports legend over to line up with colums controls commit 09d94a66916aef1e41835bfab105805184e523a7 Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Aug 5 18:19:18 2013 +0100 move Auth::Extensible settings into core config commit 05cba664a50ee2abd062e24270e0fcab442ba8ac Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Aug 5 18:17:33 2013 +0100 fix no_port_control setting after authN changes commit 679f776b821f8cf4299032ab87006807bfeb6c8c Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Aug 5 18:05:55 2013 +0100 bit more efficient checking of roles commit 3535d2a4c8d97582b0297d0ee2c07d2a5e62b713 Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Aug 5 18:00:55 2013 +0100 set require_login on almost all handlers commit 32ae6391fef6ebca6973f7227dc1b68d91db6d68 Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Aug 5 17:50:38 2013 +0100 Implement extensible authN and role based access control commit f06f11628f5cf63e627c01eb9c8ab927a064fecd Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 4 23:28:08 2013 +0100 Device re-discover/arpnip/macsuck is async with toastr notify commit aeceb4235fc2e7b51673a4fca37c8e25343ec23d Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 4 22:58:27 2013 +0100 simplify template logic commit 6b19f47283d6597d46a5af530e5605f8df8e17ec Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 4 22:41:09 2013 +0100 Always offer to discover device on site homepage commit a7a01fb794418feb86c2d5bc5214127c85bd14b2 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Aug 4 22:26:50 2013 +0100 use fontawesome icons for legend commit 3f1730957b6accbc11737e46c201453d7219d03e Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jul 29 08:01:59 2013 +0100 ready for 2.011000 commit e1873ca58375b458d9543576951f1003e1c28d35 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jul 28 00:02:20 2013 +0100 Find the RW snmp community string correctly now commit 039780bc66ca0d8b19767c38a21aa208feafeaf7 Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jul 27 23:07:05 2013 +0100 User Management (for admins only) commit 213352d54ee8e71cbca5ae2c1c75696800c4216b Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jul 27 21:17:57 2013 +0100 Table headers float on the page when scrolling commit 598960e9141b0d9fc4f9a234a7d8fe02a81ba0f9 Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jul 27 18:05:00 2013 +0100 Port Utilization report commit d25e41894476c74bee747e38960a277e2f5b2072 Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jul 27 15:20:23 2013 +0100 Button to empty the job queue, and improve display when the queue is empty commit 18125d1a758b5707ab4c0ff8b65dfdd90dc32664 Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jul 27 14:23:48 2013 +0100 Swap play/pause icons in jobqueue commit 9eead5328a127689701ac28d5bcf1cfa39edaf99 Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jul 25 23:11:17 2013 +0100 Revert "No longer depend on Moo" This reverts commit 0a87ad4b410fa784bfbe823f3e6ede7c979144f3. Conflicts: Netdisco/Changes commit d0c31effa834201f1592c1fc3da9a6a689a3a43c Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jul 25 23:01:32 2013 +0100 REMOTE_USER is an env var, not an HTTP Header commit 0a87ad4b410fa784bfbe823f3e6ede7c979144f3 Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jul 25 22:35:05 2013 +0100 No longer depend on Moo commit 7ccbb04e6f7c1701194d996baa557affcda48103 Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Jul 24 23:44:42 2013 +0100 ready for 2.010004 commit 6314c5a054d56d7829797d37c6627b2cbccde4ab Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Jul 24 23:41:51 2013 +0100 Navbar query box was being cleared sometimes under admin task panels commit 271a5d9db17b288aeff43ee29a6bbf753bf823de Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Jul 24 00:03:05 2013 +0100 update TODO commit 3103f968a9fb128726ed929589137cb6011e2591 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Jul 23 23:58:19 2013 +0100 ready for 2.010002 commit 0368df1dbdfe6d764eec05f2bf37587fff795995 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Jul 23 23:17:17 2013 +0100 fix bugs in topo update code commit 43b7203ca3270dc2e02a097472179517087522d2 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Jul 23 23:12:36 2013 +0100 fix FF bug with forms embedded in tables commit f86c5d7d3d8d293a781c2ec7dc7a18bfb3c8bf78 Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Jul 23 17:15:35 2013 +0100 Nullify unused schema changes commit 649e4c471d524013f87257e11fffa7789dccd01d Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 20 13:48:20 2013 +0100 version bump commit ac6ce399b2bd596444a629f24ddea5eca0fff56a Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 20 13:41:08 2013 +0100 Handle UTF-8 data in the device port remote_id commit c73b86c0204ddd98e9d27437028a7000d70338bf Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 20 13:35:32 2013 +0100 revert bytea conversion on remote_id commit a144f42cf93803882bb8492cd3ce3a8e5679d383 Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 17 23:09:50 2013 +0100 bump version for beta release commit 3b791c93d7d9b7358bf46f31e322a9b807823d9d Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 17 22:57:59 2013 +0100 Pass event param to all js functions which require it commit da38badef893fc1503a797a99c34504db71e7c20 Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 17 22:35:48 2013 +0100 Change data type on device_port remote_id to bytea commit 727237951a5576b476dee127b3cef777afb51df8 Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 17 10:52:28 2013 +0100 fix help message in netdisco-web-fg commit 25bc026dc5e0177cd3aa81c11cdace091eb68f36 Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 17 08:16:56 2013 +0100 bump version for new release commit d4042f6e8db42c7a85df4dcf9690fec72ad2db69 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 18:27:52 2013 +0100 Job Queue page play/pause/refresh controls commit b6c9152516d7800409b7a73c5d0cdce6dd405492 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 17:50:06 2013 +0100 limit size of job queue table commit ac9e5feb8b774071fcf4423dd862dced74dee9e6 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 17:47:55 2013 +0100 update bugs link commit 9c0fb0e9aedc6297f4462c3cf88343f6d0df40b6 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 17:41:29 2013 +0100 update MANIFEST commit 7aaa2fff91ed2b1839bdbb79081d90ad3e144f47 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 17:40:35 2013 +0100 Fix Plack middleware config for Expiry commit 313e2cf014cf0da7cf85074e390ad394b28bf42d Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 17:23:00 2013 +0100 Support for delegated authentication with REMOTE_USER and X-REMOTE_USER commit 85e21f2bf296c4a5ca6b5afb5091694e56e3031f Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 14:24:08 2013 +0100 Add tooltip showing the job queue item logged status message commit 9b14f53ebed51eb46ea278807cfe8a2fbd28743c Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 13:43:26 2013 +0100 Increase default frequency of job queue polling to 2 seconds commit 6ba46818d8ab2100c652c8eb8e98bc6f5a54e273 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 12:57:43 2013 +0100 workaround for https://github.com/PerlDancer/Dancer/issues/935 commit c7a2d8a9d45716959bedbbb8db4cdd82a5950642 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 16 11:54:18 2013 +0100 Fix hyperlinks when running behind reverse proxy on custom path commit 0620efa404bc25cb0a9ada5aa6f1b092d5c4d482 Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jun 15 18:31:19 2013 +0100 update deploy docs commit 857b1c7aa0fe832f8948349eda5211eb38ba3099 Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jun 15 18:16:50 2013 +0100 add note about compiler dependency commit 02a2ad6b2c52db9fbc1e24bc8888f658dc7084ad Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jun 15 17:44:29 2013 +0100 sort vlans, macs, ips in device port view commit 097bad77310728a98b261a2cfca4de7ab50be94b Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jun 15 16:32:20 2013 +0100 hint when calling web in fg without starman commit 6425d89ddb2b56129c610482134482d8f9455d40 Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jun 15 15:53:26 2013 +0100 macwalk and arpwalk refactored commit d527b9d05addc82fb38c84f6fea1aa5818fc68d5 Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 13 22:27:34 2013 +0100 implement is_macsuckable and is_arpnipable commit 7af10ed313e25f5d99a22b53ba438225c2259069 Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 13 22:17:39 2013 +0100 version bump commit 8ace3bf8fa48cf3e14bdf86fad5a4862aad50a4b Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 13 22:14:05 2013 +0100 tidy up user menu commit e6eef605c248471dbfe7ec62cd04d73d653523ca Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 13 22:02:52 2013 +0100 Add discoverall, macwalk, arpwalk items to the Admin Tasks menu commit 2631fabd1eccd8a3971e4762eebe57f406623bee Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 13 21:21:50 2013 +0100 remove length() which only became sane in 5.12 commit a7b7169070a58685cacde26a3b6d462e74be9928 Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 13 19:07:56 2013 +0100 Use DBIx::Class new collapsed query support when we can commit 77cddab8ba7033ccb1ecae257bafa4eef8f99f47 Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Jun 12 17:26:47 2013 +0100 Database config simplified to only four essential settings commit 6ed0802bf2ab0fd898ce6945451b8ca6566ae551 Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Jun 12 13:03:20 2013 +0100 Ask to set up guest user for Admin/Port Control rights in deploy script
510 lines
10 KiB
CSS
510 lines
10 KiB
CSS
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* style common to all pages in the site */
|
|
|
|
/* for the fixed navbar make sure content stops short of page top*/
|
|
body {
|
|
padding-top: 50px;
|
|
}
|
|
|
|
/* magnifying glass icon for search box */
|
|
.nd_navbar-icon {
|
|
vertical-align: sub;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* for the "logged in as..." text */
|
|
.nd_navbar-text {
|
|
color: #666;
|
|
padding-top: 11px;
|
|
}
|
|
|
|
/* on both main content and sidebar, default is hidden */
|
|
.tab-content {
|
|
overflow: visible;
|
|
}
|
|
|
|
/* ajax results should fill all available */
|
|
.tab-content table {
|
|
width: 100%;
|
|
}
|
|
|
|
/* results table header should have a background, for floatThead */
|
|
div.content > div.tab-content table.nd_floatinghead thead {
|
|
background-color: floralWhite;
|
|
}
|
|
|
|
/* jquery ui autocomplete scrollable */
|
|
.ui-autocomplete {
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* fake looks for form submit buttons embedded in bootstrap dropdowns */
|
|
.nd_btn-link {
|
|
display: block;
|
|
padding: 2px 20px;
|
|
clear: both;
|
|
font-weight: normal;
|
|
line-height: 18px;
|
|
color: #333333;
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
margin-top: 0px !important;
|
|
width: 100%;
|
|
text-align: left;
|
|
margin-left: -1px;
|
|
}
|
|
|
|
.nd_btn-link:hover, .nd_btn-link:focus {
|
|
text-decoration: none;
|
|
color: #ffffff;
|
|
background-color: #0081c2;
|
|
background-repeat: repeat-x;
|
|
text-shadow: none;
|
|
}
|
|
|
|
/* to be added to qtip-bootstrap class */
|
|
.nd_qtip-unconstrained {
|
|
min-width: none;
|
|
max-width: none;
|
|
}
|
|
|
|
.qtip-content {
|
|
padding-bottom: 0px;
|
|
line-height: 8px;
|
|
}
|
|
|
|
/* for where min-width is set but we don't want it */
|
|
.nd_no-min-width {
|
|
min-width: 0px;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* styles to adjust the hero box used for homepage + login */
|
|
|
|
/* space between hero box and navbar */
|
|
.nd_hero-row {
|
|
margin-top: 50px;
|
|
}
|
|
|
|
/* alter proportions of hero unit to make it "tighter" on content */
|
|
.hero-unit {
|
|
padding: 30px 60px 40px 90px;
|
|
}
|
|
|
|
/* push user/pass/login form down+away from the Netdisco banner text */
|
|
.nd_login-form {
|
|
margin-top: 15px;
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* styles for device inventory */
|
|
|
|
.nd_inventory-table-head {
|
|
text-align: center;
|
|
color: lightSlateGray;
|
|
margin-top: 6px;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* styles for links in results tables */
|
|
|
|
/* make the whole cell become a hyperlink in results table */
|
|
.nd_linkcell {
|
|
display: block;
|
|
padding: 0px;
|
|
height: 100%;
|
|
}
|
|
|
|
/* still a link, but styled like normal text */
|
|
.nd_stealth-link {
|
|
text-decoration: none !important;
|
|
color: #404040;
|
|
}
|
|
|
|
/* nudge cell content to the right when port_control controls are enabled */
|
|
.nd_editable-cell > .nd_this-port-only {
|
|
margin-left: 18px;
|
|
}
|
|
.nd_editable-cell > .nd_editable-cell-content {
|
|
margin-left: 18px;
|
|
}
|
|
.table .nd_nudge-for-icon {
|
|
padding-left: 25px;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* styles to position table cell content */
|
|
|
|
.table td {
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
.table .nd_center-cell {
|
|
text-align: center;
|
|
}
|
|
|
|
/* fix layout of form fields inside the (topology) table */
|
|
td div.input-append {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
/* admin buttons in the device details view */
|
|
td > form.nd_inline-form {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
/* fix layout of form fields inside the (pseudo devices) table */
|
|
.nd_center-cell input {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
/* with two forms inside one cell, make the submit buttons side-by-side */
|
|
.nd_inline-form {
|
|
display: inline;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* styles for "tabs" and surrounding content */
|
|
|
|
|
|
/* add a small bottom margin (gutter) below all pages */
|
|
#nd_search-results {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* for any label which we want to appear alongside tabs, floated to the right */
|
|
#nd_device-name {
|
|
float: right;
|
|
margin-bottom: 0px;
|
|
margin-top: 9px;
|
|
font-weight: bold;
|
|
color: #6D5720;
|
|
}
|
|
|
|
/* for the job control admin page play/pause links */
|
|
#nd_countdown-refresh:hover, #nd_countdown-control:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* when there's only one tab (report, task etc) change the text color */
|
|
.nd_single-tab {
|
|
color: rgb(187,112,0) !important;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* style for port_control controls */
|
|
|
|
/* edit icon in details tab is in the label (not content) cell so nudge to RHS*/
|
|
.nd_device-details-edit {
|
|
float: right !important;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* port admin up/down control */
|
|
.nd_edit-icon, .nd_hand-icon {
|
|
cursor: pointer;
|
|
float: left;
|
|
display: none;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
/* port power control */
|
|
.nd_power-icon {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* the port power icon, whether it's on or off */
|
|
.icon-off {
|
|
vertical-align: middle;
|
|
color: darkRed;
|
|
}
|
|
|
|
/* change color of icon from default of red (which is OK for power-off) */
|
|
.nd_power-on {
|
|
color: darkGreen;
|
|
}
|
|
|
|
/* style of editable content in any table - yellow background */
|
|
[contenteditable]:focus {
|
|
background: #FFFFD3 !important;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* styles for collapsing lists - sidebar or main table cell content */
|
|
|
|
/* sidebar collapser is clickable and deep grey */
|
|
.nd_collapser {
|
|
cursor: pointer;
|
|
color: #0088CC;
|
|
}
|
|
|
|
/* vlans collapser also clickable and deep grey but with no link styling */
|
|
.nd_collapse-vlans {
|
|
cursor: pointer;
|
|
color: #0088CC;
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
/* set default state of collapsible lists as collapsed (hidden) */
|
|
.nd_collapse-pre-hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* for the tagged vlans total when hiding the full list */
|
|
.nd_vlan-total {
|
|
float: right;
|
|
}
|
|
|
|
/* little up/down chevron to the right of some collapsed list */
|
|
.nd_arrow-up-down-right {
|
|
float: right;
|
|
margin-top: 1px;
|
|
margin-right: 1px;
|
|
color: #555;
|
|
}
|
|
|
|
/* little up arrow to the left of a label for collapsed list */
|
|
.nd_arrow-up-down-left {
|
|
float: left;
|
|
margin-right: 6px;
|
|
color: #555;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* styles for sidebar placement and sizing */
|
|
|
|
/* make the sidebar fixed on the screen */
|
|
.container-fluid > .nd_sidebar {
|
|
position: absolute;
|
|
right: 20px;
|
|
width: 200px;
|
|
left: auto;
|
|
}
|
|
|
|
/* nudge content in the sidebar closer to the left */
|
|
.nd_sidebar-form {
|
|
padding-left: 0px;
|
|
margin-top: -9px;
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
/* reduce padding at the bottom of the sidebar content */
|
|
.container-fluid > .nd_sidebar > .well {
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
/* pull tab content away from the sidebar */
|
|
.container-fluid > .content {
|
|
margin-right: 215px;
|
|
margin-left: 0px;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* styles for sidebar position controls (collapse, pin) */
|
|
|
|
.nd_sidebar-pinned {
|
|
position: fixed !important;
|
|
}
|
|
|
|
.nd_sidebar-pin-clicked {
|
|
color: rgba(255,0,0,0.8) !important;
|
|
}
|
|
|
|
.nd_sidebar-pin {
|
|
float: left;
|
|
margin-top: 6px;
|
|
margin-left: -16px;
|
|
font-size: 15px;
|
|
color: #555;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#nd_sidebar-toggle-img-in {
|
|
float: left;
|
|
margin-top: -9px;
|
|
margin-left: -16px;
|
|
font-size: 15px;
|
|
color: #555;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#nd_sidebar-toggle-img-out {
|
|
position: fixed;
|
|
top: 60px;
|
|
right: 7px;
|
|
z-index: 1;
|
|
color: #555;
|
|
cursor: pointer;
|
|
display: none;
|
|
}
|
|
|
|
/* question mark image with popover for netmap instructions */
|
|
#nd_netmap-help {
|
|
position: fixed;
|
|
top: 160px;
|
|
right: 7px;
|
|
z-index: 1;
|
|
color: #555;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
display: none;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* style customization for many items which appear in the sidebar */
|
|
|
|
.nd_sidebar-title {
|
|
margin-left: 10px;
|
|
margin-top: 6px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
/* fixup for prepended checkbox in sidebar */
|
|
.nd_searchcheckbox {
|
|
width: 123px;
|
|
padding-left: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* fixup for prepended checkbox in sidebar */
|
|
.nd_sidebar .input-prepend {
|
|
margin-left: -2px;
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
/* for some reason bootstrap 2.1.0 displays add-on as block - no check supprt? */
|
|
.nd_checkboxlabel {
|
|
display: inline;
|
|
}
|
|
|
|
/* placement of form field in sidebar */
|
|
.nd_side-input {
|
|
margin-left: -3px;
|
|
width: 152px;
|
|
}
|
|
|
|
/* placement of form field in sidebar */
|
|
.nd_side-select {
|
|
margin-left: -3px;
|
|
width: 165px;
|
|
}
|
|
|
|
/* nudge the port name/vlan filter over a little (as compared to nd_side-select) */
|
|
#nd_port-query {
|
|
margin-left: 5px !important;
|
|
width: 152px;
|
|
}
|
|
|
|
/* set the day/mon/year drop-down width */
|
|
#nd_days-select {
|
|
margin-top: 4px;
|
|
width: 56px;
|
|
}
|
|
|
|
/* set the day/mon/year drop-down width */
|
|
#nd_age-select {
|
|
margin-top: 4px;
|
|
width: 95px;
|
|
}
|
|
|
|
/* set the MAC format drop-down width */
|
|
#nd_mac-format {
|
|
margin-top: 4px;
|
|
width: 154px;
|
|
}
|
|
|
|
/* set the MAC format drop-down width */
|
|
#nd_node-mac-format {
|
|
margin-left: -2px;
|
|
margin-top: 4px;
|
|
width: 165px;
|
|
}
|
|
|
|
/* sidebar submit button width and spacing */
|
|
.nd_sidebar button {
|
|
margin-top: 9px;
|
|
margin-left: -3px;
|
|
width: 165px;
|
|
}
|
|
|
|
/* little icon inside of search input fields */
|
|
.nd_field-clear-icon, .nd_field-copy-icon {
|
|
position: absolute;
|
|
margin-left: 140px;
|
|
margin-top: 5px;
|
|
z-index: 1;
|
|
padding: 0px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* little icon inside of search input fields */
|
|
.nd_field-copy-icon {
|
|
color: #999;
|
|
}
|
|
|
|
/* little icon inside of search input fields */
|
|
.nd_field-clear-icon {
|
|
background-color: #A9DBA9;
|
|
color: #3A87AD;
|
|
}
|
|
|
|
/* same for the ports form, but the positioning is slightly different */
|
|
#ports_form .nd_field-clear-icon {
|
|
margin-left: 149px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
/* change bg color for form fields which are being used in a search */
|
|
form .clearfix.success select {
|
|
background-color: #A9DBA9;
|
|
}
|
|
form .clearfix.success input {
|
|
background-color: #A9DBA9;
|
|
}
|
|
|
|
/* bring sidebar items closer together */
|
|
.nd_inputs-list label {
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
/* nudge content closer to the header labels in the sidebar */
|
|
.nd_inputs-list li:first-child {
|
|
padding-top: 3px !important;
|
|
}
|
|
|
|
.icons-ul {
|
|
margin-left: 22px;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
|
/* D3 SVG */
|
|
|
|
.node circle {
|
|
fill: #fff;
|
|
stroke: steelblue;
|
|
stroke-width: 1.5px;
|
|
}
|
|
|
|
.node {
|
|
font: 10px sans-serif;
|
|
}
|
|
|
|
.link {
|
|
fill: none;
|
|
stroke: #eee;
|
|
stroke-width: 1.5px;
|
|
}
|
|
|
|
.neighbor {
|
|
fill: none;
|
|
stroke: #aaa;
|
|
stroke-width: 2px;
|
|
display: none;
|
|
}
|
|
|
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|