tidy and comment css
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
/* for the fixed navbar */
|
/* for the fixed navbar make sure content stops short of page top*/
|
||||||
body {
|
body {
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* the bootstrap style is only set for input */
|
/* the bootstrap style is only set for input so set for select too*/
|
||||||
/* also make the green a little more bold */
|
/* also make the green a little more visible */
|
||||||
form .clearfix.success select {
|
form .clearfix.success select {
|
||||||
border-color: green;
|
border-color: green;
|
||||||
}
|
}
|
||||||
@@ -12,14 +12,17 @@ form .clearfix.success input {
|
|||||||
border-color: green;
|
border-color: green;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* make the sidebar less wide */
|
||||||
.well {
|
.well {
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* make the content start more to the left now the sidebar is narrower */
|
||||||
.nd_content {
|
.nd_content {
|
||||||
margin-left: 225px !important;
|
margin-left: 225px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* various styles to adjust the hero box used for homepage + login */
|
||||||
.nd_loginalert {
|
.nd_loginalert {
|
||||||
margin-top: -40px;
|
margin-top: -40px;
|
||||||
}
|
}
|
||||||
@@ -32,37 +35,39 @@ form .clearfix.success input {
|
|||||||
padding: 30px 60px 40px 90px;
|
padding: 30px 60px 40px 90px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inputs-list:first-child {
|
|
||||||
padding-top: 2px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.device_label {
|
|
||||||
color: #0069D6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nd_loginform {
|
.nd_loginform {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nd_days_select {
|
/* nudge content closer to the header labels in the sidebar */
|
||||||
width: 56px;
|
.inputs-list:first-child {
|
||||||
|
padding-top: 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* icolour for device name and ip in sidebar */
|
||||||
|
.device_label {
|
||||||
|
color: #0069D6;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* nudge content in the sidebar closer to the left */
|
||||||
.nd_sidesearchform {
|
.nd_sidesearchform {
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* fixups for prepended checkbox in sidebar */
|
||||||
.nd_searchcheckbox {
|
.nd_searchcheckbox {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
padding-left: 35px;
|
padding-left: 35px;
|
||||||
cursor: default;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* placement of the search/filter bookmark link icon */
|
||||||
.nd_bookmark {
|
.nd_bookmark {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* fixups for placing the Archived "A" inside the prepended checkbox */
|
||||||
.nd_legendlabel {
|
.nd_legendlabel {
|
||||||
float: right;
|
float: right;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
@@ -70,33 +75,45 @@ form .clearfix.success input {
|
|||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* somewhere between span1 and span2 is desirable */
|
||||||
|
.nd_days_select {
|
||||||
|
width: 56px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* search/filter button placement */
|
||||||
.nd_search {
|
.nd_search {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* results table links with no decoration */
|
||||||
.nd_stealthlink {
|
.nd_stealthlink {
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
color: #404040;
|
color: #404040;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* make the whole cell become a hyperlink in results table */
|
||||||
.nd_linkcell {
|
.nd_linkcell {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* mouse-over should be pointer to show JS collapser is clickable */
|
||||||
.nd_collapser {
|
.nd_collapser {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* collapser label should not have any decoration even though it's clickable */
|
||||||
|
.clearfix > a {
|
||||||
|
text-decoration: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* class to control default state of collapsible lists on page load */
|
||||||
.nd_collapse_pre_hidden {
|
.nd_collapse_pre_hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
/* draw little up arrow to the right of a label for collapsed list */
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.arrow-up {
|
.arrow-up {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
@@ -106,6 +123,7 @@ a:hover {
|
|||||||
border-bottom: 8px solid #F89406;
|
border-bottom: 8px solid #F89406;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* draw little down arrow to the right of a label for collapsed list */
|
||||||
.arrow-down {
|
.arrow-down {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
|
|||||||
Reference in New Issue
Block a user