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

黄大仙高手论坛

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); })(); Religion and Politics in America - News & Stories | 黄大仙高手论坛

黄大仙高手论坛

Skip to main content

Publications

Religion and Politics in America

Tue, Dec 24, 2013
Kevin R. den Dulk,Allen D. Hertzke,Laura R. Olson,Robert Booth Fowler


Religion and politics are never far from the headlines, but their relationship remains complex and often confusing. In this fifth edition of Religion and Politics in America, the authors offer a lively, accessible, and balanced treatment of religion in American politics. They explore the historical, cultural, and legal contexts that underlie religious political engagement while also highlighting the pragmatic and strategic political realities that religious organizations and people face. Incorporating the best and most up-to-date scholarship, the authors assess the politics of Roman Catholics; evangelical, mainline, and African American Protestants; Jews; Muslims and other conventional and not-so-conventional American religious movements. The author team also examines important subjects concerning religion and its relationship to gender, race/ethnicity, and class. The fifth edition has been revised to include the 2012 elections, in particular Mitt Romney鈥檚 candidacy and Mormonism, as well as a fuller assessment of the role of religion in President Obama鈥檚 first term. In-depth treatment of core topics, contemporary case studies, and useful focus-study boxes, provides students with a real understanding of how religion and politics relate in practice and makes this fifth edition essential reading for courses in political science, religion, and sociology departments.