Skip to content

Commit

Permalink
Merge pull request #18 from cloudoptlab/refactor/1.4.1/popup-new-design
Browse files Browse the repository at this point in the history
refactor pupop.html by design
  • Loading branch information
T-baby committed Oct 15, 2019
2 parents 0da1415 + 6fe553f commit 1bea616
Show file tree
Hide file tree
Showing 17 changed files with 6,674 additions and 1,204 deletions.
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
node_modules/
dist/
yarn-error.log
yarn.lock
yarn.lock

lib/**.js
lib/mdl
lib/noty
lib/bootstrap
lib/g2
lib/keyboard
lib/shardsUI
128 changes: 0 additions & 128 deletions css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,124 +12,6 @@
background-color: inherit;
}

.popup {
width: 270px;
height: 470px;
background-color: #feffff;
}

.popup header .mdl-textfield--expandable .mdl-button--icon {
top: 0px;
}

.popup header .mdl-textfield .mdl-button {
bottom: 0px;
position: relative;
}

.popup .mdl-button .material-icons {
font-size: 18px;
}

.popup table {
width: 100%;
height: 100%;
}

.popup .mdl-data-table td {
text-align: left;
}

.popup .score {
margin: 10px auto 0px auto;
}

.popup .score-button {
margin-top: 10px;
}

.popup .score h1 {
display: inline-block;
font-weight: 100;
margin-top: 0px;
margin-bottom: 30px;
}

.popup .score pre {
display: inline-block;
font-weight: 100;
font-size: 8px;
}

.popup .mdl-button {
color: #ffffff;
}

.popup .score-button {
margin: -15px auto;
background: #ffffff;
color: #3f51b5;
border-radius: 50px;
}

.popup .mdl-list li {
height: 60px;
}

.popup .mdl-list {
margin-top: 0px;
margin-bottom: 0px;
padding: 0px;
}

.popup .mdl-list__item-avatar.material-icons {
color: #ffffff;
margin-top: 3px;
font-size: 24px;
padding: 3px;
width: 30px;
height: 30px;
}

.popup .mdl-list .title {
font-size: 13px;
line-height: 18px;
}

.popup .mdl-list .title.mdl-list__item-sub-title {
font-size: 10px;
line-height: 10px;
}

.popup .mdl-list li {
border-bottom: 1px solid #f8f9fa;
cursor: pointer;
}

.popup .mdl-list li:hover {
background-color: #eeeeee;
}

.popup .color1 {
background-color: #008ff4
}

.popup .color2 {
background-color: #1761f0
}

.popup .color3 {
background-color: #4b4ad4
}

.popup .color4 {
background-color: #5933c6
}

.popup .mdl-layout__header-row {
padding-left: 20px;
}

#material-card {
height: 500px;
width: 100%;
Expand All @@ -138,10 +20,6 @@
position: absolute;
}

.popup .mdl-layout-title img {
width: 80px;
}

.mdl-layout-title img {
width: 100px;
}
Expand Down Expand Up @@ -231,15 +109,9 @@ table .mdl-list__item-avatar.material-icons {
}

@media screen and (max-width: 700px) {
.popup .mdl-layout__header {
height: 230px;
}
.mdl-list__item--two-line .mdl-list__item-primary-content .mdl-list__item-sub-title {
display: none;
}
.mdl-list__item--two-line .mdl-list__item-primary-content {
line-height: 27px;
}
#option-main .logo {
margin-left: 20px;
}
Expand Down
Loading

0 comments on commit 1bea616

Please sign in to comment.