Changeset fd5b100 for phonelux-frontend/src/components/FiltersComponents
- Timestamp:
- 10/01/22 22:56:40 (2 years ago)
- Branches:
- master
- Children:
- ffd50db
- Parents:
- 895cd87
- Location:
- phonelux-frontend/src/components/FiltersComponents
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-frontend/src/components/FiltersComponents/SpecificationsFilterComponent.css
r895cd87 rfd5b100 6 6 padding: 5px; 7 7 margin-right: auto; 8 margin-left: 10px;9 8 height: fit-content; 10 9 margin-top: 0px; 11 10 padding-top: 5px; 12 width: 100%;11 width: 50%; 13 12 text-align: center; 14 13 display: flex; 15 14 justify-content: center; 15 word-break:break-all; 16 16 } 17 17 … … 36 36 } 37 37 38 .specifications-filter-icon-header{ 39 margin-top: -3px; 40 } 41 38 42 .specifications-filter-popover{ 39 43 text-align: center; 40 44 } 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 11 11 import axios from 'axios'; 12 12 import UserContext from '../../context/UserContext'; 13 import SettingsIcon from '@mui/icons-material/Settings'; 13 14 export class SpecificationsFilterComponent extends Component { 14 15 … … 53 54 return ( 54 55 <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'/>Филтер за спецификации 56 58 <ArrowDropDownIcon style={{marginTop:'-2px'}}/> 57 59 </h4> … … 98 100 </div> 99 101 </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> 103 105 { this.context.userId != '' && <PickSpecificationComponent 104 106 openModal={this.state.openModal}
Note:
See TracChangeset
for help on using the changeset viewer.