Skip to content

Commit

Permalink
MDL-42711 consolidated responsive styles into responsive.less
Browse files Browse the repository at this point in the history
  • Loading branch information
Aparup Banerjee committed Nov 13, 2013
1 parent c3349e7 commit 9c53c70
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 31 deletions.
17 changes: 0 additions & 17 deletions theme/bootstrapbase/less/moodle/modules.less
Expand Up @@ -41,23 +41,6 @@ select {
height: 5px; // we should remove the bar height specification in core
}

@media (max-width: 979px) {
.path-mod-forum .forumheaderlist {
thead .header {
font-weight: normal;
font-size: round(@fontSizeSmall);
}
.discussion {
.author, .replies, .lastpost {
font-size: round(@fontSizeSmall);
}
.replies .unread a {
padding: 0;
}
}
}
}

.forumpost {
.well;
padding: 6px;
Expand Down
14 changes: 14 additions & 0 deletions theme/bootstrapbase/less/moodle/responsive.less
Expand Up @@ -351,6 +351,20 @@
.path-mod-data .box > table > tbody > tr > td {
display: block;
}
.path-mod-forum .forumheaderlist {
thead .header {
font-weight: normal;
font-size: round(@fontSizeSmall);
}
.discussion {
.author, .replies, .lastpost {
font-size: round(@fontSizeSmall);
}
.replies .unread a {
padding: 0;
}
}
}
}

@media (max-width: 768px) {
Expand Down
26 changes: 12 additions & 14 deletions theme/bootstrapbase/style/moodle.css
Expand Up @@ -12703,20 +12703,6 @@ select {
.path-mod-feedback .generalbox div table tbody img {
height: 5px;
}
@media (max-width: 979px) {
.path-mod-forum .forumheaderlist thead .header {
font-weight: normal;
font-size: 12px;
}
.path-mod-forum .forumheaderlist .discussion .author,
.path-mod-forum .forumheaderlist .discussion .replies,
.path-mod-forum .forumheaderlist .discussion .lastpost {
font-size: 12px;
}
.path-mod-forum .forumheaderlist .discussion .replies .unread a {
padding: 0;
}
}
.forumpost {
min-height: 20px;
padding: 19px;
Expand Down Expand Up @@ -14918,6 +14904,18 @@ input.fp-btn-choose {
.path-mod-data .box > table > tbody > tr > td {
display: block;
}
.path-mod-forum .forumheaderlist thead .header {
font-weight: normal;
font-size: 12px;
}
.path-mod-forum .forumheaderlist .discussion .author,
.path-mod-forum .forumheaderlist .discussion .replies,
.path-mod-forum .forumheaderlist .discussion .lastpost {
font-size: 12px;
}
.path-mod-forum .forumheaderlist .discussion .replies .unread a {
padding: 0;
}
}
@media (max-width: 768px) {
#filesskin .yui3-panel,
Expand Down

0 comments on commit 9c53c70

Please sign in to comment.