SlideShare a Scribd company logo
1 of 7
Download to read offline
Vinod Dangudubiyyapu Bootstrap SharePoint
1 Monday, November 28, 2016
Bootstrap SharePoint 2013
+
Contents
About ...................................................................................................................................................................................................................................1
Author..................................................................................................................................................................................................................................1
Prerequisites......................................................................................................................................................................................................................1
Master page......................................................................................................................................................................................................................2
Styling and Script reference .......................................................................................................................................................................................3
Navigation .........................................................................................................................................................................................................................4
Top navigation ...........................................................................................................................................................................................................4
Left side.........................................................................................................................................................................................................................4
Page Layout.......................................................................................................................................................................................................................5
Footer.............................................................................................................................................................................................................................5
Web part OOB customization....................................................................................................................................................................................6
Responsive SharePoint.................................................................................................................................................................................................6
About
The SharePoint 2013 provides the table less structure which gives flexibility for Responsive UI. The Responsive UI can
be experienced from a smaller device (tablet or smartphone)
Author
Author VINOD DANGUDUBIYYAPU
Guide Version 1.0
Modified On 28 November 2016
Prerequisites
Disable SharePoint Mobile Site
Vinod Dangudubiyyapu Bootstrap SharePoint
2 Monday, November 28, 2016
To achieve the SharePoint Responsive a configuration need to be done, by default SharePoint has its own
Mobile version is activated.
Go to features of SharePoint and disable the "Mobile Browser View".
The Responsive UI supports three rendering models:
Desktop: screen width 768px and above
Tablet: screen width between 481px and 767px
Smart Phone: screen width lower than or equal to 480px
Reference:
Responsive Master Page:
 http://dev.office.com/blogs/announcing-responsive-ui-package-for-sharepoint-on-premises-2013-2016
v5 Responsive Master Page :
 http://kyleschaeffer.com/sharepoint/v5-responsive-html5-master-page/
Master page
Vinod Dangudubiyyapu Bootstrap SharePoint
3 Monday, November 28, 2016
Styling and Script reference
/*Global Styling*/
img, a, a:hover, a:focus, a:visited, a:active, button {
outline: 0;
}
a:focus, a:visited, a:active {
text-decoration: none;
color: inherit;
}
textarea {
resize: none;
}
/*Bootstrap overrides*/
body #s4-workspace * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body #s4-workspace [class^="ms-"] {
box-sizing: content-box;
}
button {
min-width: inherit;
}
input[type="button"],
input[type="sumbit"],
input[type="reset"], button {
background-color:
rgba(255,255,255,0.7);
display: block;
padding: 10px 32px;
text-align: center;
color: #000;
display: inline-block;
text-decoration: none;
transition: all .4s;
border: 0;
}
input[type="button"],
input[type="sumbit"],
input[type="reset"], button {
margin-left: 5px;
}
input[type="button"]:hover,
input[type="sumbit"]:hover,
input[type="reset"]:hover, button:hover{
background-color:
rgba(227,3,124,0.9);
color: #fff;
}
/*SharePoint overrides*/
body #s4-workspace {
background:
url("../AppImages/createevent.jpg") no-
repeat fixed center top;
background-size: cover;
}
body #s4-titlerow {
background: #fff
url("../AppImages/ironpatern.png")
repeat-x left top;
padding: 0;
top: 64px;
z-index: 102;
height: 120px;
transition: all 0.4s;
}
Vinod Dangudubiyyapu Bootstrap SharePoint
4 Monday, November 28, 2016
#titleAreaBox {
margin: auto;
}
body #s4-titlerow .ms-siteicon-a {
position: relative;
text-align: center;
vertical-align: middle;
height: 120px;
transition: all .4s;
max-height: none;
max-width: none;
display: table-cell;
transition: all 0.4s;
}
body #s4-titlerow .ms-siteicon-a .ms-
siteicon-img {
max-width: 100%;
max-height: 100%;
transition: all 0.4s;
}
#s4-bodyContainer {
padding: 0;
min-height: 100%;
}
#contentRow {
padding: 15px 0 50px;
}
#contentBox {
margin: 0;
min-width: 0;
}
Navigation
Top navigation
.ms-breadcrumb-box {
height: auto;
}
.ms-core-listMenu-horizontalBox
li.static > .ms-core-listMenu-item {
color: #000;
padding: 0px 20px;
text-align: center;
font-size: 18px;
position: relative;
text-decoration: none;
transition: all .4s;
}
.ms-core-listMenu-horizontalBox
li.static > .ms-core-listMenu-
item:first-child {
display: none;
}
.ms-core-listMenu-horizontalBox
li.static li.static > .ms-core-listMenu-
item {
display: inherit;
}
.dynamic-children ul.dynamic {
text-align: left;
box-shadow: none;
background: #fff
url("../AppImages/ironpatern.png")
repeat left top;
border: 0px solid #ed037c;
border-top: 0;
margin-left: -30px;
margin-top: -1px;
padding: 0 5px;
width: auto!important;
min-width:200px;
max-width: 250px;
}
Left side
.ms-core-listMenu-horizontalBox > .ms-core-listMenu-root > .ms-listMenu-editLink,
body #s4-titlerow .ms-mpSearchBox, #sideNavBox {
display: none;
}
Vinod Dangudubiyyapu Bootstrap SharePoint
5 Monday, November 28, 2016
Page Layout
Change Blankwebpart layout to Bootstrap “col-xx-xx“classes
Figure 1: Out Of the Box Code
Figure 2: Customized with Bootstrap Classes
Footer
/* Footer styles starts here */
footer {
background: #000
/*url('/SiteAssets/Astro/AppImages/c-p-
btm.jpg') no-repeat 50% 0*/;
text-align: center;
clear: both;
display: block;
margin-top: -50px;
}
footer .footerWrapper {
padding: 15px 0;
}
footer a {
color: #fff!important;
font-size: 12px;
font-family: 'LatoWeb';
text-decoration: none;
padding: 0 5px;
border-right: 1px solid #fff;
}
footer a:hover, footer a:active,
footer a:focus, footer a:visited {
color: #fff;
border-right: 1px solid #fff;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
footer span {
font-weight: bold;
font-family: 'LatoWeb';
font-size: 12px;
color: #fff;
padding-left: 5px;
}
Vinod Dangudubiyyapu Bootstrap SharePoint
6 Monday, November 28, 2016
Web part OOB customization
.ms-webpartzone-cell {
margin: 0;
}
.ms-webpart-zone, .ms-webpart-chrome-vertical, .ms-webpart-cell-vertical {
display: block;
}
Responsive SharePoint
Desktop first targeted resolution,
@media screen and (max-width:481px) {
.ms-breadcrumb-box {
position: relative;
bottom: 18px;
height: auto;
}
.dynamic-children.hover ul.dynamic {
position: static;
width: 100%!important;
max-width: none;
border: 0;
background: inherit;
margin: 0;
display: block;
}
.dynamic-children.hover ul.dynamic a {
color:#fff;
}
}
@media screen and (max-width:767px) {
.navbar-fixed-top .ms-breadcrumb-box {
background: #fff;
}
body #s4-titlerow .ms-siteicon-a {
height: 80px;
}
body #s4-titlerow .ms-siteicon-a .ms-siteicon-img {
max-width: 60%;
}
.ms-core-listMenu-horizontalBox,
.ms-core-listMenu-horizontalBox ul.static, .ms-core-
listMenu-horizontalBox li.static, .ms-core-listMenu-
horizontalBox .ms-core-listMenu-item, .ms-core-listMenu-
horizontalBox > ul.static > li.static > table {
display: block;
}
.ms-core-listMenu-horizontalBox li.static {
border-bottom: 1px solid #ed037c;
background: #000;
text-align: center;
}
.ms-core-listMenu-horizontalBox li.static > .ms-core-
listMenu-item {
color: #f1f1f1;
}
.ms-core-listMenu-horizontalBox li.static li.static {
border-left: 0px solid #ed037c;
border-top: 1px solid #ed037c;
border-bottom: 0;
}
}
@media screen and (min-width:768px) {
.navbar-fixed-top .ms-breadcrumb-box { background: transparent none;
Vinod Dangudubiyyapu Bootstrap SharePoint
7 Monday, November 28, 2016
}
.ms-core-listMenu-horizontalBox li.static > .ms-core-
listMenu-item {
min-width: 0;
margin-right: 0;
}
.ms-core-listMenu-horizontalBox li.static li.static:first-child
{
border-left: 0 none;
}
.ms-core-listMenu-horizontalBox li.static li.static {
border-left: 1px solid #ed037c;
}
.ms-core-listMenu-horizontalBox li.dynamic > .menu-item
{
padding: 5px 2px;
font-size: inherit;
color: #333;
}
.ms-core-listMenu-horizontalBox li.dynamic > .menu-
item .additional-background {
padding-left: 0!important;
border: 0!important;
}
.ms-core-listMenu-horizontalBox li.dynamic > a:hover {
text-decoration: none;
color: #000;
background: #fafafa;
}
.ms-breadcrumb-title {
display: none;
}
}
@media screen and (max-width:768px) {
.ms-core-listMenu-horizontalBox li.static > .ms-core-
listMenu-item {
padding: 0 10px;
}
.ms-breadcrumb-title { display: none; }
.ms-siteicon-a {
height: 85px;
}
}
@media (min-width:992px) {
.ms-core-listMenu-horizontalBox li.static > .ms-core-
listMenu-item {
padding: 0 40px;
min-width: 0;
margin-right: 0;
}
.ms-core-listMenu-horizontalBox {
margin-right: 45px;
}
.ms-breadcrumb-top {
padding-top: 35px!important;
position: absolute;
right: 0;
}
.navbar-fixed-top .ms-breadcrumb-box {
background: transparent;
}
.navbar-fixed-top .ReferencePane {
margin-top: 10px;
}
}

More Related Content

Viewers also liked

Documento - La Laptop
Documento - La LaptopDocumento - La Laptop
Documento - La LaptopIntComp-ULS
 
¿Todavía tienes servidores físicos en tu empresa? Da el salto al Cloud
¿Todavía tienes servidores físicos en tu empresa? Da el salto al Cloud¿Todavía tienes servidores físicos en tu empresa? Da el salto al Cloud
¿Todavía tienes servidores físicos en tu empresa? Da el salto al CloudManuel Daza
 
Are European regulations heading East?
Are European regulations heading East?Are European regulations heading East?
Are European regulations heading East?Bovill
 
social-studies-social-groups-and-institutions
social-studies-social-groups-and-institutionssocial-studies-social-groups-and-institutions
social-studies-social-groups-and-institutionscapesociology
 
FlashSystem February 2017
FlashSystem February 2017FlashSystem February 2017
FlashSystem February 2017Joe Krotz
 
resume 201 4 2-5 final
resume 201 4  2-5 finalresume 201 4  2-5 final
resume 201 4 2-5 finalanthony smith
 
Περίληψη Ετήσιας Έκθεσης ΙΝΕ ΓΣΕΕ 2017
Περίληψη Ετήσιας Έκθεσης ΙΝΕ ΓΣΕΕ 2017Περίληψη Ετήσιας Έκθεσης ΙΝΕ ΓΣΕΕ 2017
Περίληψη Ετήσιας Έκθεσης ΙΝΕ ΓΣΕΕ 2017Panayotis Sofianopoulos
 

Viewers also liked (10)

Documento - La Laptop
Documento - La LaptopDocumento - La Laptop
Documento - La Laptop
 
¿Todavía tienes servidores físicos en tu empresa? Da el salto al Cloud
¿Todavía tienes servidores físicos en tu empresa? Da el salto al Cloud¿Todavía tienes servidores físicos en tu empresa? Da el salto al Cloud
¿Todavía tienes servidores físicos en tu empresa? Da el salto al Cloud
 
Quaresma inf-1-3-ep-2017
Quaresma inf-1-3-ep-2017Quaresma inf-1-3-ep-2017
Quaresma inf-1-3-ep-2017
 
Biblioteca UNAD Recursos de info
Biblioteca UNAD Recursos de infoBiblioteca UNAD Recursos de info
Biblioteca UNAD Recursos de info
 
Are European regulations heading East?
Are European regulations heading East?Are European regulations heading East?
Are European regulations heading East?
 
social-studies-social-groups-and-institutions
social-studies-social-groups-and-institutionssocial-studies-social-groups-and-institutions
social-studies-social-groups-and-institutions
 
FlashSystem February 2017
FlashSystem February 2017FlashSystem February 2017
FlashSystem February 2017
 
resume 201 4 2-5 final
resume 201 4  2-5 finalresume 201 4  2-5 final
resume 201 4 2-5 final
 
Περίληψη Ετήσιας Έκθεσης ΙΝΕ ΓΣΕΕ 2017
Περίληψη Ετήσιας Έκθεσης ΙΝΕ ΓΣΕΕ 2017Περίληψη Ετήσιας Έκθεσης ΙΝΕ ΓΣΕΕ 2017
Περίληψη Ετήσιας Έκθεσης ΙΝΕ ΓΣΕΕ 2017
 
ΔΕΦΚΦ Γ 1039149 ΕΞ2017
ΔΕΦΚΦ Γ 1039149 ΕΞ2017ΔΕΦΚΦ Γ 1039149 ΕΞ2017
ΔΕΦΚΦ Γ 1039149 ΕΞ2017
 

Similar to SharePoint Bootstrap 2013

Responsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebResponsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebEduardo Shiota Yasuda
 
IT1150CapstoneProjectFall2016TedCarr
IT1150CapstoneProjectFall2016TedCarrIT1150CapstoneProjectFall2016TedCarr
IT1150CapstoneProjectFall2016TedCarrTed Carr
 
Real-world component libraries at scale
Real-world component libraries at scaleReal-world component libraries at scale
Real-world component libraries at scaleStefan Baumgartner
 
Style guide for share point 2013 branding
Style guide for share point 2013 brandingStyle guide for share point 2013 branding
Style guide for share point 2013 brandingVinod Dangudubiyyapu
 
LessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG MeetingLessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG MeetingMyles Braithwaite
 
Presentation of bootstrap
Presentation of bootstrapPresentation of bootstrap
Presentation of bootstrap1amitgupta
 
IML 140 Design - Basics
IML 140 Design - BasicsIML 140 Design - Basics
IML 140 Design - BasicsEvan Hughes
 
how can I replace the Newsfeed text with a custom on in SharePoi.pdf
how can I replace the Newsfeed text with a custom on in SharePoi.pdfhow can I replace the Newsfeed text with a custom on in SharePoi.pdf
how can I replace the Newsfeed text with a custom on in SharePoi.pdfjyothimuppasani1
 
Spark Machine Learning: Adding Your Own Algorithms and Tools with Holden Kara...
Spark Machine Learning: Adding Your Own Algorithms and Tools with Holden Kara...Spark Machine Learning: Adding Your Own Algorithms and Tools with Holden Kara...
Spark Machine Learning: Adding Your Own Algorithms and Tools with Holden Kara...Databricks
 
Lect-4-Responsive-Web-06032024-082044am.pptx
Lect-4-Responsive-Web-06032024-082044am.pptxLect-4-Responsive-Web-06032024-082044am.pptx
Lect-4-Responsive-Web-06032024-082044am.pptxzainm7032
 
Turku loves-storybook-styleguidist-styled-components
Turku loves-storybook-styleguidist-styled-componentsTurku loves-storybook-styleguidist-styled-components
Turku loves-storybook-styleguidist-styled-componentsJames Stone
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucksTim Wright
 
Modifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users groupModifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users groupEvan Mullins
 
What's New for Developers in SharePoint 2010
What's New for Developers in SharePoint 2010What's New for Developers in SharePoint 2010
What's New for Developers in SharePoint 2010Geoff Varosky
 

Similar to SharePoint Bootstrap 2013 (20)

Bootstrap share point 2013
Bootstrap share point 2013Bootstrap share point 2013
Bootstrap share point 2013
 
Responsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebResponsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da Web
 
IT1150CapstoneProjectFall2016TedCarr
IT1150CapstoneProjectFall2016TedCarrIT1150CapstoneProjectFall2016TedCarr
IT1150CapstoneProjectFall2016TedCarr
 
Real-world component libraries at scale
Real-world component libraries at scaleReal-world component libraries at scale
Real-world component libraries at scale
 
Style guide for share point 2013 branding
Style guide for share point 2013 brandingStyle guide for share point 2013 branding
Style guide for share point 2013 branding
 
LessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG MeetingLessCSS Presentation @ April 2015 GTALUG Meeting
LessCSS Presentation @ April 2015 GTALUG Meeting
 
Presentation of bootstrap
Presentation of bootstrapPresentation of bootstrap
Presentation of bootstrap
 
IML 140 Design - Basics
IML 140 Design - BasicsIML 140 Design - Basics
IML 140 Design - Basics
 
Bootstrap 3.0
Bootstrap 3.0Bootstrap 3.0
Bootstrap 3.0
 
how can I replace the Newsfeed text with a custom on in SharePoi.pdf
how can I replace the Newsfeed text with a custom on in SharePoi.pdfhow can I replace the Newsfeed text with a custom on in SharePoi.pdf
how can I replace the Newsfeed text with a custom on in SharePoi.pdf
 
Spark Machine Learning: Adding Your Own Algorithms and Tools with Holden Kara...
Spark Machine Learning: Adding Your Own Algorithms and Tools with Holden Kara...Spark Machine Learning: Adding Your Own Algorithms and Tools with Holden Kara...
Spark Machine Learning: Adding Your Own Algorithms and Tools with Holden Kara...
 
Lect-4-Responsive-Web-06032024-082044am.pptx
Lect-4-Responsive-Web-06032024-082044am.pptxLect-4-Responsive-Web-06032024-082044am.pptx
Lect-4-Responsive-Web-06032024-082044am.pptx
 
Turku loves-storybook-styleguidist-styled-components
Turku loves-storybook-styleguidist-styled-componentsTurku loves-storybook-styleguidist-styled-components
Turku loves-storybook-styleguidist-styled-components
 
Core CSS3
Core CSS3Core CSS3
Core CSS3
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
Fast by Default
Fast by DefaultFast by Default
Fast by Default
 
Atomic Design con Pattern Lab
Atomic Design con Pattern LabAtomic Design con Pattern Lab
Atomic Design con Pattern Lab
 
Variations on a Theme
Variations on a ThemeVariations on a Theme
Variations on a Theme
 
Modifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users groupModifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users group
 
What's New for Developers in SharePoint 2010
What's New for Developers in SharePoint 2010What's New for Developers in SharePoint 2010
What's New for Developers in SharePoint 2010
 

Recently uploaded

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 

Recently uploaded (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 

SharePoint Bootstrap 2013

  • 1. Vinod Dangudubiyyapu Bootstrap SharePoint 1 Monday, November 28, 2016 Bootstrap SharePoint 2013 + Contents About ...................................................................................................................................................................................................................................1 Author..................................................................................................................................................................................................................................1 Prerequisites......................................................................................................................................................................................................................1 Master page......................................................................................................................................................................................................................2 Styling and Script reference .......................................................................................................................................................................................3 Navigation .........................................................................................................................................................................................................................4 Top navigation ...........................................................................................................................................................................................................4 Left side.........................................................................................................................................................................................................................4 Page Layout.......................................................................................................................................................................................................................5 Footer.............................................................................................................................................................................................................................5 Web part OOB customization....................................................................................................................................................................................6 Responsive SharePoint.................................................................................................................................................................................................6 About The SharePoint 2013 provides the table less structure which gives flexibility for Responsive UI. The Responsive UI can be experienced from a smaller device (tablet or smartphone) Author Author VINOD DANGUDUBIYYAPU Guide Version 1.0 Modified On 28 November 2016 Prerequisites Disable SharePoint Mobile Site
  • 2. Vinod Dangudubiyyapu Bootstrap SharePoint 2 Monday, November 28, 2016 To achieve the SharePoint Responsive a configuration need to be done, by default SharePoint has its own Mobile version is activated. Go to features of SharePoint and disable the "Mobile Browser View". The Responsive UI supports three rendering models: Desktop: screen width 768px and above Tablet: screen width between 481px and 767px Smart Phone: screen width lower than or equal to 480px Reference: Responsive Master Page:  http://dev.office.com/blogs/announcing-responsive-ui-package-for-sharepoint-on-premises-2013-2016 v5 Responsive Master Page :  http://kyleschaeffer.com/sharepoint/v5-responsive-html5-master-page/ Master page
  • 3. Vinod Dangudubiyyapu Bootstrap SharePoint 3 Monday, November 28, 2016 Styling and Script reference /*Global Styling*/ img, a, a:hover, a:focus, a:visited, a:active, button { outline: 0; } a:focus, a:visited, a:active { text-decoration: none; color: inherit; } textarea { resize: none; } /*Bootstrap overrides*/ body #s4-workspace * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } body #s4-workspace [class^="ms-"] { box-sizing: content-box; } button { min-width: inherit; } input[type="button"], input[type="sumbit"], input[type="reset"], button { background-color: rgba(255,255,255,0.7); display: block; padding: 10px 32px; text-align: center; color: #000; display: inline-block; text-decoration: none; transition: all .4s; border: 0; } input[type="button"], input[type="sumbit"], input[type="reset"], button { margin-left: 5px; } input[type="button"]:hover, input[type="sumbit"]:hover, input[type="reset"]:hover, button:hover{ background-color: rgba(227,3,124,0.9); color: #fff; } /*SharePoint overrides*/ body #s4-workspace { background: url("../AppImages/createevent.jpg") no- repeat fixed center top; background-size: cover; } body #s4-titlerow { background: #fff url("../AppImages/ironpatern.png") repeat-x left top; padding: 0; top: 64px; z-index: 102; height: 120px; transition: all 0.4s; }
  • 4. Vinod Dangudubiyyapu Bootstrap SharePoint 4 Monday, November 28, 2016 #titleAreaBox { margin: auto; } body #s4-titlerow .ms-siteicon-a { position: relative; text-align: center; vertical-align: middle; height: 120px; transition: all .4s; max-height: none; max-width: none; display: table-cell; transition: all 0.4s; } body #s4-titlerow .ms-siteicon-a .ms- siteicon-img { max-width: 100%; max-height: 100%; transition: all 0.4s; } #s4-bodyContainer { padding: 0; min-height: 100%; } #contentRow { padding: 15px 0 50px; } #contentBox { margin: 0; min-width: 0; } Navigation Top navigation .ms-breadcrumb-box { height: auto; } .ms-core-listMenu-horizontalBox li.static > .ms-core-listMenu-item { color: #000; padding: 0px 20px; text-align: center; font-size: 18px; position: relative; text-decoration: none; transition: all .4s; } .ms-core-listMenu-horizontalBox li.static > .ms-core-listMenu- item:first-child { display: none; } .ms-core-listMenu-horizontalBox li.static li.static > .ms-core-listMenu- item { display: inherit; } .dynamic-children ul.dynamic { text-align: left; box-shadow: none; background: #fff url("../AppImages/ironpatern.png") repeat left top; border: 0px solid #ed037c; border-top: 0; margin-left: -30px; margin-top: -1px; padding: 0 5px; width: auto!important; min-width:200px; max-width: 250px; } Left side .ms-core-listMenu-horizontalBox > .ms-core-listMenu-root > .ms-listMenu-editLink, body #s4-titlerow .ms-mpSearchBox, #sideNavBox { display: none; }
  • 5. Vinod Dangudubiyyapu Bootstrap SharePoint 5 Monday, November 28, 2016 Page Layout Change Blankwebpart layout to Bootstrap “col-xx-xx“classes Figure 1: Out Of the Box Code Figure 2: Customized with Bootstrap Classes Footer /* Footer styles starts here */ footer { background: #000 /*url('/SiteAssets/Astro/AppImages/c-p- btm.jpg') no-repeat 50% 0*/; text-align: center; clear: both; display: block; margin-top: -50px; } footer .footerWrapper { padding: 15px 0; } footer a { color: #fff!important; font-size: 12px; font-family: 'LatoWeb'; text-decoration: none; padding: 0 5px; border-right: 1px solid #fff; } footer a:hover, footer a:active, footer a:focus, footer a:visited { color: #fff; border-right: 1px solid #fff; text-decoration: none; } footer a:hover { text-decoration: underline; } footer span { font-weight: bold; font-family: 'LatoWeb'; font-size: 12px; color: #fff; padding-left: 5px; }
  • 6. Vinod Dangudubiyyapu Bootstrap SharePoint 6 Monday, November 28, 2016 Web part OOB customization .ms-webpartzone-cell { margin: 0; } .ms-webpart-zone, .ms-webpart-chrome-vertical, .ms-webpart-cell-vertical { display: block; } Responsive SharePoint Desktop first targeted resolution, @media screen and (max-width:481px) { .ms-breadcrumb-box { position: relative; bottom: 18px; height: auto; } .dynamic-children.hover ul.dynamic { position: static; width: 100%!important; max-width: none; border: 0; background: inherit; margin: 0; display: block; } .dynamic-children.hover ul.dynamic a { color:#fff; } } @media screen and (max-width:767px) { .navbar-fixed-top .ms-breadcrumb-box { background: #fff; } body #s4-titlerow .ms-siteicon-a { height: 80px; } body #s4-titlerow .ms-siteicon-a .ms-siteicon-img { max-width: 60%; } .ms-core-listMenu-horizontalBox, .ms-core-listMenu-horizontalBox ul.static, .ms-core- listMenu-horizontalBox li.static, .ms-core-listMenu- horizontalBox .ms-core-listMenu-item, .ms-core-listMenu- horizontalBox > ul.static > li.static > table { display: block; } .ms-core-listMenu-horizontalBox li.static { border-bottom: 1px solid #ed037c; background: #000; text-align: center; } .ms-core-listMenu-horizontalBox li.static > .ms-core- listMenu-item { color: #f1f1f1; } .ms-core-listMenu-horizontalBox li.static li.static { border-left: 0px solid #ed037c; border-top: 1px solid #ed037c; border-bottom: 0; } } @media screen and (min-width:768px) { .navbar-fixed-top .ms-breadcrumb-box { background: transparent none;
  • 7. Vinod Dangudubiyyapu Bootstrap SharePoint 7 Monday, November 28, 2016 } .ms-core-listMenu-horizontalBox li.static > .ms-core- listMenu-item { min-width: 0; margin-right: 0; } .ms-core-listMenu-horizontalBox li.static li.static:first-child { border-left: 0 none; } .ms-core-listMenu-horizontalBox li.static li.static { border-left: 1px solid #ed037c; } .ms-core-listMenu-horizontalBox li.dynamic > .menu-item { padding: 5px 2px; font-size: inherit; color: #333; } .ms-core-listMenu-horizontalBox li.dynamic > .menu- item .additional-background { padding-left: 0!important; border: 0!important; } .ms-core-listMenu-horizontalBox li.dynamic > a:hover { text-decoration: none; color: #000; background: #fafafa; } .ms-breadcrumb-title { display: none; } } @media screen and (max-width:768px) { .ms-core-listMenu-horizontalBox li.static > .ms-core- listMenu-item { padding: 0 10px; } .ms-breadcrumb-title { display: none; } .ms-siteicon-a { height: 85px; } } @media (min-width:992px) { .ms-core-listMenu-horizontalBox li.static > .ms-core- listMenu-item { padding: 0 40px; min-width: 0; margin-right: 0; } .ms-core-listMenu-horizontalBox { margin-right: 45px; } .ms-breadcrumb-top { padding-top: 35px!important; position: absolute; right: 0; } .navbar-fixed-top .ms-breadcrumb-box { background: transparent; } .navbar-fixed-top .ReferencePane { margin-top: 10px; } }