Added page layout errors
This commit is contained in:
parent
4b21b0ac07
commit
65c0984348
6 changed files with 119 additions and 24 deletions
|
|
@ -12,6 +12,30 @@ html {
|
|||
[onClick] {
|
||||
cursor: pointer;
|
||||
}
|
||||
#page-error {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 8192;
|
||||
width: 500px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
padding: 48px;
|
||||
border: 2px solid #a00;
|
||||
font-weight: bold;
|
||||
background: #fff;
|
||||
box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
#page-error.show {
|
||||
display: block;
|
||||
position: fixed;
|
||||
}
|
||||
#page-error .close {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
right: 16px;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
#layout {
|
||||
display: grid;
|
||||
grid-template-areas: "menu content";
|
||||
|
|
@ -35,9 +59,7 @@ html {
|
|||
#menu .entry > a {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
grid-template-rows: 38px
|
||||
16px
|
||||
;
|
||||
grid-template-rows: 38px 16px;
|
||||
padding: 16px;
|
||||
color: #7bb8eb;
|
||||
text-decoration: none;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,30 @@ html {
|
|||
[onClick] {
|
||||
cursor: pointer;
|
||||
}
|
||||
#page-error {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 8192;
|
||||
width: 500px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
padding: 48px;
|
||||
border: 2px solid #a00;
|
||||
font-weight: bold;
|
||||
background: #fff;
|
||||
box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
#page-error.show {
|
||||
display: block;
|
||||
position: fixed;
|
||||
}
|
||||
#page-error .close {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
right: 16px;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
#layout {
|
||||
display: grid;
|
||||
grid-template-areas: "menu content";
|
||||
|
|
@ -35,9 +59,7 @@ html {
|
|||
#menu .entry > a {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
grid-template-rows: 38px
|
||||
16px
|
||||
;
|
||||
grid-template-rows: 38px 16px;
|
||||
padding: 16px;
|
||||
color: #777;
|
||||
text-decoration: none;
|
||||
|
|
|
|||
|
|
@ -18,6 +18,37 @@ html {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
#page-error {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 8192;
|
||||
|
||||
width: 500px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
padding: 48px;
|
||||
border: 2px solid #a00;
|
||||
font-weight: bold;
|
||||
|
||||
background: #fff;
|
||||
box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.25);
|
||||
|
||||
&.show {
|
||||
display: block;
|
||||
position: fixed;
|
||||
|
||||
}
|
||||
|
||||
.close {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
right: 16px;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
#layout {
|
||||
display: grid;
|
||||
grid-template-areas: "menu content";
|
||||
|
|
@ -37,16 +68,17 @@ html {
|
|||
.entry {
|
||||
&.selected {
|
||||
background: @bg3;
|
||||
a { color: @text2 !important; }
|
||||
|
||||
a {
|
||||
color: @text2 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&>a {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
grid-template-rows:
|
||||
38px
|
||||
16px
|
||||
;
|
||||
38px 16px;
|
||||
padding: 16px;
|
||||
color: @text3;
|
||||
text-decoration: none;
|
||||
|
|
@ -158,6 +190,7 @@ body {
|
|||
h1,
|
||||
h2 {
|
||||
margin-bottom: 4px;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
|
@ -247,4 +280,3 @@ label {
|
|||
width: min-content;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue