From 57332cf0c2f507c5419e21f91befa7c042bf730d Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Mon, 13 Feb 2017 11:48:15 -0600 Subject: [PATCH 01/36] LUGG-883-3 Added responsive_tables.js --- js/suitcase_responsive_tables.js | 78 ++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 js/suitcase_responsive_tables.js diff --git a/js/suitcase_responsive_tables.js b/js/suitcase_responsive_tables.js new file mode 100644 index 0000000..0169f13 --- /dev/null +++ b/js/suitcase_responsive_tables.js @@ -0,0 +1,78 @@ +(function ($) { + +$(document).ready(function() { + + // Just tables in content + var table = $('.field-items table'); + +/* --------------------- +First, check the table +structure and assign classes. +--------------------- */ + + /* ----- None ----- */ + table.addClass('table-none'); + + /* ----- Row ----- */ + var rowsHeader = $(table.has('tr:first-of-type th:nth-of-type(2)')); + rowsHeader.attr('class', 'table-row'); + + /* ----- Col ----- */ + var colHeader = $(table.has('tr:nth-of-type(2) th:nth-of-type(1)')); + colHeader.attr('class', 'table-col'); + + /* ----- Both ----- */ + var bothHeader = $(table.has('tr:nth-of-type(1) th:nth-of-type(2)').has('tr:nth-of-type(2) th:nth-of-type(1)')); + bothHeader.attr('class', 'table-both'); + + /* --- Colspan or Rowspan --- */ + var tdColFreeze = $(table.has('td[colspan]')); + var thColFreeze = $(table.has('th[colspan]')); + var tdRowFreeze = $(table.has('td[rowspan]')); + var thRowFreeze = $(table.has('th[rowspan]')); + tdColFreeze.attr('class', 'table-freeze'); + thColFreeze.attr('class', 'table-freeze'); + tdRowFreeze.attr('class', 'table-freeze'); + thRowFreeze.attr('class', 'table-freeze'); + + /* --- All Responsive Tables --- */ + table.addClass('responsive-table'); + +/* --------------------- +Now apply any jQuery needed +to make the tables responsive +--------------------- */ + + /* ----- Row ----- */ + // Wrap cell content in a span for flexbox. + $('.table-row td').wrapInner(''); + + // Cycle through each row... + $('.table-row tr').each(function() { + // And cycle through each td in that row... + $(this).find('td').each(function(i) { + // Find the content of the closest th... + var rowHeader = $(this).closest('.table-row').find('tr th')[i].innerHTML; + // And add it as a span in the td. + $(this).prepend('') + }); + }); + + /* ----- BOTH ----- */ + // Wrap cell content in a span for flexbox. + $('.table-both td').wrapInner(''); + + // Cycle through each row... + $('.table-both tr').each(function() { + // And cycle through each td in that row... + $(this).find('td').each(function(i) { + + // Find the content of the closest th... + var rowHeader = $(this).closest('.table-both').find('tr th:not(:first-of-type)')[i].innerHTML; + // And add it as a span in the td. + $(this).prepend('') + }); + }); +}); + +})(jQuery); \ No newline at end of file From fe700611036b68dedfa0ee22627624329aa8aae0 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Mon, 13 Feb 2017 11:48:48 -0600 Subject: [PATCH 02/36] LUGG-883-3 Activated responsive_tables.js --- suitcase_interim.info | 1 + 1 file changed, 1 insertion(+) diff --git a/suitcase_interim.info b/suitcase_interim.info index f88abc4..b30748b 100644 --- a/suitcase_interim.info +++ b/suitcase_interim.info @@ -412,3 +412,4 @@ libraries[suitcase_image_floats][name] = 'Suitcase Image Floats' libraries[suitcase_image_floats][description] = 'Provides a javascript library that adds a class to floated images' libraries[suitcase_image_floats][js][0][file] = 'suitcase_image_floats.js' libraries[suitcase_image_floats][js][0][options][weight] = '30' +scripts[] = js/suitcase_responsive_tables.js \ No newline at end of file From da9dc0c20bc67b0b13752e0ba3acb69f119aee77 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Mon, 13 Feb 2017 11:52:25 -0600 Subject: [PATCH 03/36] LUGG-883-3 New responsive tables css --- css/suitcase.css | 207 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 207 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index abb7b17..6cefb79 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -2021,6 +2021,213 @@ html.js input.form-autocomplete { background-position: 100% 12px; } +* -------------------- */ +/* ## RESPONSIVE TABLES +/* -------------------- */ + +table.responsive-table { + margin-top: 1.5rem; + margin-bottom: 1.5rem; + border-collapse: collapse; +} + +table.responsive-table, +.responsive-table tbody, +.responsive-table thead, +.responsive-table tr, +.responsive-table th, +.responsive-table td { + border: none; + border-collapse: collapse; + border-spacing: 0; +} + +.responsive-table tr { + border-bottom: 1px solid #ccc; +} + +.responsive-table tr:first-of-type { + border-top: 1px solid #ccc; +} + +.responsive-table th, +.responsive-table td { + padding: 0.5rem 0.75rem; + border-left: 1px solid #ccc; +} +.responsive-table th:last-of-type, +.responsive-table td:last-of-type { + border-right: 1px solid #ccc; +} + +.responsive-table th { + background-color: #eee; +} + +/* -------------------- */ +/* NO JS +/* -------------------- */ + + .field-items table { + display: block; + max-width: 100%; + overflow: hidden; + overflow-x: scroll; + } + + .field-items table tr { + width: 100%; + } + + .field-items table::-webkit-scrollbar { + -webkit-appearance: none; + } + + .field-items table::-webkit-scrollbar:horizontal { + height: 11px; + } + + .field-items table::-webkit-scrollbar-thumb { + border-radius: 8px; + border: 2px solid white; + background-color: rgba(0, 0, 0, 0.5); + } + + .field-items table::-webkit-scrollbar-track { + background-color: #fff; + border-radius: 8px; + } + +@media (min-width: 801px) { + .row-header { display: none; } + .both-row-header { display: none; } +} + +@media (max-width: 800px) { + +/* -------------------- */ +/* NONE +/* -------------------- */ + + .responsive-table.table-none { display: table; min-width: 75%; } + + .responsive-table.table-none tr { border-bottom: 3px solid #bbb; } + .responsive-table.table-none td { + border-bottom: 1px solid #ddd; + border-right: 1px solid #ddd; + display: block; + } + + .responsive-table.table-none td:last-of-type { border-bottom: none; } + +/* -------------------- */ +/* FIRST ROW +/* -------------------- */ + + .responsive-table.table-row { display: table; min-width: 75%; } + + .responsive-table.table-row th { display: none; } + + .responsive-table.table-row tr { + display: block; + border-bottom: 3px solid #bbb; + } + + .responsive-table.table-row tr:first-of-type { border-bottom: 0; } + + .responsive-table.table-row td { + display: flex; + padding: 0; + border-bottom: 1px solid #ddd; + border-right: 1px solid #ddd; + } + + .responsive-table.table-row td:last-of-type { border-bottom: none; } + + .cell-content { + display: block; + flex: 1 1 50%; + padding: 0.5rem 0.75rem; + } + + .row-header { + display: block; + flex: 0 1 45%; + padding: 0.5rem 0.75rem; + background: #eee; + } + + .table-row tr { border-bottom: 3px solid #bbb; } + +/* -------------------- */ +/* FIRST COL +/* -------------------- */ + + .responsive-table.table-col { display: table; min-width: 75%; } + + .responsive-table.table-col th, + .responsive-table.table-col td { display: block; } + + .responsive-table.table-col th { border-bottom: 1px solid #bbb; } + + .responsive-table.table-col tr { + display: block; + border-bottom: 1px solid #ddd; + } + + .responsive-table.table-col td { + border-bottom: 1px solid #ddd; + border-right: 1px solid #ddd; + display: block; + } + + .responsive-table.table-col td:last-of-type { border-bottom: none; } + +/* -------------------- */ +/* BOTH +/* -------------------- */ + + .responsive-table.table-both { display: table; min-width: 75%; } + + .responsive-table.table-both th, + .responsive-table.table-both td { display: block; } + + .responsive-table.table-both th { border-bottom: 1px solid #bbb; } + + .responsive-table.table-both tr { + display: block; + border-bottom: 3px solid #bbb; + } + + .responsive-table.table-both tr:first-of-type { display: none; } + + .responsive-table.table-both tr:first-of-type th:first-of-type { display: none; } + + .responsive-table.table-both tr:nth-of-type(2) { border-top: 1px solid #ddd; } + + .responsive-table.table-both td { + display: flex; + padding: 0; + border-bottom: 1px solid #ddd; + border-right: 1px solid #ddd; + } + + .responsive-table.table-both td:last-of-type { border-bottom: none; } + + .both-cell-content { + display: block; + flex: 1 1 50%; + padding: 0.5rem 0.75rem; + } + + .both-row-header { + display: block; + flex: 0 1 45%; + padding: 0.5rem 0.75rem; + background: #eee; + } +} + /* -------------------- */ /* ## MEGAPANELS /* -------------------- */ From 1b9d4b57cb9b7383f5ebd7f6a1d2270f2e893199 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 14 Feb 2017 10:02:47 -0600 Subject: [PATCH 04/36] HHPN-118 Add spacing to .item-list items --- css/suitcase.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/css/suitcase.css b/css/suitcase.css index abb7b17..3e7c914 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -144,6 +144,10 @@ ul.hlist > li { float: left; } .pane-content ul, .pane-content ol { padding-left: 40px; } +.item-list ul li { + margin: 0 0 1.5em 0; +} + /* --------------------- */ /* Description Lists */ @@ -1357,8 +1361,7 @@ span.date-display-single { .panel-panel .pane-content p:first-child { padding-top: 10px; } -.panel-pane .views-row:not(:last-child), -.panel-pane .pane-content .item-list li:not(:last-child) { +.panel-pane .views-row:not(:last-child) { margin-bottom: 0; } From 11b19b322c34e3ad3ebdeb30c9e52778a1a5ded6 Mon Sep 17 00:00:00 2001 From: Angela McMahon Date: Tue, 14 Feb 2017 11:31:54 -0600 Subject: [PATCH 05/36] LUGG-883-3 Updated .info file --- suitcase_interim.info | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/suitcase_interim.info b/suitcase_interim.info index b30748b..ae430c4 100644 --- a/suitcase_interim.info +++ b/suitcase_interim.info @@ -89,6 +89,7 @@ settings[alpha_libraries][suitcase_gridheight] = 'suitcase_gridheight' settings[alpha_libraries][suitcase_jquery_smart_menu] = 'suitcase_jquery_smart_menu' settings[alpha_libraries][suitcase_smart_menu_init] = 'suitcase_smart_menu_init' settings[alpha_libraries][suitcase_image_floats] = 'suitcase_image_floats' +settings[alpha_libraries][suitcase_responsive_tables] = 'suitcase_responsive_tables' settings[alpha_css][alpha-reset.css] = 'alpha-reset.css' settings[alpha_css][alpha-mobile.css] = 'alpha-mobile.css' settings[alpha_css][alpha-alpha.css] = 'alpha-alpha.css' @@ -412,4 +413,7 @@ libraries[suitcase_image_floats][name] = 'Suitcase Image Floats' libraries[suitcase_image_floats][description] = 'Provides a javascript library that adds a class to floated images' libraries[suitcase_image_floats][js][0][file] = 'suitcase_image_floats.js' libraries[suitcase_image_floats][js][0][options][weight] = '30' -scripts[] = js/suitcase_responsive_tables.js \ No newline at end of file +libraries[suitcase_responsive_tables][name] = 'Suitcase Responsive Tables' +libraries[suitcase_responsive_tables][description] = 'Support for table display on mobile devices' +libraries[suitcase_responsive_tables][js][0][file] = 'suitcase_responsive_tables.js' +libraries[suitcase_responsive_tables][js][0][options][weight] = '30' From 2158a462da3ffcbdc134007ae38ca907791e6cf2 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 14 Feb 2017 12:59:44 -0600 Subject: [PATCH 06/36] LUGG-883-3 Took care of ghost scroll bar in FF --- css/suitcase.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/suitcase.css b/css/suitcase.css index 6cefb79..b8e876d 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -2021,7 +2021,7 @@ html.js input.form-autocomplete { background-position: 100% 12px; } -* -------------------- */ +/* -------------------- */ /* ## RESPONSIVE TABLES /* -------------------- */ @@ -2072,7 +2072,7 @@ table.responsive-table, display: block; max-width: 100%; overflow: hidden; - overflow-x: scroll; + overflow-x: auto; } .field-items table tr { From 88d4dae799b9d45fd2425134969ad8c375f61daa Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 14 Feb 2017 13:55:23 -0600 Subject: [PATCH 07/36] HHPN-119 Fixed long content shrinking photo Fixed long content shrinking photos. --- css/suitcase.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index 3e7c914..66658c4 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1579,6 +1579,22 @@ h2.node-title > a:visited { text-decoration: underline; } .field-item td { min-width: 100px; } +/* -------------------- */ +/* Authors/Aliases */ + +.field-name-field-hn-authors .media { + display: flex; +} + +.media-left { + display: block; + flex-shrink: 0; +} + +.media-body { + display: block; +} + /* -------------------- */ /* ## NODE - BIBLIO /* -------------------- */ From ba3283b5bea90d4f852fb06f4c420496b8714c75 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 14 Feb 2017 14:21:26 -0600 Subject: [PATCH 08/36] LUGG-883-3 Bolded mobile headers --- css/suitcase.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index b8e876d..62e11e4 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -2154,6 +2154,7 @@ table.responsive-table, display: block; flex: 0 1 45%; padding: 0.5rem 0.75rem; + font-weight: 500; background: #eee; } @@ -2224,6 +2225,7 @@ table.responsive-table, display: block; flex: 0 1 45%; padding: 0.5rem 0.75rem; + font-weight: 500; background: #eee; } } From 65d87fbc6c5aafec5632ac3a70799169ccbda924 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Thu, 16 Feb 2017 09:28:45 -0600 Subject: [PATCH 09/36] HHPN-120 Fix Pause/Play clipping --- css/suitcase.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index 15e0928..2ec44aa 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1163,6 +1163,20 @@ nav.navigation .secondary-menu>li a.active-trail { z-index: 2; } +.flex-pauseplay { float: left; } + +.flex-pauseplay a { + width: 0.85rem; + height: 1rem; + font-size: 1rem; +} + +.flex-pauseplay a:before { + font-size: 1rem; + line-height: 1rem; + float: left; +} + /* -------------------- */ /* ## SIDEBAR /* -------------------- */ From 113dc3f03ec3506cf96b47116cfe47d68fd5ba40 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Thu, 16 Feb 2017 14:47:19 -0600 Subject: [PATCH 10/36] LUGG-967 Changed font-weight so read-more buttons are more consistent. --- css/suitcase.css | 1 - 1 file changed, 1 deletion(-) diff --git a/css/suitcase.css b/css/suitcase.css index 2ec44aa..fae1b9a 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1782,7 +1782,6 @@ footer.submitted > span .placeholder { .read-more > a { float: none; } .read-more > a > strong { - font-weight: normal; white-space: nowrap; } From d591afde955ab0ab43c2cbd9000915ee49d783aa Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Thu, 16 Feb 2017 14:49:23 -0600 Subject: [PATCH 11/36] LUGG-967 Adjusted font size so read more buttons look more consistent. --- css/suitcase.css | 1 - 1 file changed, 1 deletion(-) diff --git a/css/suitcase.css b/css/suitcase.css index fae1b9a..f7b0c18 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1775,7 +1775,6 @@ footer.submitted > span .placeholder { .read-more { display: inline; - font-size: 0.9em; clear: both; } From 5d39c5fbd2334241e7f59f19d8e1a15665ea6017 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Fri, 17 Feb 2017 11:16:12 -0600 Subject: [PATCH 12/36] BIED-9 Removed underlines and reduced heading size I did some targeting to remove the border-bottom and resized the H2 for having specific projects in a block. --- css/suitcase.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index f7b0c18..84fe324 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1431,6 +1431,18 @@ span.date-display-single { .view-id-my_resources .view-content { overflow-x: auto; } +/* Certain block views on in panels/homepage */ + +.panel-pane .views-row:only-of-type { + margin-top: 0; + border-bottom: 0; +} + +.panel-pane .views-row:only-of-type h2 { + margin-top: 0; + font-size: 1.5rem; +} + /* -------------------- */ /* Grid for Views */ From 0ac2509b3f2fc973ffbf6a934b7ddcff54862b67 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 21 Feb 2017 10:46:19 -0600 Subject: [PATCH 13/36] LDOC-43 Improved appearance of Book sidebar navigation. --- css/suitcase.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index 84fe324..4319caf 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1531,6 +1531,42 @@ span.date-display-single { margin-left: 75px !important; } +/* Sidebar */ + +.block-book .block-title { + margin-bottom: 1rem; +} + +.block-book .menu li { + list-style-type: none; + list-style-image: none; + margin: 0; +} + +.block-book .menu li a { + display: block; + margin-bottom: 0.5rem; + padding-bottom: 0.5rem; + font-size: 15px; + text-decoration: none; + border-bottom: 1px solid #ddd; +} + +.block-book .menu li a:hover { + text-decoration: underline; +} + +.block-book ul li.collapsed a:after { + content: '›'; + float: right; + margin-top: -8px; + font-size: 24px; +} + +.block-book ul ul { + margin-left: 1rem; +} + /* -------------------- */ /* ## NODE - GENERAL /* -------------------- */ From 08ef1349789eb16a28e5e0cbba74beaa2d733a86 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 21 Feb 2017 10:47:29 -0600 Subject: [PATCH 14/36] LDOC-43 Changed list of Book links to look more like bars than list of links. --- css/suitcase.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index 4319caf..e1ce192 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1531,6 +1531,33 @@ span.date-display-single { margin-left: 75px !important; } +/* Book Section Links */ + +.book-navigation { + padding: 1rem 0; +} + +.book-navigation .menu { + margin: 0 0 1rem; + padding: 0; + border: 0; +} + +.book-navigation .menu li { + list-style-type: none; + list-style-image: none; + margin: 0; + padding: 0; +} + +.book-navigation .menu li a { + display: block; + margin-bottom: 0.5rem; + padding: 10px 16px; + text-decoration: none; + border: 1px solid #ddd; +} + /* Sidebar */ .block-book .block-title { From 200e464fbd7ae228aac7de45b2d740d46f4c7fdf Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 21 Feb 2017 10:48:29 -0600 Subject: [PATCH 15/36] LDOC-43 Improved appearance of pagination, and matched pagination to other features. --- css/suitcase.css | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index e1ce192..f43a619 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1594,6 +1594,69 @@ span.date-display-single { margin-left: 1rem; } +/* Pagination */ + +.book-navigation .page-links { + border-top: 0; + border-bottom: 0; + padding: 0; +} + +.book-navigation .page-next, +.book-navigation .page-previous, +.book-navigation .page-up { + display: inline-block; + width: auto; + margin-top: 1rem; + padding: 10px 16px; + color: #333; + font-size: 14px; + font-weight: bold; + text-decoration: none; + border: 1px solid #ddd; + border-radius: 3px; +} + +.book-navigation .page-up { + margin-right: auto; + margin-left: auto; + float: none; +} + +.book-navigation .page-next:hover, +.book-navigation .page-previous:hover, +.book-navigation .page-up:hover { + text-decoration: underline; +} + +@media (max-width: 550px) { + .book-navigation .page-links { + display: flex; + flex-wrap: wrap; + } + + .book-navigation .page-next, + .book-navigation .page-previous, + .book-navigation .page-up { + display: block; + float: none; + } + + .book-navigation .page-next, + .book-navigation .page-previous { + width: calc(50% - 10px); + } + + .book-navigation .page-previous { + margin-right: 20px; + } + + .book-navigation .page-up { + width: 100%; + order: -1; + } +} + /* -------------------- */ /* ## NODE - GENERAL /* -------------------- */ From 4de9c3ead51fbd205a074c4e0f6ec7a8dbbd36ee Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 21 Feb 2017 14:32:52 -0600 Subject: [PATCH 16/36] LDOC-43 More visual separation between content and pagination. Added more visual separation between content and pagination. --- css/suitcase.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/css/suitcase.css b/css/suitcase.css index f43a619..97e2eca 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1597,9 +1597,12 @@ span.date-display-single { /* Pagination */ .book-navigation .page-links { - border-top: 0; + border-top: 1px solid #ddd; border-bottom: 0; + margin-top: 2rem; padding: 0; + padding-top: 1rem; + } .book-navigation .page-next, From 1cf041981b0e87a9ca922b8d3b1684da6e969b0d Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Thu, 23 Feb 2017 09:46:43 -0600 Subject: [PATCH 17/36] INTERIM-14 Cleared up social menu styles --- css/suitcase.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index 97e2eca..ba5430d 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -857,6 +857,42 @@ nav.navigation .secondary-menu>li a.active-trail { text-decoration: none; } +/* Social and Footer Icon Menus */ + +.pane-menu-menu-social .menu { + padding-left: 0; +} + +.pane-menu-menu-social .menu li { + list-style-image: none; + list-style-type: none; + margin-bottom: 0.75rem; + margin-right: 0; +} + +.pane-menu-menu-social .menu a, +#block-menu-menu-social .menu a { + display: flex; + color: #333; + text-decoration: none; +} + +.pane-menu-menu-social .menu a > i, +#block-menu-menu-social .menu a > i { + margin-top: -0.1em; + font-size: 2rem; +} + +.pane-menu-menu-social .menu a:hover, +#block-menu-menu-social .menu a:hover { + text-decoration: none; +} + +.pane-menu-menu-social .menu a:hover span, +#block-menu-menu-social .menu a:hover span { + text-decoration: underline; +} + /* -------------------- */ /* ## CARETS /* -------------------- */ From f5c955cacffc617d57ce2f4845ff75d00e7af890 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Thu, 23 Feb 2017 09:47:35 -0600 Subject: [PATCH 18/36] INTERIM-14 Added span around social link title --- template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.php b/template.php index c99fe70..947fa34 100644 --- a/template.php +++ b/template.php @@ -361,7 +361,7 @@ function suitcase_interim_menu_link__menu_social($variables) { } if (!empty($font_awesome_icon)) { - $element['#title'] = ' ' . $element['#title']; + $element['#title'] = ''; $element['#localized_options']['html'] = TRUE; } From f4db927386eb256b399da14d9419bfb73f5d9c57 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Thu, 23 Feb 2017 09:48:16 -0600 Subject: [PATCH 19/36] INTERIM-14 Removed extraneous link styling --- css/suitcase_responsive.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/css/suitcase_responsive.css b/css/suitcase_responsive.css index 2723ded..70f1b8d 100644 --- a/css/suitcase_responsive.css +++ b/css/suitcase_responsive.css @@ -305,10 +305,6 @@ font-size: 1.1em; } - #region-footer-fourth ul li.leaf a:hover { - text-decoration: underline; - } - .caret { border-top: 6px solid #000; border-right: 6px solid transparent; From 542e637ce66a5fb4eae60c0d0852b0d8d34c9ba2 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Thu, 23 Feb 2017 09:49:17 -0600 Subject: [PATCH 20/36] INTERIM-14 Social platform brand hover colors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Including Instagram’s crazy gradient. :D --- css/suitcase.css | 103 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index ba5430d..cb5ec9b 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -893,6 +893,109 @@ nav.navigation .secondary-menu>li a.active-trail { text-decoration: underline; } +a:hover > .fa-facebook-official { color: #3b5998; } + +a:hover > .fa-twitter-square { color: #1da1f2; } + +a:hover > .fa-github-square { color: #4078c0; } + +a:hover > .fa-pinterest-square { color: #bd081c; } + +a:hover > .fa-youtube-square { color: #cd201f; } + +a:hover > .fa-rss-square { color: #f77737; } + +a:hover > .fa-instagram { + background: + -webkit-radial-gradient( + circle farthest-corner at 35% 90%, + #fec564, + transparent 50% + ), + -webkit-radial-gradient( + circle farthest-corner at 0 140%, + #fec564, + transparent 50% + ), + -webkit-radial-gradient( + ellipse farthest-corner at 0 -25%, + #5258cf, + transparent 50% + ), + -webkit-radial-gradient( + ellipse farthest-corner at 20% -50%, + #5258cf, + transparent 50% + ), + -webkit-radial-gradient( + ellipse farthest-corner at 100% 0, + #893dc2, + transparent 50% + ), + -webkit-radial-gradient( + ellipse farthest-corner at 60% -20%, + #893dc2, + transparent 50% + ), + -webkit-radial-gradient( + ellipse farthest-corner at 100% 100%, + #d9317a, + transparent + ), + -webkit-linear-gradient( + #6559ca, + #bc318f 30%, + #e33f5f 50%, + #f77638 70%, + #fec66d 100% + ); + background: + radial-gradient( + circle farthest-corner at 35% 90%, + #fec564, + transparent 50% + ), + radial-gradient( + circle farthest-corner at 0 140%, + #fec564, + transparent 50% + ), + radial-gradient( + ellipse farthest-corner at 0 -25%, + #5258cf, + transparent 50% + ), + radial-gradient( + ellipse farthest-corner at 20% -50%, + #5258cf, + transparent 50% + ), + radial-gradient( + ellipse farthest-corner at 100% 0, + #893dc2, + transparent 50% + ), + radial-gradient( + ellipse farthest-corner at 60% -20%, + #893dc2, + transparent 50% + ), + radial-gradient( + ellipse farthest-corner at 100% 100%, + #d9317a, + transparent) + , + linear-gradient( + #6559ca, + #bc318f 30%, + #e33f5f 50%, + #f77638 70%, + #fec66d 100% + ); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + /* -------------------- */ /* ## CARETS /* -------------------- */ From 644ca7ba6dc3feffc6d230dd81d8cf1bd1c71bda Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Fri, 24 Feb 2017 11:19:00 -0600 Subject: [PATCH 21/36] INTERIM-16 Add general button class and styling --- css/suitcase.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index 97e2eca..716912c 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -84,6 +84,30 @@ a:focus { a > .fa { margin-right: 10px; } +a.button { + display: inline-block; + margin-top: 0.5rem; + margin-bottom: 0.5rem; + padding: 0.5rem 0.75rem; + color: #ffffff !important; + font-size: 1rem; + font-family: inherit; + font-weight: bold; + border-radius: 2px; + border: 0; + outline: none; + text-shadow: none; + text-decoration: none !important; + background: #cc0000; + float: none; + transition: background 0.1s ease; + cursor: pointer; +} + +a.button:hover { + background: #333333; +} + .more-link , .read-more { display: inline-block; @@ -115,6 +139,7 @@ a > .fa { margin-right: 10px; } background: #333333; } + /* --------------------- */ /* Lists */ From f604c34af36f0f157663d191bf8233e53d30220e Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 28 Feb 2017 10:46:42 -0600 Subject: [PATCH 22/36] INTERIM-18 Removed individual :focus styling --- css/suitcase.css | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/css/suitcase.css b/css/suitcase.css index 73fae21..89be142 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -76,12 +76,6 @@ span { color: #333333; } a, a:link, a:visited { color: #cc0000; } a em, a:link em, a:hover em, a:visited em { color: inherit; } -a:focus { - outline-style: solid; - outline-color: #F1BE48; - outline-width: 2px; -} - a > .fa { margin-right: 10px; } a.button { @@ -299,16 +293,6 @@ input[type=text], textarea { border: 1px solid #DDDDDD; } -input[type=text]:focus, textarea:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border: 1px solid #F1BE48; - outline-style: solid; - outline-color: #F1BE48; - outline-width: 1px; -} - input[type="password"] { height: 3em; padding: 0; @@ -341,10 +325,6 @@ figure .insert-default-image-styling + figcaption { margin: 0.5rem; } -a img:focus { - border: 2px #F1BE48; -} - /* CK Editor Enhanced Images */ figure.image { @@ -487,12 +467,6 @@ figure.image.floated-right img { margin: 0; } transition: all 0.25s ease; } -#isu-menu-nav .sm ul a:focus, -#isu-menu-nav .sm ul a:active, -#isu-menu-nav .sm ul a.highlighted { - border: 2px #F1BE48; -} - #isu-menu-nav #isu-index-menu { float: left; } #isu-menu-nav #isu-index-menu ul a, @@ -1174,8 +1148,7 @@ a:hover > .fa-instagram { } .form-text.transparent:focus { border: none; } -.region-search-inner input[type=submit], -.region-search-inner input[type=submit]:focus { +.region-search-inner input[type=submit] { margin: 0 0 0 20px; background-color: transparent; background-image: url(../images/search.png); @@ -1186,13 +1159,6 @@ a:hover > .fa-instagram { box-shadow: none; } -.region-search-inner input[type=text], -.region-search-inner input[type=text]:focus, -.region-search-inner textarea:focus { - border: none; - box-shadow: none; -} - .page-search input#edit-keys, .page form#search-block-form .form-item-search-block-form input.form-text { width: calc(100% - 62px); From 3469eb1410034042bef979cf4afd8b899ec7c845 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 28 Feb 2017 10:47:17 -0600 Subject: [PATCH 23/36] INTERIM-18 Pushed universal :focus style --- css/suitcase.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index 89be142..6308aaa 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -361,6 +361,17 @@ figure.image.floated-right { margin: 0.25rem 0 0.25rem 1rem; } figure.image.floated-left img, figure.image.floated-right img { margin: 0; } +/* -------------------- */ +/* :focus */ +/* -------------------- */ + +*:focus { + -webkit-box-shadow: 0 0 5px 0 #0066ff; + -moz-box-shadow: 0 0 5px 0 #0066ff; + box-shadow: 0 0 5px 0 #0066ff !important; + outline: 0 !important; +} + /* -------------------- */ /* ## UTILITY /* -------------------- */ From 497271d08bd5b325c27cbbe71663cee21a3ab8f0 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 28 Feb 2017 13:10:03 -0600 Subject: [PATCH 24/36] INTERIM-19 Removed CSS rule which was indenting paragraphs in panels --- css/suitcase.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/css/suitcase.css b/css/suitcase.css index 73fae21..7174a3f 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1535,8 +1535,6 @@ span.date-display-single { color: #777777; } -.panel-panel .pane-content > p { padding: 0 10px; } - .panel-panel .pane-content p:first-child { padding-top: 10px; } .panel-pane .views-row:not(:last-child) { From a6d9dab0df173cb6fd6081f53f0b86d2599fb486 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Thu, 2 Mar 2017 10:25:37 -0600 Subject: [PATCH 25/36] INTERIM-20 Increased line-height Increased line-height on the department name for easier reading. --- css/suitcase.css | 1 + 1 file changed, 1 insertion(+) diff --git a/css/suitcase.css b/css/suitcase.css index 3267642..84e8226 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -540,6 +540,7 @@ figure.image.floated-right img { margin: 0; } #region-branding .site-name-slogan a { display: block; color: #fff; + line-height: 1.25; text-decoration: none; } From 17647c2c4208509eb43f316ada9a67f9ca937e62 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Thu, 2 Mar 2017 16:16:51 -0600 Subject: [PATCH 26/36] DIGITALAG-11 Modified width on content images. The margin was pushing images outside of available space. Reducing the max-width to accommodate the margins keeps everything together. --- css/suitcase.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/suitcase.css b/css/suitcase.css index 84e8226..7360363 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -321,7 +321,7 @@ figure .insert-default-image-styling + figcaption { .region-content img { height: auto !important; - max-width: 100%; + max-width: calc(100% - 1rem); margin: 0.5rem; } From bdf5e95e1a8298ad355bf5ea715717b172c46e0e Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Tue, 7 Mar 2017 08:59:56 -0600 Subject: [PATCH 27/36] INTERIM-9 New styles for collapsible fieldsets --- css/suitcase.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index 7360363..bd2a64d 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -311,6 +311,42 @@ input[type="submit"] { color: #000000; } +/* --------------------- */ +/* Fieldsets */ + +/* Collapsed */ + +html.js fieldset.collapsed { height: auto; } + +fieldset.vertical-tabs-pane fieldset.collapsed legend { + width: 100%; +} + +html.js fieldset.collapsed .fieldset-legend { + padding: 0.5rem; + padding-left: 20px; + border: 1px solid #dddddd; +} + +fieldset.collapsible { border: 1px solid #dddddd; } + +/* Open */ + +fieldset.collapsible:not(.collapsed) { + padding: 1rem; +} + +fieldset.collapsible:not(.collapsed) legend { + width: auto; +} + +/* Indicator */ + +html.js fieldset.collapsible .fieldset-legend { + padding-left: 20px; + background-size: 10px; +} + /* -------------------- */ /* ## FIGURES and IMAGES /* -------------------- */ From 2b965ceb2b7d4f95a6e463b85c652f68c09c75fc Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Fri, 3 Mar 2017 14:14:34 -0600 Subject: [PATCH 28/36] INTERIM-21 Stylesheet for ckeditor --- ckeditor.css | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 ckeditor.css diff --git a/ckeditor.css b/ckeditor.css new file mode 100644 index 0000000..2934069 --- /dev/null +++ b/ckeditor.css @@ -0,0 +1,170 @@ +/* -------------------- */ +/* ## Typography */ +/* -------------------- */ + +body { + font-family: 'Nimbus Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-size: 1rem; + line-height: 1.5; +} + +h2 { font-size: 1.625em; } +h3 { font-size: 1.25em; } + +ol, ul { + padding-left: 3em +} + +blockquote { + margin: 0 0 0 16px; + padding: 8px 16px 0 13px; + color: #555555; + border: 3px solid #f1be48; + border-width: 0 0 0 3px; +} + +blockquote p { margin-top: 0; } + +/* Button */ + +a.button { + display: inline-block; + margin-top: 0.5rem; + margin-bottom: 0.5rem; + padding: 0.5rem 0.75rem; + color: #ffffff !important; + font-size: 1rem; + font-family: inherit; + font-weight: bold; + border-radius: 2px; + border: 0; + outline: none; + text-shadow: none; + text-decoration: none !important; + background: #cc0000; + float: none; + transition: background 0.1s ease; + cursor: pointer; +} + + +/* -------------------- */ +/* ## General indentation & positioning classes */ +/* -------------------- */ + +.rteindent1 { + margin-left: 40px; +} +.rteindent2 { + margin-left: 80px; +} +.rteindent3 { + margin-left: 120px; +} +.rteindent4 { + margin-left: 160px; +} +.rteleft { + text-align: left; +} +.rteright { + text-align: right; +} +.rtecenter { + text-align: center; +} +.rtejustify { + text-align: justify; +} +.ibimage_left { + float: left; +} +.ibimage_right { + float: right; +} + +/* -------------------- */ +/* ## Images and Captions */ +/* -------------------- */ + +figure.image { + display: table; + margin: 1rem; +} + +figure.image img { + max-width: 100%; + display: block; + margin: 0; +} + +img.cke_editable { + margin: 1rem; +} + +figure.image figcaption { + display: table-caption; + caption-side: bottom; + padding: 0.5rem; + color: #333; + font-size: 0.85rem; + font-weight: 500; + border: 1px solid #ddd; + border-top: 0; + background-color: #eee; +} + +figure.image br { + display: none; +} + +figure.image.floated-left { margin: 0.25rem 1rem 0.25rem 0; } + +figure.image.floated-right { margin: 0.25rem 0 0.25rem 1rem; } + +figure.image.floated-left img, +figure.image.floated-right img { margin: 0; } + +/* -------------------- */ +/* ## Tables */ +/* -------------------- */ + +body.cke_editable table { + margin-top: 1.5rem; + margin-bottom: 1.5rem; + border-collapse: collapse; +} + +body.cke_editable table, +body.cke_editable tbody, +body.cke_editable thead, +body.cke_editable tr, +body.cke_editable th, +body.cke_editable td { + border: none; + border-collapse: collapse; + border-spacing: 0; +} + +body.cke_editable tr { + border-bottom: 1px solid #ccc; +} + +body.cke_editable tr:first-of-type { + border-top: 1px solid #ccc; +} + +body.cke_editable th, +body.cke_editable td { + padding: 0.5rem 0.75rem; + border-left: 1px solid #ccc; +} + +body.cke_editable th:last-of-type, +body.cke_editable td:last-of-type { + border-right: 1px solid #ccc; +} + +body.cke_editable th { + background-color: #eee; +} From 494bff4eae8e45411a0ce2c56c2d11f35b55789d Mon Sep 17 00:00:00 2001 From: Angela McMahon Date: Wed, 8 Mar 2017 16:13:44 -0600 Subject: [PATCH 29/36] LUGG-941 Added current year token to suitcase_interim block template (#84) * LUGG-941 Added current year token to suitcase_interim block template * LUGG-941 Added logic to check whether token_filter was enabled --- templates/default_region_content_blocks/footer_third.tpl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/default_region_content_blocks/footer_third.tpl.php b/templates/default_region_content_blocks/footer_third.tpl.php index ac3b607..2c88b18 100644 --- a/templates/default_region_content_blocks/footer_third.tpl.php +++ b/templates/default_region_content_blocks/footer_third.tpl.php @@ -1,4 +1,4 @@ -

Copyright © , Iowa State University of Science and Technology. All rights reserved.

+

Copyright © , Iowa State University of Science and Technology. All rights reserved.

\ No newline at end of file + From b87cb3227a1983f0308c5153f2415ed82c80fe31 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Fri, 10 Mar 2017 11:33:37 -0600 Subject: [PATCH 30/36] INTERIM-22 Styling blog components to match Interim Styles for the blog block, author pic/name cards, the blog page, and author page --- css/suitcase.css | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index bd2a64d..6f63096 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -2356,6 +2356,63 @@ a.facetapi-limit-link.open:after { border-radius: 0 3px 3px 0; } +/* ------------------- */ +/* BLOG */ +/* ------------------- */ + +/* Picture/name component */ + +.media { display: flex; } + +.media-left { flex-shrink: 0; } + +.region-content .media-left img { margin-left: 0; } + +.media-heading { margin-top: 0; } + +/* Blog List */ + +.view-id-blog.view-display-id-page .views-row, +.view-id-blog.view-display-id-person_blog_page .views-row { + padding: 1rem; + border: 1px solid #ddd; +} + +.view-id-blog.view-display-id-page .views-row span, +.view-id-blog.view-display-id-person_blog_page .views-row span { color: inherit; } + +/* Blog Author Header */ + +.view-display-id-person_blog_page_hero_attachment .views-field-field-people-image img { + margin: 0; + padding-left: 1rem; + border-radius: 0; +} + +/* Blog Author Components */ + +.views-field-field-lug-blog-author .field-content { + display: flex; + flex-wrap: wrap; +} + +.view-display-id-page .views-field-field-lug-blog-author .media { + display: block; +} + +.view-bloggers .media { + display: flex; + align-items: center; +} + +.view-bloggers .media-heading { margin-bottom: 0; } + +.img-circle { + height: 56px; + width: 56px; + border: 1px solid #ddd; +} + /* -------------------- */ /* ## THROBBER /* -------------------- */ From 5d824a1eb097bf0507cf1e17c2580598bbe49c18 Mon Sep 17 00:00:00 2001 From: "Carney, Sarah A" Date: Fri, 10 Mar 2017 13:15:58 -0600 Subject: [PATCH 31/36] CROPS-284 As far as I can tell, this style is unused and can be removed so the Crops Specialist grid view (among other things) looks nicer. --- css/suitcase.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/css/suitcase.css b/css/suitcase.css index bd2a64d..834d152 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1551,10 +1551,6 @@ span.date-display-single { .panel-panel .pane-content p:first-child { padding-top: 10px; } -.panel-pane .views-row:not(:last-child) { - margin-bottom: 0; -} - .panel-pane .pane-content .item-list li { margin-left: 0; } From cb2198f845d9ce532d77c0911519ba5f62639bd7 Mon Sep 17 00:00:00 2001 From: Angela McMahon Date: Fri, 17 Mar 2017 17:03:58 -0500 Subject: [PATCH 32/36] INTERIM-18 Removed border on search --- css/suitcase.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/css/suitcase.css b/css/suitcase.css index 96a503e..d1e0417 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -304,6 +304,13 @@ input[type="submit"] { border-radius: 2px; } +.region-search-inner input[type=text], +.region-search-inner input[type=text]:focus, +.region-search-inner textarea:focus { + border: none; + box-shadow: none; +} + /* Help Text */ .filter-guidelines-wysiwyg .tips, .form-item .description { From 540b7847bd9691fd8072e2c5ba34901ac8892325 Mon Sep 17 00:00:00 2001 From: sacarney Date: Mon, 20 Mar 2017 09:49:49 -0500 Subject: [PATCH 33/36] Moved rule Moved down with other .region-search-inner styling --- css/suitcase.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/css/suitcase.css b/css/suitcase.css index d1e0417..e545193 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -304,13 +304,6 @@ input[type="submit"] { border-radius: 2px; } -.region-search-inner input[type=text], -.region-search-inner input[type=text]:focus, -.region-search-inner textarea:focus { - border: none; - box-shadow: none; -} - /* Help Text */ .filter-guidelines-wysiwyg .tips, .form-item .description { @@ -1214,6 +1207,13 @@ a:hover > .fa-instagram { box-shadow: none; } +.region-search-inner input[type=text], +.region-search-inner input[type=text]:focus, +.region-search-inner textarea:focus { + border: none; + box-shadow: none; +} + .page-search input#edit-keys, .page form#search-block-form .form-item-search-block-form input.form-text { width: calc(100% - 62px); From 6f055e268b517d72fa22d5ed3754a81958a24fab Mon Sep 17 00:00:00 2001 From: Angela McMahon Date: Mon, 20 Mar 2017 10:53:20 -0500 Subject: [PATCH 34/36] Revert "INTERIM-16 Add general button class and styling" --- css/suitcase.css | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/css/suitcase.css b/css/suitcase.css index e545193..5d182cb 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -78,30 +78,6 @@ a em, a:link em, a:hover em, a:visited em { color: inherit; } a > .fa { margin-right: 10px; } -a.button { - display: inline-block; - margin-top: 0.5rem; - margin-bottom: 0.5rem; - padding: 0.5rem 0.75rem; - color: #ffffff !important; - font-size: 1rem; - font-family: inherit; - font-weight: bold; - border-radius: 2px; - border: 0; - outline: none; - text-shadow: none; - text-decoration: none !important; - background: #cc0000; - float: none; - transition: background 0.1s ease; - cursor: pointer; -} - -a.button:hover { - background: #333333; -} - .more-link , .read-more { display: inline-block; @@ -133,7 +109,6 @@ a.button:hover { background: #333333; } - /* --------------------- */ /* Lists */ From dc41799c7ffad8854707641dc166e58fadc90b89 Mon Sep 17 00:00:00 2001 From: Angela McMahon Date: Mon, 20 Mar 2017 11:00:09 -0500 Subject: [PATCH 35/36] Removed button styling from ckeditor stylesheet --- ckeditor.css | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/ckeditor.css b/ckeditor.css index 2934069..3d52a4e 100644 --- a/ckeditor.css +++ b/ckeditor.css @@ -25,29 +25,6 @@ blockquote { blockquote p { margin-top: 0; } -/* Button */ - -a.button { - display: inline-block; - margin-top: 0.5rem; - margin-bottom: 0.5rem; - padding: 0.5rem 0.75rem; - color: #ffffff !important; - font-size: 1rem; - font-family: inherit; - font-weight: bold; - border-radius: 2px; - border: 0; - outline: none; - text-shadow: none; - text-decoration: none !important; - background: #cc0000; - float: none; - transition: background 0.1s ease; - cursor: pointer; -} - - /* -------------------- */ /* ## General indentation & positioning classes */ /* -------------------- */ From ebffbb4cb7d61a223e9bc1bb50aaab36587c14f6 Mon Sep 17 00:00:00 2001 From: Angela McMahon Date: Mon, 20 Mar 2017 12:16:18 -0500 Subject: [PATCH 36/36] Revert "HHPN-119 Fixed long content shrinking photo" --- css/suitcase.css | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/css/suitcase.css b/css/suitcase.css index 5d182cb..6bf8f60 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1888,22 +1888,6 @@ h2.node-title > a:visited { text-decoration: underline; } .field-item td { min-width: 100px; } -/* -------------------- */ -/* Authors/Aliases */ - -.field-name-field-hn-authors .media { - display: flex; -} - -.media-left { - display: block; - flex-shrink: 0; -} - -.media-body { - display: block; -} - /* -------------------- */ /* ## NODE - BIBLIO /* -------------------- */