router pics hopglass changes

- don't use display block on the table, instead make the close button
  position absolute
- show the old style heading when no source is defined
- clean up the indention and some small things
This commit is contained in:
Milan Pssler 2016-11-06 00:11:49 +01:00
commit 1641bc2437
5 changed files with 68 additions and 87 deletions

View file

@ -1,40 +1,36 @@
.nodeheader {
width: 90%;
position: relative;
z-index: 2;
width: 90%;
position: relative;
z-index: 2;
}
.nodeheader img {
width: 30%;
max-height: 180px;
margin: auto;
text-align: center;
max-width: 128px;
display: block;
z-index: 2;
width: 30%;
max-height: 180px;
margin: auto;
text-align: center;
max-width: 128px;
display: block;
z-index: 2;
}
.nodeheader img .none{
display: none;
.nodeheader img .none {
display: none;
}
.nodeheader span {
background-color: silver;
background-color: hsla(0, 0%, 100%, 0.5);
position: absolute;
bottom: 0;
width: 100%;
line-height: 1.5em;
text-align: center;
color: black;
font-weight: bold;
font-size: large;
z-index: 2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.limit {
min-height: 1px;
max-height: 1px;
background-color: silver;
background-color: hsla(0, 0%, 100%, 0.5);
position: absolute;
bottom: 0;
width: 100%;
line-height: 1.5em;
text-align: center;
color: black;
font-weight: bold;
font-size: large;
z-index: 2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

View file

@ -101,11 +101,6 @@ table th.sort-up:after {
content: '\f104';
}
table.attributes {
top: 1px;
display: block;
}
table.attributes th {
text-align: left;
font-weight: bold;
@ -121,7 +116,7 @@ table.attributes td {
line-height: 1.41em;
}
table.attributes tr:first-child {
table.attributes tr.routerpic {
max-height: 128px;
max-width: 128px;
min-width: 128px;
@ -130,14 +125,14 @@ table.attributes tr:first-child {
/*background-color: green;*/
}
table.attributes tr:first-child td{
table.attributes tr.routerpic td {
font-weight: bold;
/*background-color: red;*/
font-size: large;
vertical-align:bottom;
}
table.attributes tr:first-child th{
table.attributes tr.routerpic th {
font-weight: bold;
/*background-color: red;*/
font-size: large;
@ -158,7 +153,6 @@ table.attributes tr:first-child th{
@include shadow(2);
background: rgba(255, 255, 255, 0.97);
border-radius: 2px;
padding-bottom: 30px;
}
.container.hidden {
@ -264,6 +258,8 @@ button.close {
border-radius: 0;
color: rgba(0, 0, 0, 0.5);
font-family: "ionicons";
position: absolute;
right: 0;
&:hover {
color: #dc0067;