Ignore:
Timestamp:
10/01/22 22:56:40 (21 months ago)
Author:
Marko <Marko@…>
Branches:
master
Children:
ffd50db
Parents:
895cd87
Message:

Edited filter components

Location:
phonelux-frontend/src/components/FiltersComponents
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • phonelux-frontend/src/components/FiltersComponents/SpecificationsFilterComponent.css

    r895cd87 rfd5b100  
    66    padding: 5px;
    77    margin-right: auto;
    8     margin-left: 10px;
    98    height: fit-content;
    109    margin-top: 0px;
    1110    padding-top: 5px;
    12     width: 100%;
     11    width: 50%;
    1312    text-align: center;
    1413    display: flex;
    1514    justify-content: center;
     15    word-break:break-all;
    1616}
    1717
     
    3636}
    3737
     38.specifications-filter-icon-header{
     39   margin-top: -3px;
     40}
     41
    3842.specifications-filter-popover{
    3943    text-align: center;
    4044}
     45
     46
     47.pick-specifications-header{
     48    background-color: #B6E2C8;
     49    border: 1px solid black;
     50    width: fit-content;
     51    border-radius: 20px;
     52    padding: 5px;
     53    margin-right: auto;
     54    margin-left: 10px;
     55    height: fit-content;
     56    margin-top: 0px;
     57    padding-top: 5px;
     58    width: 50%;
     59    text-align: center;
     60    display: flex;
     61    justify-content: center;
     62    word-break:break-all;
     63}
     64
     65.pick-specifications-header:hover{
     66    cursor: pointer;
     67    background-color: rgb(166, 201, 171);
     68    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
     69    transition: box-shadow 0.5s, background-color 0.5s ;
     70}
     71
     72
     73.specifications-filter-main{
     74    width: 45%;
     75}
  • phonelux-frontend/src/components/FiltersComponents/SpecificationsFilterComponent.js

    r895cd87 rfd5b100  
    1111import axios from 'axios';
    1212import UserContext from '../../context/UserContext';
     13import SettingsIcon from '@mui/icons-material/Settings';
    1314export class SpecificationsFilterComponent extends Component {
    1415
     
    5354    return (
    5455      <div className='specifications-filter-main'>
    55         <h4 aria-describedby={id} className='specifications-filter-header' onClick={this.handleClick}>Спецификации
     56        <h4 aria-describedby={id} className='specifications-filter-header' onClick={this.handleClick}>
     57          <FilterAltIcon className='specifications-filter-icon-header'/>Филтер за спецификации
    5658        <ArrowDropDownIcon style={{marginTop:'-2px'}}/>
    5759        </h4>
     
    98100        </div>
    99101      </Popover>
    100       <Tippy className='tippy-pick-specifications-icon' placement='bottom' content='Изберете спецификации за приказ'>
    101         <FilterAltIcon onClick={this.handleModalOpen} style={{fontSize: '35px'}} className='pick-specifications-icon'></FilterAltIcon>
    102         </Tippy>
     102        <h4 aria-describedby={id} className='pick-specifications-header' onClick={this.handleModalOpen}>
     103          <SettingsIcon className='specifications-filter-icon-header'/>Спецификации за приказ
     104        </h4>
    103105        { this.context.userId != '' && <PickSpecificationComponent
    104106        openModal={this.state.openModal}
Note: See TracChangeset for help on using the changeset viewer.