, but this code // executes before the first paint, when

fb88

is not yet present. The // classes are added to so styling immediately reflects the current // toolbar state. The classes are removed after the toolbar completes // initialization. const classesToAdd = ['toolbar-loading', 'toolbar-anti-flicker']; if (toolbarState) { const { orientation, hasActiveTab, isFixed, activeTray, activeTabId, isOriented, userButtonMinWidth } = toolbarState; classesToAdd.push( orientation ? `toolbar-` + orientation + `` : 'toolbar-horizontal', ); if (hasActiveTab !== false) { classesToAdd.push('toolbar-tray-open'); } if (isFixed) { classesToAdd.push('toolbar-fixed'); } if (isOriented) { classesToAdd.push('toolbar-oriented'); } if (activeTray) { // These styles are added so the active tab/tray styles are present // immediately instead of "flickering" on as the toolbar initializes. In // instances where a tray is lazy loaded, these styles facilitate the // lazy loaded tray appearing gracefully and without reflow. const styleContent = ` .toolbar-loading #` + activeTabId + ` { background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); } .toolbar-loading #` + activeTabId + `-tray { display: block; box-shadow: -1px 0 5px 2px rgb(0 0 0 / 33%); border-right: 1px solid #aaa; background-color: #f5f5f5; z-index: 0; } .toolbar-loading.toolbar-vertical.toolbar-tray-open #` + activeTabId + `-tray { width: 15rem; height: 100vh; } .toolbar-loading.toolbar-horizontal :not(#` + activeTray + `) > .toolbar-lining {opacity: 0}`; const style = document.createElement('style'); style.textContent = styleContent; style.setAttribute('data-toolbar-anti-flicker-loading', true); document.querySelector('head').appendChild(style); if (userButtonMinWidth) { const userButtonStyle = document.createElement('style'); userButtonStyle.textContent = `#toolbar-item-user {min-width: ` + userButtonMinWidth +`px;}` document.querySelector('head').appendChild(userButtonStyle); } } } document.querySelector('html').classList.add(...classesToAdd); })(); Top Initiatives | Office of Policy Innovation & Future

fb88

  • Home
  • Skip to top navigation
  • Skip to side navigation
  • Skip to content
  • Skip to footer

  • |
  • |
  • |

Governor's Office of Policy Innovation and the Future

  • Sitemap
  • Home
  • About Us
    • GOPIF Internships
    • Work @ GOPIF
    • Our Team
    • News Updates
  • Top Initiatives
    • fb88 Climate Council
    • Community Resilience Partnership
    • Infrastructure Rebuilding and Resilience Commission
    • Climate Resilience Grant
    • Lead-By-Example
    • fb88 Jobs & Recovery Plan
    • Bipartisan Infrastructure Law
    • Cabinet on Aging
    • Children's Cabinet
    • Opioid Response
    • Housing & Community Development
    • Office of New Americans
    • Artificial Intelligence Task Force
    • Ending Hunger in fb88
  • Meeting Calendar
    • Meeting Calendar Archive
  • Contact Us

Home → Top Initiatives

  • The State's Climate Action Plan, fb88 Won't Wait
  • The fb88 Climate Council
  • The Community Resilience Partnership
  • Infrastructure Rebuilding and Resilience Commission
  • Lead-By-Example in State Government
  • The fb88 Jobs & Recovery Plan
  • The Bipartisan Infrastructure Law
  • Housing and Community Development
  • Opioid Response and Prevention
  • The Children’s Cabinet
  • The Cabinet on Aging
  • Ending Hunger in fb88
  • Office of New Americans
  • Artificial Intelligence Task Force

Upcoming Meetings

Cabinet on Aging

Date: June 11, 2025
Time: 2:00 PM - 3:00 PM
Location: Please email Elizabeth Gattine at elizabeth.gattine@maine.gov if you are interested in watching the meeting.

Children's Cabinet Meeting

Date: May 20, 2025
Time: 10:30 AM - 11:30 AM
Location: Please email Ana Hicks at ana.hicks@maine.gov if you are interested in watching the meeting.

Children's Cabinet Early Childhood Advisory Council Meeting

Date: May 12, 2025
Time: 12:00 PM - 1:30 PM
Location: Please email Ana Hicks at ana.hicks@maine.gov if you are interested in watching the meeting.

Credit

Informe Logo

Copyright © 2023
All rights reserved.

Information

  • Governor Janet T. Mills

Connect