Skip to content

Commit

Permalink
fix: squashing all dark-theme commits
Browse files Browse the repository at this point in the history
---------

Co-authored-by: “tanveer65” <tanveer.ahmad@arbisoft.com>

update header style

feat: update dark theme

update style

fixing

update and fixes

mobile fixes

fixes

fixes

fixes

fixes

fixes

update dark theme

merge: merge tanveer/brwoser changes into tanveer/indigo

fixs

update styling

fix: sidebar border color

fix: sidebar border color

update button style

fixes

fixes

fixes

fixes
  • Loading branch information
tanveer65 authored and hinakhadim committed Jul 9, 2024
1 parent 748ce48 commit 3800a3a
Show file tree
Hide file tree
Showing 17 changed files with 4,258 additions and 1,904 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"homepage": "https://github.com/edly-io/brand-openedx#readme",
"publishConfig": {
"access": "public"
},
"scripts": {
"postinstall": "node postinstall.js"
}
}
261 changes: 261 additions & 0 deletions paragon/_account.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
.page__account-settings {
max-width: 1600px;
margin: 0 auto;
padding: 35px 15px 20px !important;
.form-control {
padding: 6px 10px;
font-size: 14px;
line-height: 20px;
height: 32px;
}
h1 {
color: $text-color;
font-size: 24px;
line-height: 30px;
font-weight: 700;
margin: 0 0 20px;
}
.account-section {
font-size: 14px;
line-height: 20px;
color: $text-color-primary;
p {
margin: 0 0 15px;
}
h2.section-heading {
font-size: 18px;
line-height: 24px;
font-weight: 700;
margin: 0 0 15px;
color: $text-color;
}
}
.row {
@include media-breakpoint-up(md) {
margin: 0;
}
.col-md-2 {
flex: 100%;
max-width: 100%;
@include media-breakpoint-up(md) {
flex: 240px;
max-width: 240px;
padding: 0 0 30px;
}
.jump-nav {
padding: 0;
&.position-sticky {
position: static !important;
@include media-breakpoint-up(md) {
position: sticky !important;
}
}
ul {
padding: 0;
margin: 0;
li {
margin: 0 0 2px;
&.font-weight-bold {
a {
background: $primary-light;
color: $primary;
text-decoration: none;
}
}
a {
display: block;
font-size: 14px;
font-weight: 500;
line-height: 20px;
color: $primary;
text-decoration: none;
padding: 8px 12px;
border-radius: 6px;
&:hover {
background: $primary-light;
color: $primary;
text-decoration: none;
}
}
}
}
}
}
.col-md-10 {
flex: 100%;
max-width: 100%;
@include media-breakpoint-up(md) {
flex: 500px;
max-width: 500px;
padding: 0 0 0 50px;
}
@include media-breakpoint-up(lg) {
flex: 750px;
max-width: 750px;
}
}
}
#delete-account {
p.text-danger {
margin: 0 0 15px;
font-weight: 400;
font-size: 14px;
}
a.standalone-link {
color: $primary;
}
button.btn-outline-danger {
padding: 7px 13px !important;
border: 1px solid #D1D5DB !important;
font-size: 14px !important;
color: #374151;
text-decoration: none;
font-weight: 500;
}
}
.pgn-transition-replace-group + .form-group {
border: 1px solid #E5E7EB;
border-left: 8px solid $primary-light;
padding: 15px !important;
margin: 0 0 15px !important;
border-radius: 8px;
font-size: 14px;
color: $text-color;
h6 {
font-weight: 600;
font-size: 18px;
color: $text-color;
margin: 5px 0 0 !important;
}
p {
margin: 10px 0 0;
button {
&.btn-link {
font-weight: 600;
font-size: 16px;
color: $primary;
}
}
}
.alert-warning {
margin: 10px 0 0 !important;
box-shadow: none;
padding: 15px !important;
background: $primary-light !important;
a {
color: $primary;
}
}
}
.pgn-transition-replace-group {
border: 1px solid #E5E7EB;
border-left: 8px solid $primary-light;
padding: 15px !important;
margin: 0 0 15px !important;
border-radius: 8px;
font-size: 14px;
color: $text-color;
p.h6 {
font-weight: 600;
font-size: 16px;
color: $text-color;
margin: 5px 0 0 !important;
}
p.small.text-muted, div.pgn__form-text.pgn__form-text-default {
background: $primary-light;
padding: 10px 15px;
border-radius: 6px;
font-size: 14px;
line-height: 20px;
color: $text-color !important;
margin: 10px 0 0 !important;
&:empty {
display: none;
}
}
.form-group {
margin: 0;
p.text-truncate, p[data-hj-suppress="true"] {
font-weight: 600;
font-size: 16px;
color: $text-color-primary;
margin: 5px 0 0 !important;
button {
font-weight: 600;
font-size: 16px;
color: $primary;
margin: 0 !important;
}
}
.d-flex.align-items-start {
h6 {
padding: 6px 66px 6px 0;
font-size: 18px;
font-weight: 600;
line-height: 24px;
color: $text-color;
margin: 0;
}
button {
padding: 7px 13px !important;
border: 1px solid $primary !important;
color: #fff;
text-decoration: none;
font-size: 14px;
font-weight: 500;
line-height: 20px;
margin: 0 !important;
position: absolute;
right: 15px;
top: 15px;
background: $primary;
svg {
display: none;
}
}
p {
.small.text-muted {
font-size: 16px;
color: $text-color-primary !important;
line-height: 20px;
}
}
}
}
form {
.pgn__form-control-decorator-group {
margin: 10px 0 0;
}
label.h6 {
font-size: 18px;
font-weight: 600;
line-height: 24px;
color: $text-color;
margin: 0;
}
>p {
text-align: end;
display: flex;
flex-direction: row-reverse;
margin: 0;
button {
padding: 7px 13px !important;
border: 1px solid $primary !important;
color: #fff;
text-decoration: none;
font-size: 14px;
font-weight: 500;
line-height: 20px;
margin: 0 0 0 15px !important;
background: $primary;
border-radius: 8px;
&.btn-outline-primary {
background: #fff !important;
border-color: #D1D5DB !important;
color: #374151;
}
}
}
}
}
}
Loading

0 comments on commit 3800a3a

Please sign in to comment.