Skip to content

Commit

Permalink
minor css changes for theme compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
therealmarknelson committed Nov 12, 2014
1 parent be59bba commit fd36c3b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 13 deletions.
12 changes: 9 additions & 3 deletions _private/scss/admin/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ table.dad-list tr td:nth-child(2) {
}
.llms-access-levels {
min-height: 42px;
max-height: 200px;
overflow: auto;
padding: .9em;
border: 1px solid #dfdfdf;
Expand Down Expand Up @@ -173,15 +172,22 @@ table.dad-list tr td:nth-child(2) {
}
select[disabled] {
color:#000;
border: none;
border: transparent;
background: none;
-moz-appearance: checkbox-container;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
text-indent: 1px;
text-overflow: '';
box-shadow: none;
background: none;
margin-top: -4px;
}
select[disabled]::-ms-expand {
display: none;
}

.section-placeholder {
height: 200px;
width: 100%;
Expand Down
9 changes: 7 additions & 2 deletions _private/scss/frontend/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@
.llms-course-image {
display: block;
margin: 0 auto;
width: 100%;
max-width: 100%;
}
.llms-featured-image {
display: block;
margin: 0 auto;
margin: 0 auto 10px auto;
}
.llms-image-thumb {
width: 150px;
Expand Down Expand Up @@ -232,6 +232,7 @@
}
.llms-video-wrapper {
text-align: center;
margin-bottom: 10px;
}


Expand All @@ -244,6 +245,8 @@
.llms-syllabus-wrapper {
padding: 15px;
text-align: center;
h3 { margin-bottom: 0;
}
}

//
Expand Down Expand Up @@ -363,6 +366,7 @@
.llms-purchase-link-wrapper {
text-align: center;
width: 100%;
margin-bottom: 10px;
}
.llms-length-wrapper {
margin-top: 20px;
Expand Down Expand Up @@ -807,6 +811,7 @@ padding-top: 0;
width: 100%;
display: block;
clear: both;
text-align: center;
}
.courses a.llms-course-link:hover {
text-decoration: none;
Expand Down
11 changes: 8 additions & 3 deletions assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ table.dad-list tr td:nth-child(2) {

.llms-access-levels {
min-height: 42px;
max-height: 200px;
overflow: auto;
padding: .9em;
border: 1px solid #dfdfdf;
Expand Down Expand Up @@ -167,15 +166,21 @@ table.dad-list tr td:nth-child(2) {

select[disabled] {
color: #000;
border: none;
border: transparent;
background: none;
-moz-appearance: checkbox-container;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
text-indent: 1px;
text-overflow: '';
box-shadow: none;
background: none;
margin-top: -4px; }

select[disabled]::-ms-expand {
display: none; }

.section-placeholder {
height: 200px;
width: 100%; }
Expand Down
15 changes: 10 additions & 5 deletions assets/css/lifterlms.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@
.llms-course-image {
display: block;
margin: 0 auto;
width: 100%; }
max-width: 100%; }

.llms-featured-image {
display: block;
margin: 0 auto; }
margin: 0 auto 10px auto; }

.llms-image-thumb {
width: 150px; }
Expand Down Expand Up @@ -191,11 +191,14 @@
line-height: 30px; }

.llms-video-wrapper {
text-align: center; }
text-align: center;
margin-bottom: 10px; }

.llms-syllabus-wrapper {
padding: 15px;
text-align: center; }
.llms-syllabus-wrapper h3 {
margin-bottom: 0; }

.llms-lesson-preview {
display: inline-block;
Expand Down Expand Up @@ -269,7 +272,8 @@

.llms-purchase-link-wrapper {
text-align: center;
width: 100%; }
width: 100%;
margin-bottom: 10px; }

.llms-length-wrapper {
margin-top: 20px; }
Expand Down Expand Up @@ -612,7 +616,8 @@ h1, h2, h3, h4, h5, h6 {
.llms-lesson-button-wrapper {
width: 100%;
display: block;
clear: both; }
clear: both;
text-align: center; }

.courses a.llms-course-link:hover {
text-decoration: none; }
Expand Down

0 comments on commit fd36c3b

Please sign in to comment.