diff --git a/themes/stanford_basic/dist/css/theme.css b/themes/stanford_basic/dist/css/theme.css index be857dbed..dcd6c7c84 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}.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}}.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 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 0b973431e..8978dcc1f 100644 --- a/themes/stanford_basic/src/scss/theme/menu/_local-tasks.scss +++ b/themes/stanford_basic/src/scss/theme/menu/_local-tasks.scss @@ -4,7 +4,7 @@ outline: 0; position: relative; - // Comment out the bhautton hover show/hide on the edit buttons. + // Comment out the button hover show/hide on the edit buttons. // transition: outline 0.5s ease-in-out; // .block--local-tasks { @@ -27,6 +27,7 @@ @include margin(0 auto 10px auto); z-index: 10; + ul, li { @include margin(0); @@ -54,6 +55,16 @@ top: 0; width: 100%; z-index: 15; + + ul { + @include grid-media-max('md') { + margin-top: 15px; + } + + @include grid-media-max('sm') { + margin-top: 0; + } + } } .page-content-label {