Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
220 changes: 220 additions & 0 deletions packages/webgal/public/game/template/UI/Backlog/backlog.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
.Backlog_main {
font-family: "思源宋体", serif;
position: absolute;
top: 0;
width: 100%;
height: 100%;
z-index: 10;
background: rgba(0, 0, 0, 0.7);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Consider defining rgba(0, 0, 0, 0.7) as a CSS variable or a Sass variable to improve maintainability and consistency across your stylesheets. This value is repeated in .Backlog_main_out.

padding: 2em 0 2em 0;
animation: backlog_soft_in 0.7s ease-out forwards;
box-sizing: border-box;
}

.Backlog_main_out {
font-family: "思源宋体", serif;
position: absolute;
top: 0;
width: 100%;
height: 100%;
z-index: 10;
background: rgba(0, 0, 0, 0.7);
padding: 2em 0 2em 0;
animation: backlog_soft_out 0.7s ease-out forwards;
box-sizing: border-box;
}

// 把z-index置为负数 不然会挡住点击层
.Backlog_main_out_IndexHide {
z-index: -10;
}

// 暂时禁用滚动
.Backlog_main_DisableScroll {
overflow: hidden !important;
}


.backlog_top {
padding: 0 0 0 1em;
display: flex;
height: 10%;
}

.backlog_top_icon {
padding: 0.6em 0.6em 0 0.6em;
border-radius: 1000px;
transform: translate(0, -13px);
cursor: pointer;
}

.backlog_top_icon:hover {
background: rgba(255, 255, 255, 0.25);
animation: backlog_icon_softin 0.25s ease-out forwards;
}

@keyframes backlog_icon_softin {
0% {
background: rgba(255, 255, 255, 0);
}
100% {
background: rgba(255, 255, 255, 0.25);
}
}


.backlog_title {
height: 100%;
line-height: 100%;
font-size: 360%;
font-weight: bold;
color: transparent;
background: linear-gradient(150deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 35%, rgba(165, 212, 228, 1) 100%);
-webkit-background-clip: text;
}

.backlog_content {
position: absolute;
height: 80%;
padding: 1em 10em 1em 10em;
overflow: auto;
display: flex;
flex-flow: column-reverse;
font-weight: normal;
width: 100%;
box-sizing: border-box;
}


.backlog_item {
display: flex;
color: white;
font-size: 165%;
opacity: 0;
animation: backlog_item_in 0.5s ease-out forwards;
margin: 1.25em 0 0 0;
width: 100%;
}

.backlog_item_out {
display: flex;
color: white;
font-size: 165%;
opacity: 0;
animation: backlog_item_out 0.5s ease-out forwards;
margin: 1.25em 0 0 0;
width: 100%;
}

.backlog_func_area {
display: flex;
flex-flow: row;
align-items: flex-start;
width: 30%;
max-width: 30%;
min-width: 30%;
}

.backlog_item_content_name {
font-weight: bold;
color: transparent;
//background: linear-gradient(150deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 55%, rgb(210, 243, 255) 100%);
background: linear-gradient(150deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 35%, rgba(165, 212, 228, 1) 100%);
-webkit-background-clip: text;
//width: 20%;
margin: 0 0 0 auto;
overflow-wrap: break-word;
box-sizing: border-box;
//background: rgba(255, 255, 255, 0.175);
border-radius: 7px;
padding: 0.2em 0.5em 0.2em 0.5em;
font-size: 115%;
width: 50%;
text-align: left;
//font-family: WebgalUI, serif;
letter-spacing: 0.1em;
}

.backlog_item_content {
//display: flex;
font-size: 115%;
width: 82.5%;
box-sizing: border-box;
padding: 0.2em 0 0 1em;
//font-family: WebgalUI, serif;
letter-spacing: 0.05em;
}

.backlog_item_button_list {
display: flex;
//padding: 0 2em 0 0.3em;
flex-flow: row;
align-items: flex-start;
margin: 0.35em 0 0 0;
}

.backlog_item_button_element {
cursor: pointer;
padding: 0.01em 0.75em 0 0.75em;
margin: 0 0 0 0.5em;
background: rgba(255, 255, 255, 0.075);
border-radius: 7px;
display: flex;
//border: 1px solid rgba(255, 255, 255, 0.15);
//box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.backlog_item_button_element:hover {
background: rgba(255, 255, 255, 0.25);
//border: 1px solid rgba(255, 255, 255, 0);
//box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}


.backlog_item_content_text {
//width: 80%;
box-sizing: border-box;
}


@keyframes backlog_soft_in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

@keyframes backlog_soft_out {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}

@keyframes backlog_item_in {
0% {
opacity: 0;
transform: scale(1.05, 1.05) translate(-15px, 10px) rotateX(-5deg) rotateY(-5deg);
//background-color: rgba(255, 255, 255, 0.2);
}
100% {
opacity: 1;
transform: scale(1, 1) translate(0, 0);
}
}

@keyframes backlog_item_out {
0% {
opacity: 1;
transform: scale(1, 1) translate(0, 0);
}
100% {
opacity: 0;
transform: scale(1.05, 1.05) translate(-15px, 10px) rotateX(-5deg) rotateY(-5deg);
background-color: rgba(255, 255, 255, 0.2);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
//.ToCenter {
// display: flex;
// justify-content: center;
// position: absolute;
// bottom: 0;
// left: 0;
// width: 100%;
// z-index: 9;
//}

.main {
//border-bottom: 2px solid rgba(255,255,255,0.25);
position: absolute;
bottom: 20px;
//will-change: z-index;
z-index: 9;
display: flex;
//background-image: linear-gradient(rgba(245, 247, 250, 0.7) 0%, rgba(195, 207, 226, 0.7) 100%);
flex-flow: row;
justify-content: center;
align-items: center;
//width: 100%;
height: 70px;
right: 20px;
border-radius: 35px;
//backdrop-filter: blur(5px);
padding: 0.15em 1.75em 0.15em 1.75em;
//background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 100%);
//border-radius: 10px;
font-size: 80%;
}

.button {
position: relative;
top: 2px;
padding: 0 0 0 0;
filter: drop-shadow(1px 1px 5px rgba(0, 0, 0, 1));
}

.button_text {
position: relative;
bottom: 8px;
color: white;
text-shadow: 1px 1px 5px rgba(0, 0, 0, 1);
padding-left: 3px;
}

.button_on {
height: 100%;
display: inline-block;
font-size: 150%;
padding: 0.25em 0.3em 0 0.15em;
transition: background-color 0.5s;
background: rgba(255, 255, 255, 0.3);
border-radius: 4px;
margin: 0 0.1em 0 0.1em;
}

.singleButton {
//border-bottom: 1px solid rgba(255, 255, 255, 0.5);
height: 100%;
display: inline-block;
color: white;
font-size: 150%;
padding: 0.3em 0.3em 0 0.15em;
transition: background-color 0.5s;
cursor: pointer;
border-radius: 4px;
margin: 0 0.1em 0 0.1em;
position: relative;
}

.singleButton:hover, .singleButton_active {
background-color: rgba(255, 255, 255, 0.3);
}

.fastSlPreview {
position: absolute;
top: -250px;
right: 0;
background: linear-gradient(315deg, rgba(253, 251, 251, 0.9) 0%, rgba(235, 237, 238, 0.85) 100%);
width: 900px;
height: 230px;
color: #005caf;
border-radius: 5px;
display: none;
animation: fastSlEnter 0.33s;
transition: opacity 0.33s;
}

.fastsave:hover .fastSPreview {
display: block;
}

.fastload:hover .fastLPreview {
display: block;
}

@keyframes fastSlEnter {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

.slPreviewMain {
padding: 0.5em 0.5em 0.5em 0.5em;
display: flex;
box-sizing: border-box;
height: 100%;
width: 100%;
}

.imgContainer {
display: flex;
overflow: hidden;
border-radius: 5px;
//outline: 4px solid #005caf;
flex-shrink: 0;
height: 100%;
}

.textContainer {
overflow: hidden;
padding: 0 0 0 0.5em;
}
Loading