Styling – CSS guide

.bg-color{
    background-color: #e2ebef;
 }

.search-filter-input is a parent class and button group named as .search-filter-btn

.search-filter-input a.search-filter-btn{ 
       width: 30px; 
       text-align: center; 
       padding: 3px!important; 
       height: 30px!important; 
       background-color: #dc3545; 
       border: 0!important; 
}
1. Tabs
.total-items { 
   color: #fff; 
   font-size: 15px; 
   background-color: #296193!important; 
   border: 1px solid transparent; 
   border-top-left-radius: 0.25rem; 
   border-top-right-radius: 0.25rem; 
}
2. Table icon
.table-icon{
   width: 20px;
   height: 20px;
}
3. Table header color
.table th {
     color: #0072bc;
}
4. Table body font style

The table body font is taking the body font size.


5. Table header column fixed width
.table .version-width {
     width: 100px;
}
6. Table body with link text


.table  a.name {
    color: #0072bc;
} 
1. Default Pagination Button
.page-link{ 
  position: relative; 
  display: block; 
  padding: 0.5rem 0.75rem; 
  margin-left: -1px; 
  line-height: 1.25; 
  color: #007bff; 
  background-color: #fff; 
  border: 1px solid #dee2e6; 
}
2. Deafult button font color

a.page-link {
     color: #0072bc;
}

3. Disable button
.page-item.disabled .page-link{ 
   color: #6c757d; 
   pointer-events: none; 
   background-color: #fff; 
   border-color: #dee2e6; 
} 
4. Selected button
.page-item.active .page-link{ 
   border-color: #0072bc; 
   color: #fff; 
   background-color: #0072bc; 
} 


		

1. Filled button
Button component is using 2 important classes – .btn .btn-primary
[.btn-primary – Used for styling the font and background color]


2. Outline button
Outline button component is using 2 important classes – .btn .btn-outline-dark
[.btn-outline-darkUsed for styling the font and background color]

6. Chips

.multiselect-dropdown .dropdown-btn .selected-item{
    border: transparent !important;
    margin-right: 5px;
    background: #e4eef7!important;
    color: #06416d!important;
    line-height: 30px!important;
    border-radius: 15px!important;
    padding: 0 1px 0 10px!important;
    float: left;
    margin-bottom: 11px;
}

7. Multiselect dropdown list

Parent class – .multiselect-dropdown

List hover styling class


.dropdown-list li:hover{
  ……
}

Multiselect checkbox styling –

.multiselect-item-checkbox input[type=checkbox:checked + div:before { … }

[Note: Default background, color, size comes here]

 

.multiselect-item-checkbox input[type=checkbox]:checked + div:before

[Note: When the checkbox is checked then background has been override]

 

.multiselect-item-checkbox input[type=checkbox]:checked + div:after{..}

[Note: Checkbox tick mark size and color comes here]

8. Search Dropdown

Button Class

.btn .btn-primary
[.btn-primary – Used for styling font and background color]


1. Clear the text – Close icon style

.reseticon{
  position: absolute;
  right: 50px;
  width: 25px;
  height: 30px;
  padding: 7px;
 z-index: 7;
  top: 4px;
}

2. Items list section
Parent class - .full-dropdown 
.form-inline.dropdownBody{ 
   
}
Hover items list class –
.drowdown-item:focus, .dropdown-item:hover{
   color: #16181b;
   background-colour: #e9ecef; 
 
}
Styling of items list class -
 
.source-dropdown-item{

}

9. Popover

Popver list class – Can handle the font, color, background-color, etc. 

.popover-body a { 
   …. 
}

Popver hover list class – 

.popover-body a:hover{ 
   …. 
}

10. Upload Files Popup

.uploadfilecontainer { 
     background-repeat: no-repeat; 
     background-size: 100px; 
     background-position: 50%;    
     height: 230px;     
     width: 100%;     
     margin: 0;     
     border: 2px dashed #296193;     
    border-radius: 5px;     
    position: relative;    
    background-color: #f5fcff; 
} 

1. Button color

.btn-primary {
    color: #fff!important; 
    background-color: #2a5f8f !important; 
    border-color: #2a5f8f !important;
}

2. Source section width – Only clicking the button function call this class

@media (min-width: 768px){ .collapsepanel-none > div:first-child {
     flex: 0 0 305px; max-width: 305px;
}

3. Table result section

@media (min-width: 768px) .collapsepanel-none > div:last-child {
   flex: 0 0 100%;
   max-width: calc(100% - 305px);
   flex-basis: auto; 
}

1. Button color

.btn-primary {
    color: #fff!important; 
    background-color: #2a5f8f !important; 
    border-color: #2a5f8f !important;
}

2. Source section width – Only clicking the button function call this class

@media (min-width: 768px){ .collapsepanel-none > div:first-child {
     flex: 0 0 305px; max-width: 305px;
}

3. Table result section

@media (min-width: 768px) .collapsepanel-none > div:last-child {
   flex: 0 0 100%;
   max-width: calc(100% - 305px);
   flex-basis: auto; 
}

1. Favorites icon size and styling

.table .table-icon-sm{
    width: 15px;
    height: 15px;
}