Created
April 8, 2019 08:31
-
-
Save akashsenger/c0229e759ec0675e91c067eb793e5924 to your computer and use it in GitHub Desktop.
Convert Vf Page into Lightning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardController="Case" extensions="CaseController" standardStylesheets="{!IsClassic}" LightningStylesheets="{! !IsClassic}"> | |
<apex:outputPanel rendered="{! !IsClassic}"> | |
<apex:slds /> | |
<style> | |
body .bPageBlock .detailList .dataCol { | |
margin-bottom: 0rem !important; | |
margin-top: 0rem !important; | |
padding-top: 0rem !important; | |
padding-bottom: 0rem !important; | |
display: table-cell !important; | |
} | |
body .detailList .dataCol select{ | |
min-width: 15rem !important; | |
width: 15rem !important ; | |
} | |
body .dataCol textarea { | |
min-width: 15rem !important; | |
width: 15rem !important ; | |
height: 45px; | |
} | |
body .pbSubsection{ | |
padding-top: 0rem !important; | |
padding-bottom: 0rem !important; | |
} | |
body .detailList tbody tr{ | |
width: 250px; | |
} | |
body .bPageBlock .pbSubheader{ | |
margin-bottom: 8px !important; | |
line-height: normal !important; | |
} | |
body .pbHeader .pbButton{ | |
text-align: center; | |
} | |
body .pbButton .btn, body .pbButtonb .btn { | |
background-color: #9e801a; | |
color: white; | |
} | |
</style> | |
</apex:outputPanel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment