
Style blocks in theme
Using bootstrap framework
Buttons
Disabled class
Disabled
Outline
Outline background
Sizes lg (btn-lg)
Sizes sm (btn-sm)
Block
Button loading add js spinner
Button loading add spinner html
Ссылки
link
Linkactive link
Linklink line
Linkactive link line
Linkactive 2 link line
Linklink underline
Linklink inherit
Linklink active 2
Linka-primary
a-secondary
a-success
a-info
a-touchspin
a-warning
a-danger
a-light
a-dark
Forms
radio buttons
compact
original
checbox buttons
compact
original
checbox buttons outline style secondary (.custom-checkbox--style-secondary)
compact
original
input text
compact
original
input text GROUP ACTIVE
compact
original
error input text
compact
- Недействительная комбинация e-mail/пароль
original
- Недействительная комбинация e-mail/пароль
valid input text
compact
original
password text
compact
original
error password text
compact
- Недействительная комбинация e-mail/пароль
original
- Недействительная комбинация e-mail/пароль
file load
compact
original
input textarea
compact
original
Select
compact
compact not plugin select
original
original not plugin select
quantity input vertical
In custom html page
quantity input vertical left
In custom html page
quantity input horizontal
In custom html page
bredcrumb
Dropdowns
click dropdown
click_slide dropdown
hover dropdown
hover_slide dropdown
style dropdown
Collapse
Accordion
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Collapse click
Multiple targets
Tabs
Tooltip
standart tooltip
plugin n-tooltip
plugin n-tooltip cursor click
plugin n-tooltip cursor hover
Pagination
modal
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <div class="modal-title"> <i class="modal-title_icon modal-title_icon--left material-icons">error</i> Modal title </div> <button type="button" data-dismiss="modal" class="close modal-dialog_btn-close" aria-label="Close"> <i class="material-icons modal-dialog_btn-close-icon">close</i> </button> </div> <div class="modal-body"> <div class="modal-text modal-text--center">text</div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary modal-footer_btn" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary modal-footer_btn">Save changes</button> </div> </div> </div> </div>
Card
Example card
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereBody card
Header and footer
Featured
Image overlays
Card styles
Primary card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Secondary card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Success card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Danger card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Warning card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Info card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Light card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Dark card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Border
Primary card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Secondary card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Success card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Danger card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Warning card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Info card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Light card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Dark card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Card groups
Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Card title
This card has supporting text below as a natural lead-in to additional content.
Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.
Card groups
Card title that wraps to a new line
This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Card title
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat.
Card title
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.
Last updated 3 mins ago
Alert
Examples
Link color
Additional content
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
Dismissing
Bunch button 2
Open block
content
content text
content test
content
content text
content test
block active
item block
item block
block hover
- item 1
- item 2
- item 3
- item 4
block video youtube
<div class="js-video-youtube" data-path-video="https://www.youtube.com/watch?v=8GJFzFijCRE&t=219s" data-width="800" data-height="500"></div>
scroll top elem
<button class="btn btn-primary js-scroll-top-elem js-scroll-top-elem_1" data-scroll-elem=".js-scroll-top-elem_2" data-click-elem=".js-scroll-top-elem_2"> 1 btn, click scroll to elem </button>
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
page links
<ul class="page-links js-specificsize" data-textshow="Show more" data-texthide="Hide" data-media="[900, 2][767, 1][500, 3]" data-animation="top" data-countmaxline="1"> <li><a href="#" title="1 link">1 link</a></li> </ul>
sticky sidebar
spinner
Border spinner
Colors
Growing spinner
Colors
Size
Custom size
Buttons
block spinner
badge
Example
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Contextual variations
Primary Secondary Success Danger Warning Info Light DarkPill badges
Primary Secondary Success Danger Warning Info Light DarkLinks
Primary Secondary Success Danger Warning Info Light Darktables
Examples
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Color
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table head options
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Striped rows
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Bordered table
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Hoverable rows
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Small table
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Contextual classes
Class | Heading | Heading |
---|---|---|
Active | Cell | Cell |
Default | Cell | Cell |
Primary | Cell | Cell |
Secondary | Cell | Cell |
Success | Cell | Cell |
Danger | Cell | Cell |
Warning | Cell | Cell |
Info | Cell | Cell |
Light | Cell | Cell |
Dark | Cell | Cell |
# | Heading | Heading |
---|---|---|
1 | Cell | Cell |
2 | Cell | Cell |
3 | Cell | Cell |
4 | Cell | Cell |
5 | Cell | Cell |
6 | Cell | Cell |
7 | Cell | Cell |
8 | Cell | Cell |
9 | Cell | Cell |
Captions
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Always responsive
# | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading |
---|---|---|---|---|---|---|---|---|---|
1 | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell |
2 | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell |
3 | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell |
Breakpoint specific
# | Heading | Heading | Heading | Heading | Heading |
---|---|---|---|---|---|
1 | Cell | Cell | Cell | Cell | Cell |
2 | Cell | Cell | Cell | Cell | Cell |
3 | Cell | Cell | Cell | Cell | Cell |
# | Heading | Heading | Heading | Heading | Heading |
---|---|---|---|---|---|
1 | Cell | Cell | Cell | Cell | Cell |
2 | Cell | Cell | Cell | Cell | Cell |
3 | Cell | Cell | Cell | Cell | Cell |
# | Heading | Heading | Heading | Heading | Heading |
---|---|---|---|---|---|
1 | Cell | Cell | Cell | Cell | Cell |
2 | Cell | Cell | Cell | Cell | Cell |
3 | Cell | Cell | Cell | Cell | Cell |
# | Heading | Heading | Heading | Heading | Heading |
---|---|---|---|---|---|
1 | Cell | Cell | Cell | Cell | Cell |
2 | Cell | Cell | Cell | Cell | Cell |
3 | Cell | Cell | Cell | Cell | Cell |
progress
How it works
Labels
Height
Backgrounds
Multiple bars
Striped
Animated stripes
toasts
Calling toast js
prestashop.divlf_theme.toasts.add( { delay: 3000, autohide: true, animation: true, style_classes: [] }, undefined, 'title', 'time', true, 'content' )
Calling toast error js
prestashop.divlf_theme.toasts.add( { delay: 3000, autohide: true, animation: true, style_classes: ['text-white', 'bg-danger'] }, undefined, 'title', 'time', true, 'content' )
Toasts
responsive
Применение атрибутов при изменение блока, к примеру изменения списка товаров
Применяй: data-theme-responsive="_desktop_768_ ... "
Применяй: data-theme-responsive="_desktop_992_ ... "
<div> <strong>Desktop:</strong> <span data-theme-responsive="_desktop_768_miniature-actions"><span>value desktop</span></span> </div> <div> <strong>Mobile:</strong> <span data-theme-responsive="_mobile_768_miniature-actions"></span> </div>Example:
Применение к id элементам, применяется без обновления страницы
Применяй: id="_desktop_768_ ... "
Применяй: id="_desktop_992_ ... "
<div> <strong>Desktop:</strong> <span id="_desktop_768_miniature-actions"><span>value desktop ID</span></span> </div> <div> <strong>Mobile:</strong> <span id="_mobile_768_miniature-actions"></span> </div>Example:
<div class="scroll-list js-scroll-list" data-display-nav-btn="true" data-active-drag-drop="true" data-duration-easing="250" data-name-btn-left="Left" data-name-btn-right="Right" data-content-btn-left="Left" data-content-btn-right="Right" data-items-move="3" data-items-move-btn-left="1" data-items-move-btn-right="1" data-attr-btn-prev='{ "class": "btn btn-primary"}' data-attr-btn-next='{ "class": "btn btn-primary"}' data-tablet-display-nav-btn="true" data-tablet-items-move="1" data-tablet-prev-items-move="1" data-tablet-next-items-move="1" data-mobile-display-nav-btn="true" data-mobile-items-move="1" data-mobile-prev-items-move="1" data-mobile-next-items-move=""> <div><button class="btn btn-primary">Test list 456 Test list 456</button></div> <div><button class="btn btn-secondary">Test list 456 Test list 456</button></div> <div><button class="btn btn-success">Test list 456 Test list 456</button></div> <div><button class="btn btn-danger">Test list 456 Test list 456</button></div> <div><button class="btn btn-warning">Test list 456 Test list 456</button></div> <div><button class="btn btn-dark">Test list 456 Test list 456</button></div> <div><button class="btn btn-light">Test list 456 Test list 456</button></div> <div><button class="btn btn-link">Test list 456 Test list 456</button></div> <div><button class="btn btn-link">Test list 456 Test list 456</button></div> <div><button class="btn btn-link">Test list 456 Test list 456</button></div> <div><button class="btn btn-link">Test list 456 Test list 456</button></div> </div>