Merge branch 'main' of https://github.com/frappe/community into cleanup

This commit is contained in:
pateljannat
2021-07-15 17:36:31 +05:30
15 changed files with 650 additions and 82 deletions

View File

@@ -304,6 +304,11 @@ input[type=checkbox] {
height: 45px;
}
@media (max-width: 360px) {
.course-card-title {
font-size: 14px;
}
}
.card-divider {
border: 1px solid #F4F5F6;
margin-bottom: 16px;
@@ -863,11 +868,30 @@ div.custom-checkbox>label>input:checked+img {
margin: 0;
}
.avatar-xl {
.avatar-large {
width: 88px;
height: 88px;
}
.avatar-xl {
width: 112px;
height: 112px;
}
@media (max-width: 500px) {
.avatar-xl {
width: 88px;
height: 88px;
}
}
@media (max-width: 375px) {
.avatar-xl {
width: 50px;
height: 50px;
}
}
.description-card {
padding: 24px;
flex-direction: column;
@@ -1067,25 +1091,148 @@ div.custom-checkbox>label>input:checked+img {
font-weight: bold;
}
.lesson-progress-tick {
width: 16px;
height: 16px;
background: #4C5A67;
border-radius: 2px;
padding: 2px;
margin: 0px 4px 4px;
.profile-page {
max-width: 1150px;
margin: 0 auto;
padding-top: 1rem;
padding-bottom: 1rem;
}
.profile-banner {
width: 100%;
height: 248px;
border-radius: 12px 12px 0px 0px;
}
@media (max-width: 500px) {
.profile-banner {
height: 150px;
}
}
.profile-info {
height: 68px;
background: #ffffff;
border-radius: 0px 0px 12px 12px;
}
.profile-avatar {
position: relative;
top: 188px;
left: 40px;
display: flex;
}
@media (max-width: 500px) {
.profile-avatar {
top: 95px;
left: 10px;
}
}
@media (max-width: 375px) {
.profile-avatar {
top: 120px;
left: 10px;
}
}
.profile-name {
color: #FFFFFF;
font-weight: 600;
font-size: 22px;
line-height: 156%;
letter-spacing: -0.0175em;
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.64);
padding: 20px;
}
@media (max-width: 375px) {
.profile-name {
font-size: 16px;
padding: 5px;
}
}
.creator-badge {
background: #48BB74;
padding: 4px 6px;
color: #ffffff;
font-style: normal;
font-weight: bold;
font-size: 10px;
line-height: 120%;
text-align: center;
letter-spacing: 0.011em;
text-transform: uppercase;
height: fit-content;
box-shadow: 0px 1px 1px rgb(0 0 0 / 16%);
border-radius: 4px;
margin-top: 25px;
}
@media (max-width: 375px) {
.creator-badge {
font-size: 8px;
margin: 8px 0px 0px;
}
}
.profile-profession {
position: relative;
top: 16px;
left: 174px;
font-size: 12px;
line-height: 165%;
}
@media (max-width: 500px) {
.profile-profession {
top: 10px;
left: 120px;
}
}
@media (max-width: 375px) {
.profile-profession {
top: 5px;
left: 70px;
}
}
.social-icons {
float: right;
margin: 16px;
}
@media (max-width: 500px) {
.social-icons {
margin: 10px;
}
}
@media (max-width: 375px) {
.social-icons {
margin: 5px;
}
}
.profile-courses {
margin-top: 3rem;
}
@media (max-width: 375px) {
@media (max-width: 500px) {
.profile-courses {
padding: 0px 24px 0px;
}
}
@media (max-width: 360px) {
.profile-courses {
padding: 0px 10px 0px;
}
}
.progress-text {
font-size: 12px;
line-height: 165%;
@@ -1117,9 +1264,9 @@ div.custom-checkbox>label>input:checked+img {
}
}
@media (max-width: 375px) {
@media (max-width: 600px) {
.progress-card {
width: 312px;
width: 100%;
}
}

View File

@@ -0,0 +1,9 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect x="2" y="2" width="20" height="20" fill="url(#pattern0)"/>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0" transform="scale(0.05)"/>
</pattern>
<image id="image0" width="20" height="20" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABiUlEQVQ4EZWU4VUCMQzHOwIjMAIb6AhuIBvgArb9QkLDh3MD3EA3wA10A9wAN0D/PdLLld5DeI+XuzT95Z9cU+cavxi7maf0GCi9BU6HwHI6//eBUhd5e9/Y1nZFSk+B5GggCqvtPq5l0aY456AqsOz+ARrAJMdI6aEJ9ZReb4INbThdtCCXOQrgeWRZepJvTeI5/ZjniHKLCCiN3SwrzaVWPdMSsFYCz07bN88p2iQ9kGWpTrU1RBPUtihEdSTHvO5Z3hUE6zl91Run3q1C7M0fyPapOKcIDX/dW2fVZaA2t7G55fIkH8qA4kvgLVPgnLMVZiB6phlgPctLS0nLh/Nn9+L4OQCsM0M3smoBrK+Hjeb8lI9UnWWAp4PnbXgmuVNQZJ77jaz6S6NcGHkUR6fDNHZ3MTXVBWBih5nWI1Myr2WhyqAY5wkNxvhpjFqUpbFqkUTXi8XmHEDyeW1SFASLUifjoc4c1Mn7ToFQNglTqQjAlwcYCdRvbVY1dQ/awPr5avZ6w9/7L3HVAW99VdWzAAAAAElFTkSuQmCC"/>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,9 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect x="2" y="3" width="20.7" height="18" fill="url(#pattern0)"/>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0" transform="scale(0.0434783 0.05)"/>
</pattern>
<image id="image0" width="23" height="20" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAUCAYAAABmvqYOAAABtUlEQVRIDa2UTU7CQBSAOYJH4CgcxSNwAIPoAgSEqAmIbohR/iQIgiK0nU75q4BiKz0ALnStxoULTMZMzWvGoUBrbPLy5jUz3zd5M61nKxJ7iR0kjz0uH1HEPhErH93+7eK1m+EoobEd3Z25kbSQrAtIJjQkrMxsJQCH7EQiIuQHMJvnJADlM5UkUukNvls3GHsFJL+yUH5MJe2eGvbwULaOp9KfmXzeywpaklzlYXb1cDTWl8ITqSOSyRYqAKeHaAfi33V6KtEmhuIETjKneR/GeK2F5CkP4mtJxkTTH13As4VpQ5B2eJBdPRiNiD4xXMFJ+bJuXjs7ILxTOl0T7BqeyRZIQxCXCu4ftL/Dc+cXC+H9wcACO9p5PHn4TnfMRvXqek6AFMU8RAqFWHlbQnv72bNi6Y2Fn+SKpCmiX4Lh3diCOoYHwpEgveOlcs3PSkqVmgVvd3tzYEdtATh8RKyk3mgSQUJfY03/HzgrKZarz11VfYI28NnseTAc8wVCUYX9p8CY3znAIWuG4aMQHmy1BSbaSVbBYa2dxNw5TIDMSpzCYS0rsYXDRCqhAbWb/COZrH8Ddw70agzSigAAAAAASUVORK5CYII="/>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB