Browse Source

Merge branch 'master' of https://github.com/rdrew/lmmi_journal_theme

dependabot/npm_and_yarn/acorn-5.7.4
Rob Drew 6 years ago
parent
commit
5094c4bd2a
  1. 10
      css/style.css
  2. 10
      js/js.js
  3. 10
      src/js/js.js
  4. 16
      src/scss/_menus.scss
  5. 1
      src/scss/style.scss

10
css/style.css

File diff suppressed because one or more lines are too long

10
js/js.js

@ -10,6 +10,16 @@
}
};
Drupal.behaviors.author_tasks_menu = {
attach: function attach(context, settings) {
$.each($(".menu__author-tasks .menu-item a "), function(index, value) {
var titleText = $(this).attr("title");
var linkInfo = '<span class="link-info">' +titleText+ '</span>';
console.log(titleText);
$(this).append(linkInfo);
});
}
};

10
src/js/js.js

@ -10,6 +10,16 @@
}
};
Drupal.behaviors.author_tasks_menu = {
attach: function attach(context, settings) {
$.each($(".menu__author-tasks .menu-item a "), function(index, value) {
var titleText = $(this).attr("title");
var linkInfo = '<span class="link-info">' +titleText+ '</span>';
console.log(titleText);
$(this).append(linkInfo);
});
}
};

16
src/scss/_menus.scss

@ -0,0 +1,16 @@
//main menu
$main_menu_dropdown_width: 16em;
.sf-menu ul {
width: $main_menu_dropdown_width !important;
}
//author tasks
.link-info {
display:block;
font-style: italic;
color: #909090;
}

1
src/scss/style.scss

@ -3,6 +3,7 @@
@import 'lp-hero';
@import 'article-pages';
@import 'tooltips';
@import 'menus';
/*on-scroll menu */
.fixed-header-enabled.onscroll .header-container ul.menu {

Loading…
Cancel
Save