From 653c73dfa55de7761d4d8b869ee66f4a65e49459 Mon Sep 17 00:00:00 2001 From: Jen Breese-Kauth Date: Mon, 9 Oct 2023 23:42:48 +0000 Subject: [PATCH] stashing --- themes/stanford_basic/dist/css/theme.css | 2 +- .../stanford_basic/src/scss/theme/menu/_local-tasks.scss | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/themes/stanford_basic/dist/css/theme.css b/themes/stanford_basic/dist/css/theme.css index dcd6c7c84..960c455d1 100644 --- a/themes/stanford_basic/dist/css/theme.css +++ b/themes/stanford_basic/dist/css/theme.css @@ -1 +1 @@ -.stanford-basic--outline{outline:0;position:relative}.block--local-tasks{margin:0 auto 10px;z-index:10}.block--local-tasks li,.block--local-tasks ul{margin:0}.block--local-tasks ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;list-style:none;margin-top:15px;padding-left:0}@media (max-width:767px){.block--local-tasks ul{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:8px}}.block--local-tasks ul li{line-height:unset}.block--local-tasks.sticky{position:fixed;top:0;width:100%;z-index:15}@media (max-width:991px){.block--local-tasks.sticky ul{margin-top:15px}}@media (max-width:767px){.block--local-tasks.sticky ul{margin-top:0}}.block--local-tasks .page-content-label{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.block--local-tasks .edit{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.block--local-tasks .delete{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}@media (max-width:767px){.block--local-tasks .delete{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}}.block--local-tasks .delete a:before{padding-right:1em;padding-left:1em;font-family:Font Awesome\ 5 Free;content:"\f2ed";font-size:1.6rem;font-weight:400}@media (min-width:768px){.block--local-tasks .delete a:before{font-size:1.8rem}}@media (min-width:1500px){.block--local-tasks .delete a:before{font-size:1.9rem}}.block--local-tasks .manage-display{margin-left:auto;-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}@media (max-width:767px){.block--local-tasks .manage-display{margin-left:0}}.block--local-tasks .layout,.block--local-tasks .shortcuts{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.block--local-tasks .roles,.block--local-tasks .version-history{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.block--local-tasks .devel{display:none}.block--local-tasks a{padding:15px;font-weight:400;color:#fff;background-color:#006cb8;border-right:1px solid #00548f;border-bottom:1px solid #00548f;text-decoration:none;text-wrap:nowrap}@media (max-width:767px){.block--local-tasks a{display:block}}.block--local-tasks a.is-active,.block--local-tasks a:focus,.block--local-tasks a:hover{color:#fff;background-color:#00548f}.role--anonymous .stanford-basic--outline{-webkit-transition:none;transition:none}.role--anonymous .stanford-basic--outline:focus,.role--anonymous .stanford-basic--outline:hover{outline:0}.role--anonymous .stanford-basic--outline .block--local-tasks{opacity:1}.role--anonymous .stanford-basic--outline .block--local-tasks.sticky{position:relative}#back-to-top{display:none;position:fixed;bottom:20px;right:20px;text-align:center;border-radius:7px} \ No newline at end of file +.stanford-basic--outline{outline:0;position:relative}.block--local-tasks{margin:0 auto 10px;z-index:10}.block--local-tasks li,.block--local-tasks ul{margin:0}.block--local-tasks ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;list-style:none;margin-top:15px;padding-left:0}@media (max-width:767px){.block--local-tasks ul{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:8px}}@media (max-width:609px){.block--local-tasks ul{margin-top:0}}.block--local-tasks ul li{line-height:unset}.block--local-tasks.sticky{position:fixed;top:0;width:100%;z-index:15}@media (max-width:991px){.block--local-tasks.sticky ul{margin-top:15px}}@media (max-width:609px){.block--local-tasks.sticky ul{margin-top:-39px}}.block--local-tasks .page-content-label{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.block--local-tasks .edit{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.block--local-tasks .delete{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}@media (max-width:767px){.block--local-tasks .delete{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}}.block--local-tasks .delete a:before{padding-right:1em;padding-left:1em;font-family:Font Awesome\ 5 Free;content:"\f2ed";font-size:1.6rem;font-weight:400}@media (min-width:768px){.block--local-tasks .delete a:before{font-size:1.8rem}}@media (min-width:1500px){.block--local-tasks .delete a:before{font-size:1.9rem}}.block--local-tasks .manage-display{margin-left:auto;-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}@media (max-width:767px){.block--local-tasks .manage-display{margin-left:0}}.block--local-tasks .layout,.block--local-tasks .shortcuts{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.block--local-tasks .roles,.block--local-tasks .version-history{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.block--local-tasks .devel{display:none}.block--local-tasks a{padding:15px;font-weight:400;color:#fff;background-color:#006cb8;border-right:1px solid #00548f;border-bottom:1px solid #00548f;text-decoration:none;text-wrap:nowrap}@media (max-width:767px){.block--local-tasks a{display:block}}.block--local-tasks a.is-active,.block--local-tasks a:focus,.block--local-tasks a:hover{color:#fff;background-color:#00548f}.role--anonymous .stanford-basic--outline{-webkit-transition:none;transition:none}.role--anonymous .stanford-basic--outline:focus,.role--anonymous .stanford-basic--outline:hover{outline:0}.role--anonymous .stanford-basic--outline .block--local-tasks{opacity:1}.role--anonymous .stanford-basic--outline .block--local-tasks.sticky{position:relative}#back-to-top{display:none;position:fixed;bottom:20px;right:20px;text-align:center;border-radius:7px} \ No newline at end of file diff --git a/themes/stanford_basic/src/scss/theme/menu/_local-tasks.scss b/themes/stanford_basic/src/scss/theme/menu/_local-tasks.scss index 8978dcc1f..3fa440f1a 100644 --- a/themes/stanford_basic/src/scss/theme/menu/_local-tasks.scss +++ b/themes/stanford_basic/src/scss/theme/menu/_local-tasks.scss @@ -45,6 +45,10 @@ margin-top: 8px; } + @media (max-width: 609px) { + margin-top: 0; + } + li { line-height: unset; } @@ -61,8 +65,8 @@ margin-top: 15px; } - @include grid-media-max('sm') { - margin-top: 0; + @media (max-width: 609px) { + margin-top: -39px; } } }