- /* =SharePoint Experts, Inc. - CSS for updating the SharePoint web part look and feel.
- -Copyright 2010-2012 SharePoint Experts, Inc. and Heather Solomon. Distributed to class students for reference and educational purposes. Code may be used as long as this copyright message stays intact.
- -sharepointexperience.com
- */
- /* ---------- Web Part Container ----------*/
- /* Set background color */
- .s4-wpcell .s4-wpTopTable {
- background: #3D3C3C;
- /* CSS3 */
- -webkit-border-radius:20px;
- -moz-border-radius:20px;
- border-radius: 20px;
- }
- /* Add padding around table */
- .s4-wpcell table.s4-wpTopTable > tbody > tr > td {
- padding: 10px;
- }
- /* ---------- Web Part Title Bar ----------*/
- /* Remove web part header background */
- .ms-WPHeader {
- background: transparent;
- }
- /* Alter web part header text */
- .ms-WPTitle a, .ms-WPTitle a:visited {
- color: white;
- text-transform: lowercase;
- letter-spacing: 2px;
- font-size: 18px;
- font-family: "Tahoma";
- /* CSS3 */
- text-shadow: #000 0px 0px 7px; /*X,Y,blur*/
- }
- .ms-WPTitle a:hover,
- .ms-WPTitle a:focus {
- color: #fff;
- text-decoration: none;
- /* CSS3 */
- text-shadow: #000 0px 0px 7px; /*X,Y,blur*/
- }
- /* Remove bottom border */
- .ms-WPHeader td {
- border-bottom: 1px solid transparent;
- }
- /* Remove bottom border on hover */
- .s4-wpcell:hover .ms-WPHeader td,
- .s4-wpcell:focus .ms-WPHeader td,
- .s4-wpActive .ms-WPHeader td,
- .s4-wpcell .ms-WPSelected .ms-WPHeader td {
- border-bottom: 1px solid transparent;
- }
- /* Hide default arrow image */
- img.ms-WPHeaderMenuImg {
- display: none;
- }
- /* Place new arrow */
- a[class^="ms-wpselectlink"] /*Caret attribute selector is used to catch the arrow in it's various states. The classes start with this identifier. */ {
- background: url(http://classcdn.sharepointexperience.com/images/navigate_down.png);
- display: block;
- width: 24px;
- height: 24px;
- margin-right: 20px;
- }
- /* Remove default hover effect on arrow container */
- .ms-WPHeaderTdMenu:hover {
- background: none repeat-x scroll left top transparent;
- border: 1px solid transparent;
- }
- /* ---------- Data Table Overall ----------*/
- /* Set background for every row */
- .ms-listviewtable > tbody > tr {
- background: white;
- }
- /* Set background for every alternating row */
- .ms-listviewtable > tbody > tr.ms-alternating {
- background: #E2E3E5;
- }
- /* Set style for every data cell */
- table.ms-listviewtable > tbody > tr > td {
- border-bottom-color: #A0A0A0;
- border-right-color: #A0A0A0;
- border-width: 0px 1px 1px 0px;
- border-style: solid;
- padding: 8px 12px;
- }
- /* Adjust padding for ms-vb2 to match every data cell style */
- table.ms-listviewtable > tbody > tr > td.ms-vb2 {
- padding: 8px 12px;
- }
- /* Set style of title cell in first column */
- .ms-listviewtable > tbody > tr > td.ms-vb-title {
- background: #4073B9;
- border-top-color: #BBCDE6;
- border-left-color: #BBCDE6;
- border-bottom-color: #1A3665;
- border-right-color: #1A3665;
- border-style: solid;
- border-width: 1px;
- background-image: url(http://classcdn.sharepointexperience.com/images/gradbar.png);
- background-repeat: repeat-x;
- background-position: 0px -8px;
- }
- .ms-listviewtable > tbody > tr > td.ms-vb-title a {
- color: white;
- font-size: 12px;
- }
- /* Change default data text color */
- .ms-vb2 {
- color: black;
- }
- /* ---------- Table Header Row ----------*/
- /* Remove background set in general data table style */
- .ms-listviewtable tr.ms-viewheadertr {
- background: transparent;
- }
- /* Adds background and borders */
- tr.ms-viewheadertr > th.ms-vh,
- tr.ms-viewheadertr > th.ms-vh2 {
- border-top-color: white;
- border-left-color: white;
- border-bottom-color: #A0A0A0;
- border-right-color: #A0A0A0;
- border-style: solid;
- border-width: 1px;
- background: #B9BFBD;
- padding-left: 5px;
- background-image: url(http://classcdn.sharepointexperience.com/images/gradbar.png);
- background-repeat: repeat-x;
- }
- /* Modify font color */
- .ms-viewheadertr a,
- .ms-viewheadertr div {
- color: #3D3C3C;
- font-weight: bold;
- font-size: 12px;
- }
- /* Remove background treatment from first column header using CSS3 pseudo-class */
- tr.ms-viewheadertr > th.ms-vh2:first-of-type {
- background-color: transparent;
- background-image: none;
- border-left-color: transparent;
- border-right-color: transparent;
- border-top-color: transparent;
- border-bottom-color: transparent;
- }
- /* Change font color for first column header text using CSS3 pseudo-class*/
- tr.ms-viewheadertr > th.ms-vh2:first-of-type a {
- color: white;
- text-transform: lowercase;
- letter-spacing: 2px;
- font-size: 16px;
- font-family: "Tahoma";
- text-shadow: #000 0px 0px 7px; /*X,Y,blur*/
- }
- /* ---------- Table Footer ----------*/
- /* Change color of parting line between data and footer */
- .ms-partline {
- border-bottom: 1px solid transparent;
- height: 3px;
- }
- /* Hide default icon */
- td.ms-addnew span.s4-clust {
- display: none !important; /* Need !important to override inline style */
- }
- /* Create button for add new action link */
- a.ms-addnew {
- display: block;
- background: #B9BFBD;
- background-image: url(http://classcdn.sharepointexperience.com/images/gradbar.png);
- background-repeat: repeat-x;
- padding: 7px;
- width: 130px;
- text-align: center;
- text-transform: lowercase;
- font-size: 12px;
- font-family: "Tahoma";
- color: black;
- font-weight: bold;
- /* CSS3 */
- text-shadow: #fff 0px 0px 7px; /*X,Y,blur*/
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- webkit-box-shadow: 0px 0px 7px #000;
- -moz-box-shadow: 0px 0px 7px #000;
- box-shadow: 0px 0px 7px #000; /*X,Y,blur*/
- }
- a.ms-addnew:hover,
- a.ms-addnew:focus {
- text-decoration: none;
- background: white;
- }
- /*
- SharePoint Experts, Inc.
- sharepointexperience.com
- */