LhasaOMS Style Guide
Banner Boxes
SPECIAL BOXES
LAYOUT & GRID
TYPOGRAPHY
LHASA BOXES
ACTIONS / BUTTONS
RESPONSIVE VIDEO EMBED
DROP SHADOW EFFECTS
Messages
Special Boxes
Special Box
Dark Special Box
<!-- Special Box --> <!--Default --> <div class="special-box"> <span class="text">Special Box</span> </div> <!-- Special Box Dark --> <div class="special-box dark"> <span class="text">Special Box</span> </div> <!-- Special Boxes can be used as links --> <a class="special-box" href="#" style="background-image:ur(../path/to/image.jpg);"> <span class="text">Special Box Link</span> </a>
Layout & Grid
<!-- Responsive Grid --> <!-- Default Grid --> <div class="row"> <div class="col-xs-12 col-sm-8 col-md-6 col-lg-7">...</div> <div class="col-xs-12 col-sm-4 col-md-6 col-lg-5">...</div> </div> <!-- "No Gap" Grid --> <div class="row no-gap"> <div class="col-xs-12 col-sm-8 col-md-6 col-lg-7">...</div> <div class="col-xs-12 col-sm-4 col-md-6 col-lg-5">...</div> </div>
This theme uses Bootstrap's grid system.
Typography
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
Lead Text...
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae quae dolor itaque optio ex similique, incidunt, ipsa minus tenetur excepturi fuga sapiente molestias quisquam. Itaque modi eligendi ex, doloribus eum. Lorem ipsum dolor sit amet, consectetur adipisicing elit...
<!-- Typography --> <h1>Header 1</h1> <h2>Header 2</h2> <h3>Header 3</h3> <h4>Header 4</h4> <h5>Header 5</h5> <h6>Header 6</h6> <p class="lead">Lead text...</p> <p>Paragraph Text...</p>
Actions / Buttons
Action
Primary
Secondary
Success
Light
Dark
Action
Primary
Secondary
Success
Light
Dark
XS - Extra Small
SM - Small
MD - Medium
LG - Large
XL - Extra Large
<!-- Actions / Buttons --> <!-- Default with color options --> <a href="#" class="action">Action</a> <a href="#" class="action primary">Primary</a> <a href="#" class="action secondary">Secondary</a> <a href="#" class="action success">Success</a> <a href="#" class="action light">Light</a> <a href="#" class="action dark">Dark</a> <!-- Outlined --> <a href="#" class="action outline">Action</a> <a href="#" class="action outline primary">Primary</a> <a href="#" class="action outline secondary">Secondary</a> <a href="#" class="action outline success">Success</a> <a href="#" class="action outline light">Light</a> <a href="#" class="action outline dark">Dark</a> <!-- Size Variations --> <a href="#" class="action xs primary">XS - Extra Small</a> <a href="#" class="action sm secondary">SM - Small</a> <a href="#" class="action md success">MD - Medium</a> <a href="#" class="action lg light">LG - Large</a> <a href="#" class="action xl dark">XL - Extra Large</a>
Lhasa Boxes
CONTENT
CONTENT
CONTENT
CONTENT
CONTENT
CONTENT
<!-- Lhasa Boxes --> <div class="lhasabox lhasa-blue">...</div> <div class="lhasabox lhasa-yellow">...</div> <div class="lhasabox lhasa-green">...</div> <div class="lhasabox lhasa-orange">...</div> <div class="lhasabox">...</div> <div class="lhasabox lhasa-dark">...</div>
Responsive Video Embed
<!-- Responsive Video Embed --> <!-- Default 16x9 Aspect Ratio --> <div class="responsive-embed"> <iframe src="..." ></iframe> </div> <!-- 4x3 Aspect Ratio --> <div class="responsive-embed responsive-4x3"> <iframe src="..." ></iframe> </div> <!-- Youtube Embed Styling Cheatsheet --> //youtube.com/embed/VIDEO_ID?modestbranding=1&autohide=1&showinfo=0&controls=0&iv_load_policy=3&rel=0 &rel=0 .............. Hide Suggested Videos &modestbranding=1 ... Minimalist Player &autohide=1 ......... Hide Controls on Video Load &showinfo=0 ......... Hide Video Title &controls=0 ......... Hide Player Controls &iv_load_policy=3 ... Hide Annotations
Drop Shadow Effects
shadow1
shadow2
shadow3
shadow4
shadow5
shadow6
shadow7
shadow8
<!-- Drop Shadow Effects --> <div class="shadow1">...</div> <div class="shadow2">...</div> <div class="shadow3">...</div> <div class="shadow4">...</div> <div class="shadow5">...</div> <div class="shadow6">...</div> <div class="shadow7">...</div> <div class="shadow8">...</div>
Messages
<!-- Messages --> <!-- Success Messages --> <div class="page messages"> <div class="message-success success message"> <div>...</div> </div> </div> <!-- Error Message --> <div class="page messages"> <div class="message-error error message"> <div>...</div> </div> </div> <!-- Alert Message --> <div class="page messages"> <div class="message-warning warning message"> <div>...</div> </div> </div>
Sliders
<!-- Sliders / Swiper Elements -->
This theme uses swiper.js for slideshows and touch-to-swipe events.
Forms and Input Fields
<!-- Text input--> <div class="form-group"> <label class="control-label" for="textinput">Text Input</label> <input name="textinput" type="text" placeholder="Placeholder..." class="form-control input-md"> </div> <!-- Multiple Radios --> <div class="form-group"> <label class="control-label" for="radios">Multiple Radios</label> <div class="radio"> <label for="radios-0"><input type="radio" name="radios" value="1" checked="checked">Option 1</label> </div> <div class="radio"> <label for="radios-1"><input type="radio" name="radios" value="2">Option 2</label> </div> </div> <!-- Multiple Checkboxes --> <div class="form-group"> <label class=" control-label">Multiple Checkboxes</label> <div class="checkbox"> <label for="checkboxes-0"><input type="checkbox" name="checkboxes" value="1">Option 1</label> </div> <div class="checkbox"> <label for="checkboxes-1"><input type="checkbox" name="checkboxes" value="2">Option 2</label> </div> </div> <!-- Multiple Radios (inline) --> <div class="form-group"> <label class=" control-label">Inline Radios</label> <label class="radio-inline"><input type="radio" name="radios" value="1" checked="checked">1</label> <label class="radio-inline"><input type="radio" name="radios" value="2">2</label> <label class="radio-inline"><input type="radio" name="radios" value="3">3</label> <label class="radio-inline"><input type="radio" name="radios" value="4">4</label> </div> <!-- Multiple Checkboxes (inline) --> <div class="form-group"> <label class="control-label" for="checkboxes">Inline Checkboxes</label> <label class="checkbox-inline" for="checkboxes-0"><input type="checkbox" name="checkboxes" value="1">1</label> <label class="checkbox-inline" for="checkboxes-1"><input type="checkbox" name="checkboxes" value="2">2</label> <label class="checkbox-inline" for="checkboxes-2"><input type="checkbox" name="checkboxes" value="3">3</label> <label class="checkbox-inline" for="checkboxes-3"><input type="checkbox" name="checkboxes" value="4">4</label> </div> <!-- Select Basic --> <div class="form-group"> <label class="control-label" for="selectbasic">Select Dropdown</label> <select name="selectbasic" class="form-control"> <option value="1">Option 1</option> <option value="2">Option 2</option> </select> </div> <!-- Select Multiple --> <div class="form-group"> <label class="control-label" for="selectmultiple">Select Multiple Options</label> <select name="selectmultiple" class="form-control" multiple="multiple"> <option value="1">Option 1</option> <option value="2">Option 2</option> </select> </div> <!-- Textarea --> <div class="form-group"> <label class="control-label">Text Area</label> <textarea class="form-control"name="textarea">default text</textarea> </div>