Skip to content

Commit

Permalink
Refactor constraining width style and fix styling creeps on ticket
Browse files Browse the repository at this point in the history
registration page.
  • Loading branch information
hussainweb committed Jul 11, 2015
1 parent 5485535 commit 38f028c
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 32 deletions.
24 changes: 15 additions & 9 deletions docroot/sites/all/themes/drupalcamp/css/drupalcamp.no-query.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

24 changes: 15 additions & 9 deletions docroot/sites/all/themes/drupalcamp/css/drupalcamp.styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@mixin constrain_width {
max-width: $wide;
width: 94%;
margin: 0 auto;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,16 @@
.l-content > form,
.l-main .tabs,
.l-main .messages,
.l-main .container-inner,
.l-main .user-tickets,
.page-title,
.l-region--footer,
.action-links,
.l-navigation .l-constrained,
.view-cod-session-user-presentations,
.page-node-sessions-proposed .l-content .preface .view-display-id-track_session_filter,
.page-node-sessions-accepted .l-content .preface .view-display-id-track_session_filter,
.page-node-sessions-proposed .view-display-id-track_session_summary > .view-content,
.page-node-sessions-accepted .view-display-id-track_session_summary > .view-content, .view-display-id-panel_sessions_by_track,
.webform-confirmation,
.l-content .node-session,
.l-content .node-page,
.l-content .entity-ticket-registration {
max-width: $wide;
width: 94%;
margin: 0 auto;
@include constrain_width;
}

.node--full, .panelizer-view-mode.node-full {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
.view-cod-session-user-presentations,
.page-node-sessions-proposed .l-content .preface .view-display-id-track_session_filter,
.page-node-sessions-accepted .l-content .preface .view-display-id-track_session_filter,
.page-node-sessions-proposed .view-display-id-track_session_summary > .view-content,
.page-node-sessions-accepted .view-display-id-track_session_summary > .view-content, .view-display-id-panel_sessions_by_track {
@include constrain_width;
}

/* My Sessions page */
.view-cod-session-user-presentations {
.views-exposed-form {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
?>

<div class="container-inner">
<div class="user-tickets">
<h2 class="ticket-user-tickets-title"><?php print $title; ?></h2>
<div class="ticket-user-tickets-data"><?php print $data; ?></div>
</div>

0 comments on commit 38f028c

Please sign in to comment.