File tree Expand file tree Collapse file tree 6 files changed +66
-54
lines changed
Expand file tree Collapse file tree 6 files changed +66
-54
lines changed Original file line number Diff line number Diff line change 11.col-1 {
2- display : inline-block ;
3- width : 60% ;
4- }
2+ display : inline ;
3+ width : 60% ;
4+ }
55
6- .col-1 h3 {
7- margin : 0 0 10px 0 ;
8- padding : 0 ;
9- font-size : 22px ;
10- font-style : italic ;
11- }
6+ .col-1 h3 {
7+ margin : 0 0 10px 0 ;
8+ padding : 0 ;
9+ font-size : 22px ;
10+ font-style : italic ;
11+ }
1212
13- .col-2 {
14- display : inline-block ;
15- width : 40% ;
16- vertical-align : top ;
17- text-align : right ;
18- }
19- .book-element {
20- box-shadow : 3px 3px 10px #fff ;
21- padding : 10px ;
22- margin : 10px 0 ;
23- border-radius : 5px ;
24- background-color : #61729c ;
25- color :white ;
26- cursor : pointer ;
27- }
28- .info {
29- color :#ECEFF4 ;
30- font-family : monospace ;
31- }
32- .author {
33- font-style : italic ;
34- font-size : 22px ;
35- margin-bottom : 5px ;
36- }
13+ .col-2 {
14+ width : 40% ;
15+ vertical-align : top ;
16+ text-align : right ;
17+ }
18+ .book-element {
19+ width : 50% ;
20+ margin-left : 5% ;
21+ display : flex ;
22+ justify-content : center ;
23+ box-shadow : 3px 3px 10px #fff ;
24+ padding-left : 100px ;
25+ border-radius : 5px ;
26+ background-color : #61729c ;
27+ color : white ;
28+ cursor : pointer ;
29+ }
30+ .info {
31+ color : #eceff4 ;
32+ font-family : monospace ;
33+ }
34+ .author {
35+ font-style : italic ;
36+ font-size : 22px ;
37+ margin-bottom : 5px ;
38+ }
Original file line number Diff line number Diff line change 1- < app-profile [profileNewItem] ="NewBookItem "> </ app-profile >
2- < book-search
1+ < div class ="profile-section ">
2+ < app-profile [profileNewItem] ="NewBookItem "> </ app-profile >
3+ </ div >
4+ < div class ="book-section ">
5+ < book-search
36 (searchResultBookItems) ="refreshBookItemResults($event) "
47> </ book-search >
58< section class ="book-list ">
912 (setProfileBookItems) ="setBookProfileItem($event) "
1013 > </ book-item >
1114</ section >
15+
16+ </ div >
Original file line number Diff line number Diff line change 1- .book-list {
2- margin : 20px auto ;
3- width : 40% ;
1+
2+ .profile-section {
3+ width : 20% ;
4+ float : left ;
5+ padding-left : 5% ;
6+ }
7+ .book-section {
8+ width : 60% ;
9+ float : left ;
410 }
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ <h3 *ngIf="profiles.length>0">Saved Profile</h3>
22< article #profile class ="profile " *ngFor ="let profile of profiles " (click) ="onLoadProfile(profile) ">
33 < h4 > {{profile.bookItem.title}}</ h4 >
44 < img src ="{{profile.bookItem.imageLink}} "/>
5- < span (click) ="onDeleteProfile($event, profile) " class ="delete "> X </ span >
5+ < span (click) ="onDeleteProfile($event, profile) " class ="delete "> ❌ </ span >
66</ article >
Original file line number Diff line number Diff line change 1- :host {
2- float : left ;
3- margin-top : 10px ;
4- width : 25% ;
5- padding : 10 px ;
6- }
1+ // :host {
2+ // float: left;
3+ // // margin-top: 10px;
4+ // // width: 25%;
5+ // // padding-left: 25px ;
6+ // }
77
88 h3 {
99 margin : 0 0 10px 0 ;
2222 color : white ;
2323 }
2424
25- button :hover {
26- background-color : #2980b9 ;
27- }
25+
2826 img {
2927 width : 50px ;
3028 height : 50px ;
3937
4038 h4 {
4139 margin : 0 ;
42- padding : 0 ;
40+ padding : 5px 0 5px ;
41+ font-style : italic ;
4342 }
4443
4544 p {
5251 top : 2px ;
5352 right : 5px ;
5453 font-size : 14px ;
55- color : #7f8c8d ;
54+ font-style : bold ;
5655 }
5756
5857 .delete :hover {
6160 }
6261
6362 .profile :hover {
64- background-color :#90a7e0 ;
65- color :rgb (110 , 110 , 110 );
66- }
63+ background-color :#1E6566 ;
64+ color :rgb (245 , 239 , 239 );
65+ }
Original file line number Diff line number Diff line change 1212
1313 @media screen and (max-width : 768px ) {
1414 .book-list {
15- width : 80 % ;
15+ width : 100 % ;
1616 }
1717}
You can’t perform that action at this time.
0 commit comments