Skip to content

Commit

Permalink
Code & Features Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaneltitane committed Apr 26, 2024
1 parent e75989e commit e06b79f
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
1 change: 1 addition & 0 deletions css/css.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
@import url("/css/logo.css");
@import url("/css/media.css");
@import url("/css/modal.css");
@import url("/css/mode.css");
@import url("/css/navigation.css");
@import url("/css/notice.css");
@import url("/css/paypal.css");
Expand Down
87 changes: 87 additions & 0 deletions css/mode.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
#modes {
position: absolute;
top: 0px;
right: calc(-256px - 10px);
padding: 10px 10px 10px 10px;
margin: 0px 0px 0px 0px;

animation-name: mode-reveal;
animation-delay: 5.0s;
animation-duration: 1s;
animation-fill-mode: forwards;
}

.mode {
height: auto;
width: 256px;
position: relative;
padding: 10px 10px 10px 10px;
margin: 0px 0px 10px 0px;
}

.mode::before {
content: "";
position: absolute;
top: 0px;
right: 0px;
border-top: 35px solid #000000ff;
border-left: 35px solid #00000000;
border-bottom: none;
border-right: none;
z-index: 2;
}

.mode-image {

}

.mode a {
color: #00000000;
}

.mode-image::before {
content: "";
position: absolute;
top: 10px;
right: 10px;
border-top: 20px solid #00000000;
border-left: 20px solid #00000000;
border-bottom: none;
border-right: none;
z-index: 1;
}

.mode:hover {
background: #bbbbbbff;
border: 0px solid #00000000;
border-radius: 10px 0px 10px 10px;
}

.mode:hover::before {
content: "";
border-top: 25px solid #666666ff;
border-left: 25px solid #00000000;
}

.mode:hover > .mode-image {
background: #ccccccff;
border-radius: 5px;
margin: 0px 0px 0px 0px;
padding: 10px 10px 10px 10px;
}

.mode:hover > .mode-image::before {
content: "";
border-top: 20px solid #bbbbbbff;
border-left: 20px solid #00000000;
}

.mode a:hover {
color: #666666ff;
}

@keyframes mode-reveal {
0% {right: calc(-256px - 10px);}

100% {right: 0px;}
}
4 changes: 4 additions & 0 deletions legolinux-viewer
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ do
do
model_path=$(echo "${model_path}" | cut -d '/' -f8-)


exit


# get model file name from path

model_file="${model_path##*/}"
Expand Down

0 comments on commit e06b79f

Please sign in to comment.