diff --git a/config/views.view.schedule.yml b/config/views.view.schedule.yml index e963948b0..1254fc382 100644 --- a/config/views.view.schedule.yml +++ b/config/views.view.schedule.yml @@ -4,7 +4,6 @@ status: true dependencies: config: - core.entity_view_mode.node.teaser - - field.storage.node.field_session_type - field.storage.node.field_time_slot - node.type.session module: @@ -57,7 +56,7 @@ display: options: offset: 0 style: - type: grid + type: default options: grouping: - @@ -68,14 +67,9 @@ display: field: field_time_slot rendered: true rendered_strip: false + row_class: '' + default_row_class: true uses_fields: true - columns: 3 - automatic_width: true - alignment: horizontal - col_class_default: true - col_class_custom: '' - row_class_default: true - row_class_custom: '' row: type: 'entity:node' options: @@ -194,68 +188,6 @@ display: separator: ', ' field_api_classes: false plugin_id: field - field_session_type: - id: field_session_type - table: node__field_session_type - field: field_session_type - relationship: none - group_type: group - admin_label: '' - label: '' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: h2 - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: list_default - settings: { } - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - plugin_id: field filters: status: value: '1' @@ -277,6 +209,45 @@ display: entity_type: node entity_field: type plugin_id: bundle + field_session_type_value: + id: field_session_type_value + table: node__field_session_type + field: field_session_type_value + relationship: none + group_type: group + admin_label: '' + operator: or + value: + 'Business day': 'Business day' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + plugin_id: list_field sorts: field_time_slot_value: id: field_time_slot_value @@ -290,7 +261,7 @@ display: expose: label: '' plugin_id: standard - title: Schedule + title: 'CXO Day Schedule' header: { } footer: { } empty: { } @@ -306,16 +277,16 @@ display: - 'user.node_grants:view' - user.permissions tags: - - 'config:field.storage.node.field_session_type' - 'config:field.storage.node.field_time_slot' page_1: display_plugin: page id: page_1 - display_title: Page + display_title: CXO position: 1 display_options: display_extenders: { } - path: schedule + path: schedule-cxo + display_description: '' cache_metadata: max-age: -1 contexts: @@ -324,5 +295,4 @@ display: - 'user.node_grants:view' - user.permissions tags: - - 'config:field.storage.node.field_session_type' - 'config:field.storage.node.field_time_slot' diff --git a/web/themes/dcb2017/css/style.css b/web/themes/dcb2017/css/style.css index 0ee93e618..8fe56ab3a 100644 --- a/web/themes/dcb2017/css/style.css +++ b/web/themes/dcb2017/css/style.css @@ -354,6 +354,30 @@ nav.menu--main { height: auto; max-width: 100%; } +.view-display-id-sponsor_logo_gold .view-content { + text-align: center; } + +.view-display-id-sponsor_logo_gold .views-row { + display: inline-block; + padding: 0.5em 1.5em; + vertical-align: middle; } + +.view-schedule h3 { + background: #0fa877; + color: white; + font-size: 1.5em; + text-align: center; } + +.view-schedule h2 { + font-size: 1.8em; + text-transform: none; } + +.view-schedule h4 { + font-size: 1.3em; } + +.view-schedule p { + margin: 0.5em 0; } + .node--type-session .field--name-field-category, .node--type-session .field--name-field-level, .node--type-session .field--name-field-length { @@ -382,11 +406,15 @@ nav.menu--main { top: 0; left: 0; } .node--type-speaker .profile-info { + min-height: 7em; padding-left: 9em; } } .node--type-speaker.node--view-mode-speaker-profile { margin-bottom: 2em; } +.node--type-speaker .speaker-link { + text-decoration: none; } + .speaker-twitter { background: url("../images/twitter-1.png") no-repeat left center transparent; padding: 0 10px 0 20px; } diff --git a/web/themes/dcb2017/css/style.css.map b/web/themes/dcb2017/css/style.css.map index b1b3bf3a5..01fe04800 100644 --- a/web/themes/dcb2017/css/style.css.map +++ b/web/themes/dcb2017/css/style.css.map @@ -1 +1 @@ -{"version":3,"sources":["_global.scss","base/_variables.scss","layout/_header.scss","layout/_featured.scss","layout/_content.scss","layout/_content-top.scss","layout/_content-bottom.scss","base/_mixins.scss","layout/_footer.scss","components/_menus.scss","components/_blocks.scss","components/_forms.scss","components/_views.scss","content/_session.scss","content/_speaker.scss"],"names":[],"mappings":"AAAA;EACE,mCAAmC;EACnC,gBAAgB,EACjB;;AAED;;EAEE,YCDa,EDOd;EARD;;;IAMI,aAAa,EACd;;AAGH;EACE,iBAAiB,EAClB;;AAED;EACE,eAAe,EAChB;;AAED;EACE,iBAAiB,EAClB;;AAED;EACE,iBAAiB;EACjB,qBACD,EAAC;;AAEF;EACE,0BAA0B,EAC3B;;AElCD;EACE,eAAe;EACf,iBAAiB;EACjB,iBAAiB,EAClB;;ACJD;EACE,mBAAmB,EAcpB;EAfD;IAII,8CAAqB;IACrB,mCAAmC;IACnC,uBAAuB;IACvB,YAAY;IACZ,mBAAmB;IACnB,OAAO;IACP,QAAQ;IACR,SAAS;IACT,UAAU;IACV,YAAY,EACb;;AAGH;EACE,kBAAkB;EAClB,aAAa;EACb,kBAAkB;EAClB,kBAAkB;EAClB,cAAc;EACd,mBAAmB;EACnB,0BAA0B,EAW3B;EATC;IACE,eFvBgB;IEwBhB,sBAAsB,EAMvB;IAjBH;MAeM,YF1BS,EE2BV;;ACjCL;EACE,eAAe;EACf,iBAAiB;EACjB,cAAc,EAKf;EAHC;IACE,mBAAmB,EACpB;;ACPH;EACE,iBAAiB,EAClB;;ACFD;EACE,kBAAkB;EAClB,mBAAmB,EAoCpB;EAtCD;IAKI,eAAe;IACf,iBAAiB,EAYlB;IChBD;MDEA;QAKI,eAAe,EASlB,EAAA;ICTD;MDTF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BI,mBAAmB,EACpB;;AAGH;EACE,6EAA4E;EAC5E,uBAAuB,EACxB;;AAED;EACE,0EAAyE;EACzE,uBAAuB,EACxB","file":"style.css","sourcesContent":["html {\n font-family: 'Poppins', sans-serif;\n font-size: 16px;\n}\n\na,\na:visited {\n color: $dcb-grey;\n\n &:hover,\n &:focus {\n color: black;\n }\n}\n\nh1 {\n font-size: 2.4em;\n}\n\nh2 {\n font-size: 2em;\n}\n\nh3 {\n font-size: 1.6em;\n}\n\nh1, h2, h3, h4 {\n font-weight: 600;\n margin-bottom: 0.4em\n}\n\nh1, h2 {\n text-transform: uppercase;\n}\n","// Custom variables, colours etc.\n\n$dcb-green: #0fa877;\n$dcb-blue: #b33ee9;\n$dcb-purple: #ec16a8;\n\n$dcb-grey: #666;\n",".region-header {\n margin: 0 auto;\n max-width: 72rem;\n overflow: hidden;\n}\n",".region-featured {\n position: relative;\n\n &:after {\n background-image: url('../images/dcb-bg.jpg');\n background-position: center center;\n background-size: cover;\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: -1;\n }\n}\n\n.featured-footer {\n background: black;\n color: white;\n font-size: 1.2rem;\n font-weight: bold;\n padding: 1rem;\n text-align: center;\n text-transform: uppercase;\n\n a {\n color: $dcb-purple;\n text-decoration: none;\n\n &:focus,\n &:hover {\n color: $dcb-grey;\n }\n }\n}\n",".region-content {\n margin: 0 auto;\n max-width: 72rem;\n padding: 1rem;\n\n .block-views {\n margin-bottom: 5em;\n }\n}\n",".region-content-top {\n overflow: hidden;\n}\n",".region-content-bottom {\n margin: 2em 0 4em;\n text-align: center;\n\n h2 {\n font-size: 2em;\n font-weight: 700;\n\n @include media-tablet {\n font-size: 3em;\n }\n @include media-large {\n font-size: 4em;\n }\n\n span {\n color: $dcb-green;\n }\n }\n\n .block {\n margin: 2em 1em;\n }\n\n .all-sponsors-link a {\n @include button;\n background-color: $dcb-green;\n\n &:hover,\n &:focus {\n background: $dcb-purple;\n }\n }\n\n img {\n height: auto;\n max-width: 100%;\n }\n}\n","// Tablet size breakpoint 600px.\n@mixin media-tablet {\n @media screen and (min-width: 37.5rem) {\n @content;\n }\n}\n\n// Desktop size breakpoint 900px.\n@mixin media-large {\n @media screen and (min-width: 56.25rem) {\n @content;\n }\n}\n\n// Wide Desktop size breakpoint 1200px.\n@mixin media-wide {\n @media screen and (min-width: 75rem) {\n @content;\n }\n}\n\n@mixin button {\n background: $dcb-blue;\n border: 0;\n color: white;\n font-size: 1rem;\n font-weight: 600;\n padding: 0.5rem 1rem;\n text-decoration: none;\n text-transform: uppercase;\n\n &:hover,\n &:focus {\n background: $dcb-green;\n }\n}\n",".region-footer {\n margin: 0 auto;\n max-width: 72rem;\n padding: 1rem;\n}\n\n.layout-container > footer {\n background-image: url('../images/dcb-bg.jpg');\n background-position: center center;\n background-size: cover;\n}\n","ul.menu {\n margin: 0;\n padding: 0;\n text-align: center;\n\n @include media-tablet {\n text-align: left;\n }\n\n li.menu-item {\n display: inline-block;\n padding: 0.5rem 1rem;\n text-transform: uppercase;\n\n @include media-tablet {\n padding: 1rem 0.8rem;\n }\n\n a {\n color: black;\n text-decoration: none;\n\n &:hover,\n &:focus,\n &.is-active {\n color: $dcb-green;\n }\n }\n }\n}\n\nnav.menu--main {\n font-weight: bold;\n\n @include media-tablet {\n margin: 0.8rem;\n float: right;\n }\n}\n",".block-system-branding-block {\n margin: 0.5rem auto;\n width: 8rem;\n\n @include media-tablet {\n float: left;\n margin: 0.5rem 2rem;\n width: auto;\n }\n}\n\n.site-logo img {\n display: block;\n max-width: 100%;\n width: 11rem;\n}\n\n#block-homepagehero {\n font-size: 1.8rem;\n line-height: 1.2;\n margin: auto;\n max-width: 30rem;\n padding: 3rem 1rem;\n text-align: center;\n\n @include media-large {\n padding: 6rem 1rem;\n }\n\n @include media-wide {\n padding: 10rem 1rem;\n }\n\n img {\n max-width: 100%;\n }\n\n p {\n margin: 1rem 0;\n }\n\n a.tickets,\n a.submit {\n @include button;\n display: inline-block;\n font-size: 1.2rem;\n margin: 0 0.5rem 0.5rem;\n padding: 0.8rem 1.6rem;\n }\n\n a.tickets {\n background-color: $dcb-purple;\n }\n}\n\n#block-dcbschedule {\n overflow: hidden;\n position: relative;\n\n .field {\n box-sizing: border-box;\n padding: 2rem 2rem 2rem;\n position: relative;\n text-align: center;\n text-transform: uppercase;\n\n @include media-large {\n float: left;\n padding: 3rem 3rem 3rem;\n position: static;\n width: 33.333%;\n }\n\n @include media-wide {\n padding: 5rem 4rem 4rem;\n }\n\n &:before {\n bottom: 0;\n content: '';\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n z-index: -1;\n background-position: center;\n background-size: cover;\n\n @include media-large {\n width: 33.333%;\n }\n }\n\n &.field--name-field-cxo-text:before {\n background-image: url('../images/cxo.jpg');\n\n @include media-large {\n left: 0;\n }\n }\n &.field--name-field-dev-text:before {\n background-image: url('../images/dev.jpg');\n\n @include media-large {\n left: 33.333%;\n }\n }\n &.field--name-field-sprint-text:before {\n background-image: url('../images/sprint.jpg');\n\n @include media-large {\n left: 66.666%;\n }\n }\n }\n\n p, h2 {\n margin: 0;\n }\n\n h2 {\n font-size: 5rem;\n font-weight: 700;\n line-height: 1;\n\n @include media-large {\n font-size: 3rem;\n }\n\n @include media-wide {\n font-size: 5rem;\n }\n }\n\n .schedule-day {\n font-size: 2.5rem;\n font-weight: bold;\n\n @include media-large {\n font-size: 2rem;\n }\n\n @include media-wide {\n font-size: 2.5rem;\n }\n }\n\n .schedule-location {\n font-size: 1.6rem;\n font-weight: 600;\n padding-top: 2rem;\n\n @include media-large {\n font-size: 1.2rem;\n }\n\n @include media-wide {\n font-size: 1.6rem;\n }\n }\n\n .schedule-date {\n font-size: 1.6rem;\n font-weight: 600;\n\n @include media-large {\n font-size: 1.2rem;\n }\n\n @include media-wide {\n font-size: 1.6rem;\n }\n }\n}\n",".form-item > label {\n display: block;\n font-weight: 600;\n\n &.option {\n display: inline;\n font-weight: normal;\n }\n}\n\n.form-submit {\n @include button;\n}\n\n.form-text,\n.form-email {\n max-width: 95%;\n}\n",".views-view-table {\n td {\n display: block;\n vertical-align: top;\n\n &.views-field-field-logo {\n padding: 1em 0;\n text-align: center;\n\n @include media-large {\n padding: 2em 2em 2em 0;\n }\n }\n\n @include media-large {\n display: table-cell;\n }\n }\n\n .views-field-body a {\n @include button;\n }\n}\n\n.view-silver-sponsors,\n.view-supporting-partners {\n overflow: hidden;\n text-align: center;\n\n .sponsor {\n box-sizing: border-box;\n float: left;\n padding: 1em;\n width: 100%;\n\n @include media-tablet {\n width: 50%;\n }\n\n @include media-large {\n width: 33.333%;\n }\n\n @include media-wide {\n width: 20%;\n }\n }\n\n img {\n height: auto;\n max-width: 100%;\n }\n}\n",".node--type-session {\n .field--name-field-category,\n .field--name-field-level,\n .field--name-field-length {\n padding-right: 5em;\n\n @include media-tablet {\n float: left;\n font-weight: 600;\n\n .field__label {\n display: none;\n }\n }\n }\n\n .field--name-body {\n clear: both;\n padding: 0.5em 0;\n }\n}\n",".node--type-speaker {\n .node__content {\n position: relative;\n }\n\n @include media-tablet {\n .profile-picture {\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .profile-info {\n padding-left: 9em;\n }\n }\n\n &.node--view-mode-speaker-profile {\n margin-bottom: 2em;\n }\n}\n\n.speaker-twitter {\n background: url('../images/twitter-1.png') no-repeat left center transparent;\n padding: 0 10px 0 20px;\n}\n\n.speaker-drupal {\n background: url('../images/drop-1.png') no-repeat left center transparent;\n padding: 0 10px 0 20px;\n}\n"]} \ No newline at end of file +{"version":3,"sources":["_global.scss","base/_variables.scss","layout/_header.scss","layout/_featured.scss","layout/_content.scss","layout/_content-top.scss","layout/_content-bottom.scss","base/_mixins.scss","layout/_footer.scss","components/_menus.scss","components/_blocks.scss","components/_forms.scss","components/_views.scss","components/_schedule.scss","content/_session.scss","content/_speaker.scss"],"names":[],"mappings":"AAAA;EACE,mCAAmC;EACnC,gBAAgB,EACjB;;AAED;;EAEE,YCDa,EDOd;EARD;;;IA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RA;QASM,uBAAuB,EAE1B,EAAA;ELHH;IKTF;MAeM,oBAAoB,EAEvB,EAAA;;AAjBH;ELsBE,oBNnBgB;EMoBhB,UAAU;EACV,aAAa;EACb,gBAAgB;EAChB,iBAAiB;EACjB,qBAAqB;EACrB,sBAAsB;EACtB,0BAA0B,EKRzB;EAFiB;ILchB,oBN/Be,EMgChB;;AKVH;;EAEE,iBAAiB;EACjB,mBAAmB,EAyBpB;EAvBC;;IACE,uBAAuB;IACvB,YAAY;IACZ,aAAa;IACb,YAAY,EAab;IL5CD;MKsBF;;QAYM,WAAW,EAUd,EAAA;ILrCD;MKoBA;;QAWI,eAAe,EAMlB,EAAA;IL9BD;MKaA;;QAeI,WAAW,EAEd,EAAA;EAtBH;;IAyBI,aAAa;IACb,gBAAgB,EACjB;;AAID;EACE,mBAAmB,EACpB;;AAHH;EAMI,sBAAsB;EACtB,qBAAqB;EACrB,uBAAuB,EACxB;;AC/DH;EAEI,oBZAe;EYCf,aAAa;EACb,iBAAiB;EACjB,mBAAmB,EACpB;;AANH;EASI,iBAAiB;EACjB,qBAAqB,EACtB;;AAXH;EAcI,iBACD,EAAC;;AAEF;EACE,gBAAgB,EACjB;;AClBD;;;EAGE,mBAAmB,EAUpB;EPZD;IOFF;;;MAOM,YAAY;MACZ,iBAAiB,EAMpB;MAdH;;;QAWQ,cAAc,EACf,EAAA;;AAIL;EACE,YAAY;EACZ,iBAAiB,EAClB;;ACnBH;EAEI,mBAAmB,EACpB;;ARDD;EQFF;IAOM,mBAAmB;IACnB,OAAO;IACP,QAAQ,EACT;EAVL;IAaM,gBAAgB;IAChB,kBAAkB,EACnB,EAAA;;AAfL;EAmBI,mBAAmB,EACpB;;AApBH;EAuBI,sBAAsB,EACvB;;AAGH;EACE,6EAA4E;EAC5E,uBAAuB,EACxB;;AAED;EACE,0EAAyE;EACzE,uBAAuB,EACxB","file":"style.css","sourcesContent":["html {\n font-family: 'Poppins', sans-serif;\n font-size: 16px;\n}\n\na,\na:visited {\n color: $dcb-grey;\n\n &:hover,\n &:focus {\n color: black;\n }\n}\n\nh1 {\n font-size: 2.4em;\n}\n\nh2 {\n font-size: 2em;\n}\n\nh3 {\n font-size: 1.6em;\n}\n\nh1, h2, h3, h4 {\n font-weight: 600;\n margin-bottom: 0.4em\n}\n\nh1, h2 {\n text-transform: uppercase;\n}\n","// Custom variables, colours etc.\n\n$dcb-green: #0fa877;\n$dcb-blue: #b33ee9;\n$dcb-purple: #ec16a8;\n\n$dcb-grey: #666;\n",".region-header {\n margin: 0 auto;\n max-width: 72rem;\n overflow: hidden;\n}\n",".region-featured {\n position: relative;\n\n &:after {\n background-image: url('../images/dcb-bg.jpg');\n background-position: center center;\n background-size: cover;\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: -1;\n }\n}\n\n.featured-footer {\n background: black;\n color: white;\n font-size: 1.2rem;\n font-weight: bold;\n padding: 1rem;\n text-align: center;\n text-transform: uppercase;\n\n a {\n color: $dcb-purple;\n text-decoration: none;\n\n &:focus,\n &:hover {\n color: $dcb-grey;\n }\n }\n}\n",".region-content {\n margin: 0 auto;\n max-width: 72rem;\n padding: 1rem;\n\n .block-views {\n margin-bottom: 5em;\n }\n}\n",".region-content-top {\n overflow: hidden;\n}\n",".region-content-bottom {\n margin: 2em 0 4em;\n text-align: center;\n\n h2 {\n font-size: 2em;\n font-weight: 700;\n\n @include media-tablet {\n font-size: 3em;\n }\n @include media-large {\n font-size: 4em;\n }\n\n span {\n color: $dcb-green;\n }\n }\n\n .block {\n margin: 2em 1em;\n }\n\n .all-sponsors-link a {\n @include button;\n background-color: $dcb-green;\n\n &:hover,\n &:focus {\n background: $dcb-purple;\n }\n }\n\n img {\n height: auto;\n max-width: 100%;\n }\n}\n","// Tablet size breakpoint 600px.\n@mixin media-tablet {\n @media screen and (min-width: 37.5rem) {\n @content;\n }\n}\n\n// Desktop size breakpoint 900px.\n@mixin media-large {\n @media screen and (min-width: 56.25rem) {\n @content;\n }\n}\n\n// Wide Desktop size breakpoint 1200px.\n@mixin media-wide {\n @media screen and (min-width: 75rem) {\n @content;\n }\n}\n\n@mixin button {\n background: $dcb-blue;\n border: 0;\n color: white;\n font-size: 1rem;\n font-weight: 600;\n padding: 0.5rem 1rem;\n text-decoration: none;\n text-transform: uppercase;\n\n &:hover,\n &:focus {\n background: $dcb-green;\n }\n}\n",".region-footer {\n margin: 0 auto;\n max-width: 72rem;\n padding: 1rem;\n}\n\n.layout-container > footer {\n background-image: url('../images/dcb-bg.jpg');\n background-position: center center;\n background-size: cover;\n}\n","ul.menu {\n margin: 0;\n padding: 0;\n text-align: center;\n\n @include media-tablet {\n text-align: left;\n }\n\n li.menu-item {\n display: inline-block;\n padding: 0.5rem 1rem;\n text-transform: uppercase;\n\n @include media-tablet {\n padding: 1rem 0.8rem;\n }\n\n a {\n color: black;\n text-decoration: none;\n\n &:hover,\n &:focus,\n &.is-active {\n color: $dcb-green;\n }\n }\n }\n}\n\nnav.menu--main {\n font-weight: bold;\n\n @include media-tablet {\n margin: 0.8rem;\n float: right;\n }\n}\n",".block-system-branding-block {\n margin: 0.5rem auto;\n width: 8rem;\n\n @include media-tablet {\n float: left;\n margin: 0.5rem 2rem;\n width: auto;\n }\n}\n\n.site-logo img {\n display: block;\n max-width: 100%;\n width: 11rem;\n}\n\n#block-homepagehero {\n font-size: 1.8rem;\n line-height: 1.2;\n margin: auto;\n max-width: 30rem;\n padding: 3rem 1rem;\n text-align: center;\n\n @include media-large {\n padding: 6rem 1rem;\n }\n\n @include media-wide {\n padding: 10rem 1rem;\n }\n\n img {\n max-width: 100%;\n }\n\n p {\n margin: 1rem 0;\n }\n\n a.tickets,\n a.submit {\n @include button;\n display: inline-block;\n font-size: 1.2rem;\n margin: 0 0.5rem 0.5rem;\n padding: 0.8rem 1.6rem;\n }\n\n a.tickets {\n background-color: $dcb-purple;\n }\n}\n\n#block-dcbschedule {\n overflow: hidden;\n position: relative;\n\n .field {\n box-sizing: border-box;\n padding: 2rem 2rem 2rem;\n position: relative;\n text-align: center;\n text-transform: uppercase;\n\n @include media-large {\n float: left;\n padding: 3rem 3rem 3rem;\n position: static;\n width: 33.333%;\n }\n\n @include media-wide {\n padding: 5rem 4rem 4rem;\n }\n\n &:before {\n bottom: 0;\n content: '';\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n z-index: -1;\n background-position: center;\n background-size: cover;\n\n @include media-large {\n width: 33.333%;\n }\n }\n\n &.field--name-field-cxo-text:before {\n background-image: url('../images/cxo.jpg');\n\n @include media-large {\n left: 0;\n }\n }\n &.field--name-field-dev-text:before {\n background-image: url('../images/dev.jpg');\n\n @include media-large {\n left: 33.333%;\n }\n }\n &.field--name-field-sprint-text:before {\n background-image: url('../images/sprint.jpg');\n\n @include media-large {\n left: 66.666%;\n }\n }\n }\n\n p, h2 {\n margin: 0;\n }\n\n h2 {\n font-size: 5rem;\n font-weight: 700;\n line-height: 1;\n\n @include media-large {\n font-size: 3rem;\n }\n\n @include media-wide {\n font-size: 5rem;\n }\n }\n\n .schedule-day {\n font-size: 2.5rem;\n font-weight: bold;\n\n @include media-large {\n font-size: 2rem;\n }\n\n @include media-wide {\n font-size: 2.5rem;\n }\n }\n\n .schedule-location {\n font-size: 1.6rem;\n font-weight: 600;\n padding-top: 2rem;\n\n @include media-large {\n font-size: 1.2rem;\n }\n\n @include media-wide {\n font-size: 1.6rem;\n }\n }\n\n .schedule-date {\n font-size: 1.6rem;\n font-weight: 600;\n\n @include media-large {\n font-size: 1.2rem;\n }\n\n @include media-wide {\n font-size: 1.6rem;\n }\n }\n}\n",".form-item > label {\n display: block;\n font-weight: 600;\n\n &.option {\n display: inline;\n font-weight: normal;\n }\n}\n\n.form-submit {\n @include button;\n}\n\n.form-text,\n.form-email {\n max-width: 95%;\n}\n",".views-view-table {\n td {\n display: block;\n vertical-align: top;\n\n &.views-field-field-logo {\n padding: 1em 0;\n text-align: center;\n\n @include media-large {\n padding: 2em 2em 2em 0;\n }\n }\n\n @include media-large {\n display: table-cell;\n }\n }\n\n .views-field-body a {\n @include button;\n }\n}\n\n.view-silver-sponsors,\n.view-supporting-partners {\n overflow: hidden;\n text-align: center;\n\n .sponsor {\n box-sizing: border-box;\n float: left;\n padding: 1em;\n width: 100%;\n\n @include media-tablet {\n width: 50%;\n }\n\n @include media-large {\n width: 33.333%;\n }\n\n @include media-wide {\n width: 20%;\n }\n }\n\n img {\n height: auto;\n max-width: 100%;\n }\n}\n\n.view-display-id-sponsor_logo_gold {\n .view-content {\n text-align: center;\n }\n\n .views-row {\n display: inline-block;\n padding: 0.5em 1.5em;\n vertical-align: middle;\n }\n}\n",".view-schedule {\n h3 {\n background: $dcb-green;\n color: white;\n font-size: 1.5em;\n text-align: center;\n }\n\n h2 {\n font-size: 1.8em;\n text-transform: none;\n }\n\n h4 {\n font-size: 1.3em\n }\n\n p {\n margin: 0.5em 0;\n }\n}\n",".node--type-session {\n .field--name-field-category,\n .field--name-field-level,\n .field--name-field-length {\n padding-right: 5em;\n\n @include media-tablet {\n float: left;\n font-weight: 600;\n\n .field__label {\n display: none;\n }\n }\n }\n\n .field--name-body {\n clear: both;\n padding: 0.5em 0;\n }\n}\n",".node--type-speaker {\n .node__content {\n position: relative;\n }\n\n @include media-tablet {\n .profile-picture {\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .profile-info {\n min-height: 7em;\n padding-left: 9em;\n }\n }\n\n &.node--view-mode-speaker-profile {\n margin-bottom: 2em;\n }\n\n .speaker-link {\n text-decoration: none;\n }\n}\n\n.speaker-twitter {\n background: url('../images/twitter-1.png') no-repeat left center transparent;\n padding: 0 10px 0 20px;\n}\n\n.speaker-drupal {\n background: url('../images/drop-1.png') no-repeat left center transparent;\n padding: 0 10px 0 20px;\n}\n"]} \ No newline at end of file diff --git a/web/themes/dcb2017/sass/components/_schedule.scss b/web/themes/dcb2017/sass/components/_schedule.scss new file mode 100644 index 000000000..fd2868e7b --- /dev/null +++ b/web/themes/dcb2017/sass/components/_schedule.scss @@ -0,0 +1,21 @@ +.view-schedule { + h3 { + background: $dcb-green; + color: white; + font-size: 1.5em; + text-align: center; + } + + h2 { + font-size: 1.8em; + text-transform: none; + } + + h4 { + font-size: 1.3em + } + + p { + margin: 0.5em 0; + } +} diff --git a/web/themes/dcb2017/sass/components/_views.scss b/web/themes/dcb2017/sass/components/_views.scss index f63c09b3b..564197fed 100644 --- a/web/themes/dcb2017/sass/components/_views.scss +++ b/web/themes/dcb2017/sass/components/_views.scss @@ -51,3 +51,15 @@ max-width: 100%; } } + +.view-display-id-sponsor_logo_gold { + .view-content { + text-align: center; + } + + .views-row { + display: inline-block; + padding: 0.5em 1.5em; + vertical-align: middle; + } +} diff --git a/web/themes/dcb2017/sass/content/_speaker.scss b/web/themes/dcb2017/sass/content/_speaker.scss index 6305b1e7c..c993f7d95 100644 --- a/web/themes/dcb2017/sass/content/_speaker.scss +++ b/web/themes/dcb2017/sass/content/_speaker.scss @@ -11,6 +11,7 @@ } .profile-info { + min-height: 7em; padding-left: 9em; } } @@ -18,6 +19,10 @@ &.node--view-mode-speaker-profile { margin-bottom: 2em; } + + .speaker-link { + text-decoration: none; + } } .speaker-twitter { diff --git a/web/themes/dcb2017/sass/style.scss b/web/themes/dcb2017/sass/style.scss index 74241d3f8..8e3d57426 100644 --- a/web/themes/dcb2017/sass/style.scss +++ b/web/themes/dcb2017/sass/style.scss @@ -16,6 +16,7 @@ @import 'components/blocks'; @import 'components/forms'; @import 'components/views'; +@import 'components/schedule'; @import 'content/session'; @import 'content/speaker'; diff --git a/web/themes/dcb2017/templates/content/node--session.html.twig b/web/themes/dcb2017/templates/content/node--session.html.twig index e085e5c09..0af8b3ed0 100644 --- a/web/themes/dcb2017/templates/content/node--session.html.twig +++ b/web/themes/dcb2017/templates/content/node--session.html.twig @@ -86,7 +86,7 @@ {{ title_prefix }} {% if not page %} - {{ label }} + {{ label }} {% endif %} {{ title_suffix }} diff --git a/web/themes/dcb2017/templates/content/node--speaker--speaker-profile-schedule.html.twig b/web/themes/dcb2017/templates/content/node--speaker--speaker-profile-schedule.html.twig new file mode 100644 index 000000000..0586547d6 --- /dev/null +++ b/web/themes/dcb2017/templates/content/node--speaker--speaker-profile-schedule.html.twig @@ -0,0 +1,107 @@ +{# +/** + * @file + * Theme override to display a node. + * + * Available variables: + * - node: The node entity with limited access to object properties and methods. + * Only method names starting with "get", "has", or "is" and a few common + * methods such as "id", "label", and "bundle" are available. For example: + * - node.getCreatedTime() will return the node creation timestamp. + * - node.hasField('field_example') returns TRUE if the node bundle includes + * field_example. (This does not indicate the presence of a value in this + * field.) + * - node.isPublished() will return whether the node is published or not. + * Calling other methods, such as node.delete(), will result in an exception. + * See \Drupal\node\Entity\Node for a full list of public properties and + * methods for the node object. + * - label: The title of the node. + * - content: All node items. Use {{ content }} to print them all, + * or print a subset such as {{ content.field_example }}. Use + * {{ content|without('field_example') }} to temporarily suppress the printing + * of a given child element. + * - author_picture: The node author user entity, rendered using the "compact" + * view mode. + * - metadata: Metadata for this node. + * - date: Themed creation date field. + * - author_name: Themed author name field. + * - url: Direct URL of the current node. + * - display_submitted: Whether submission information should be displayed. + * - attributes: HTML attributes for the containing element. + * The attributes.class element may contain one or more of the following + * classes: + * - node: The current template type (also known as a "theming hook"). + * - node--type-[type]: The current node type. For example, if the node is an + * "Article" it would result in "node--type-article". Note that the machine + * name will often be in a short form of the human readable label. + * - node--view-mode-[view_mode]: The View Mode of the node; for example, a + * teaser would result in: "node--view-mode-teaser", and + * full: "node--view-mode-full". + * The following are controlled through the node publishing options. + * - node--promoted: Appears on nodes promoted to the front page. + * - node--sticky: Appears on nodes ordered above other non-sticky nodes in + * teaser listings. + * - node--unpublished: Appears on unpublished nodes visible only to site + * admins. + * - title_attributes: Same as attributes, except applied to the main title + * tag that appears in the template. + * - content_attributes: Same as attributes, except applied to the main + * content tag that appears in the template. + * - author_attributes: Same as attributes, except applied to the author of + * the node tag that appears in the template. + * - title_prefix: Additional output populated by modules, intended to be + * displayed in front of the main title tag that appears in the template. + * - title_suffix: Additional output populated by modules, intended to be + * displayed after the main title tag that appears in the template. + * - view_mode: View mode; for example, "teaser" or "full". + * - teaser: Flag for the teaser state. Will be true if view_mode is 'teaser'. + * - page: Flag for the full page state. Will be true if view_mode is 'full'. + * - readmore: Flag for more state. Will be true if the teaser content of the + * node cannot hold the main body content. + * - logged_in: Flag for authenticated user status. Will be true when the + * current user is a logged-in member. + * - is_admin: Flag for admin user status. Will be true when the current user + * is an administrator. + * + * @see template_preprocess_node() + * + * @todo Remove the id attribute (or make it a class), because if that gets + * rendered twice on a page this is invalid CSS for example: two lists + * in different view modes. + */ +#} +{% + set classes = [ + 'node', + 'node--type-' ~ node.bundle|clean_class, + node.isPromoted() ? 'node--promoted', + node.isSticky() ? 'node--sticky', + not node.isPublished() ? 'node--unpublished', + view_mode ? 'node--view-mode-' ~ view_mode|clean_class, + ] +%} +{{ attach_library('classy/node') }} + + + +
+ {{ content.field_profile_picture }} +
+
+ + {{ label }} + + + {{ content.field_organisation }} + {{ content.body }} +
+ + + diff --git a/web/themes/dcb2017/templates/content/node--speaker.html.twig b/web/themes/dcb2017/templates/content/node--speaker.html.twig index d96a96f14..e36950b5e 100644 --- a/web/themes/dcb2017/templates/content/node--speaker.html.twig +++ b/web/themes/dcb2017/templates/content/node--speaker.html.twig @@ -81,7 +81,7 @@ ] %} {{ attach_library('classy/node') }} - + {{ title_prefix }} {% if not page %}