Skip to content

Commit

Permalink
Added font for rtl direction and override scss variable. (Fixes opene…
Browse files Browse the repository at this point in the history
  • Loading branch information
amitvadhel7 committed Apr 12, 2018
1 parent 5b650db commit 82d0d89
Show file tree
Hide file tree
Showing 42 changed files with 6,531 additions and 75 deletions.
10 changes: 6 additions & 4 deletions themes/kkux/lms/static/custom_css/lms-common.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

}
body{font-family: 'Levenim MT'}
body, h1, h2, h3, h4, h5, h6, p, label {font-family: 'Levenim MT'}
html, button, input, select, textarea {font-family: 'Levenim MT';}
img{max-width:100%;}
a{transition:all 0.3s ease-in-out 0s;-webkit-transition:all 0.3s ease-in-out 0s; -moz-transition:all 0.3s ease-in-out 0s;}
a:focus, a:hover{text-decoratiright-topon:none;outline:none; }
Expand Down Expand Up @@ -247,7 +249,7 @@ body.view-in-course .content-wrapper{padding-bottom: 25px;}
/*common style end*/

/*header css start*/
#header, #footer{font-family: 'Levenim MT' !important}
#header, #footer{font-family: 'Levenim MT'}
#header *, #header *:before, #header *:after, #footer *, #footer *:before, #footer *:after {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
#header .navbar-default {background-color: #fff;border-color: #94d3dd;border-bottom: 2px solid #94d3dd;}
#header .navbar:before, #header .navbar:after, .custom-container:before, .custom-container:after,
Expand Down Expand Up @@ -318,17 +320,17 @@ body.view-in-course .content-wrapper{padding-bottom: 25px;}
#footer{background:#545454;padding:30px 0 40px; overflow: hidden;}
#footer .fot-col{width:18%;float: left;}
#footer .fot-col.big{ width: 23%;}
#footer h4{color: #fff; font-size: 24px;line-height:25px;margin-bottom:35px; margin-top:30px; text-transform: uppercase; font-family: inherit; }
#footer h4{color: #fff; font-size: 24px;line-height:25px;margin-bottom:20px; margin-top:15px; text-transform: uppercase; font-family: inherit; }
#footer ul{list-style:none;padding: 0; margin: 0;}
#footer ul li{float: left;width: 100%;line-height:32px;}
#footer ul li a{color: #fff; font-size: 21px; text-decoration:none;}
#footer ul li a{color: #fff; font-size: 1em; text-decoration:none;}
#footer ul li a:hover{color:#93b045;}
#footer .fot-col.last{ width: 23%;}
#footer .fot-logo{width:100%; display: inline-block;}
#footer .fot-col img{max-width: 100%;margin-bottom: 30px;}
#footer .followers{width:100%; display: inline-block; margin-top:40px; }
#footer .copyright{width: 100%;overflow: hidden;padding: 40px 0 0; text-align: center;}
#footer .copyright p{margin:0;font-size: 18px;line-height: 24px;color: #fff; }
#footer .copyright p{margin:0;font-size: 18px;line-height: 24px;color: #fff; text-align: center;}
/*footer css end*/


Expand Down
32 changes: 28 additions & 4 deletions themes/kkux/lms/static/custom_css/lms-custom-rtl.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,29 @@
@font-face {
font-family: 'GE-SS-Two-Light';
src: url('../fonts/GE-SS-Two-Light.eot');
src: url('../fonts/GE-SS-Two-Light.eot?#iefix') format('embedded-opentype'),
url('../fonts/GE-SS-Two-Light.woff') format('woff'),
url('../fonts/GE-SS-Two-Light.ttf') format('truetype'),
url('../fonts/GE-SS-Two-Light.svg#GE-SS-Two-Light') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'GE-SS-Two-Medium';
src: url('../fonts/GE-SS-Two-Medium.eot');
src: url('../fonts/GE-SS-Two-Medium.eot?#iefix') format('embedded-opentype'),
url('../fonts/GE-SS-Two-Medium.woff') format('woff'),
url('../fonts/GE-SS-Two-Medium.ttf') format('truetype'),
url('../fonts/GE-SS-Two-Medium.svg#GE-SS-Two-Light') format('svg');
font-weight: normal;
font-style: normal;
}

body {margin: 0px; font-family: 'Levenim MT';}
body, h1, h2, h3, h4, h5, h6, p, label {text-align: initial;}
body {margin: 0px; font-family: 'GE-SS-Two-Light';}
body, h1, h2, h3, h4, h5, h6, p, label {text-align: initial; font-family: 'GE-SS-Two-Light';}
html, button, input, select, textarea {font-family: 'GE-SS-Two-Light';}
/*.container{padding:0;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;}*/
#header, #footer{font-family: 'Levenim MT'}
#header, #footer{font-family: 'GE-SS-Two-Light'}
#header .vision {float: left; padding-right: 36px; padding-left: 0px; }
#header ul.right-top {float: left; margin: 0 40px 0 0; }
#header ul.right-top li {float: right; }
Expand All @@ -29,6 +50,8 @@ body, h1, h2, h3, h4, h5, h6, p, label {text-align: initial;}
.upcoming-skills label i {margin-left: 10px; margin-right: 0px; }

#footer .copyright p, .welcom p, .welcom-block p{text-align: center;}
.course-info .details{font:normal 1em/1.6em 'GE-SS-Two-Light';}
.course-info .details h2, .home>header .title>.heading-group p, section.outside-app h1{font:normal 1.2em/1.2em 'GE-SS-Two-Light';}
.courses-container .courses .course .course-info .course-date span{float: left;}
.featured-block a{text-decoration: none;}
.featured-block a:hover{text-decoration: underline;}
Expand All @@ -37,7 +60,8 @@ body, h1, h2, h3, h4, h5, h6, p, label {text-align: initial;}
.course-about-ar{display: block;}

/*static content css*/
.static-content h1 {text-align: right;}
.static-content h1 {text-align: right; font-family: 'GE-SS-Two-Light';}
body, .instructor-dashboard-content-2 .instructor-nav .nav-item .btn-link{font-family: 'GE-SS-Two-Light'}

@media (max-width: 991px) {
#header .navbar-nav > li a {font-size: 16px; padding: 10px;}
Expand Down
Binary file not shown.
22 changes: 22 additions & 0 deletions themes/kkux/lms/static/fonts/CreativeCommons/cc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added themes/kkux/lms/static/fonts/GE-SS-Two-Light.eot
Binary file not shown.
Binary file added themes/kkux/lms/static/fonts/GE-SS-Two-Light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/kkux/lms/static/fonts/GE-SS-Two-Light.ttf
Binary file not shown.
Binary file added themes/kkux/lms/static/fonts/GE-SS-Two-Light.woff
Binary file not shown.
Binary file added themes/kkux/lms/static/fonts/GE-SS-Two-Medium.eot
Binary file not shown.
Binary file added themes/kkux/lms/static/fonts/GE-SS-Two-Medium.otf
Binary file not shown.
Binary file added themes/kkux/lms/static/fonts/GE-SS-Two-Medium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added themes/kkux/lms/static/fonts/LevenimMT-Bold.eot
Binary file not shown.
Loading

0 comments on commit 82d0d89

Please sign in to comment.