Dimitris Togias

add missing styles

...@@ -28,9 +28,9 @@ class CSMButton: UIButton { ...@@ -28,9 +28,9 @@ class CSMButton: UIButton {
28 private extension CSMButton { 28 private extension CSMButton {
29 func configure() { 29 func configure() {
30 setImage(UIImage(named: "directions"), for: .normal) 30 setImage(UIImage(named: "directions"), for: .normal)
31 - titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 31 + titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
32 setTitleColor(.white, for: .normal) 32 setTitleColor(.white, for: .normal)
33 - backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) 33 + backgroundColor = UIColor(rgb: 0x79BF14)
34 layer.cornerRadius = 12.0 34 layer.cornerRadius = 12.0
35 35
36 imageEdgeInsets = UIEdgeInsets(top:0.0, left:0.0, bottom:0.0, right:5.0); 36 imageEdgeInsets = UIEdgeInsets(top:0.0, left:0.0, bottom:0.0, right:5.0);
......
...@@ -44,20 +44,20 @@ class MapsViewController: UIViewController, MKMapViewDelegate { ...@@ -44,20 +44,20 @@ class MapsViewController: UIViewController, MKMapViewDelegate {
44 mapView.delegate = self 44 mapView.delegate = self
45 mapView.centerToLocation(initialLocation) 45 mapView.centerToLocation(initialLocation)
46 46
47 - //titleView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 47 + titleView.font = UIFont(name: "PFSquareSansPro-Bold", size: 19)
48 - //titleView.setTitleColor(.white, for: .normal) 48 + titleView.textColor = UIColor(rgb: 0x757575)
49 49
50 - //nameView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 50 + nameView.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
51 - //nameView.setTitleColor(.white, for: .normal) 51 + nameView.textColor = UIColor(rgb: 0x415564)
52 52
53 - //hoursView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 53 + hoursView.font = UIFont(name: "PFSquareSansPro-Regular", size: 18)
54 - //hoursView.setTitleColor(.white, for: .normal) 54 + hoursView.textColor = UIColor(rgb: 0xAEAEAE)
55 55
56 - //phoneView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 56 + hoursView.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
57 - //phoneView.setTitleColor(.white, for: .normal) 57 + hoursView.textColor = UIColor(rgb: 0x415564)
58 58
59 - //addressView.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 59 + addressView.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
60 - //addressView.setTitleColor(.white, for: .normal) 60 + addressView.textColor = UIColor(rgb: 0x415564)
61 61
62 //directionsButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 62 //directionsButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16)
63 directionsButton.setTitle("Οδηγίες", for: .normal) 63 directionsButton.setTitle("Οδηγίες", for: .normal)
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
39 <constraints> 39 <constraints>
40 <constraint firstAttribute="height" constant="30" id="Gf2-VN-pNV"/> 40 <constraint firstAttribute="height" constant="30" id="Gf2-VN-pNV"/>
41 </constraints> 41 </constraints>
42 - <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/> 42 + <fontDescription key="fontDescription" type="boldSystem" pointSize="19"/>
43 <nil key="textColor"/> 43 <nil key="textColor"/>
44 <nil key="highlightedColor"/> 44 <nil key="highlightedColor"/>
45 </label> 45 </label>
...@@ -69,8 +69,8 @@ ...@@ -69,8 +69,8 @@
69 </constraints> 69 </constraints>
70 </imageView> 70 </imageView>
71 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="Intersport Χαλανδρίου" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MsK-eg-pkk" userLabel="NameLabel"> 71 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="Intersport Χαλανδρίου" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MsK-eg-pkk" userLabel="NameLabel">
72 - <rect key="frame" x="70" y="74" width="314" height="18"/> 72 + <rect key="frame" x="70" y="72.5" width="314" height="21.5"/>
73 - <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="15"/> 73 + <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
74 <nil key="textColor"/> 74 <nil key="textColor"/>
75 <nil key="highlightedColor"/> 75 <nil key="highlightedColor"/>
76 </label> 76 </label>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
90 </imageView> 90 </imageView>
91 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="210-6230543" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="knh-D9-CuM" userLabel="phoneLabel"> 91 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="210-6230543" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="knh-D9-CuM" userLabel="phoneLabel">
92 <rect key="frame" x="60" y="154" width="324" height="40"/> 92 <rect key="frame" x="60" y="154" width="324" height="40"/>
93 - <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="15"/> 93 + <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
94 <nil key="textColor"/> 94 <nil key="textColor"/>
95 <nil key="highlightedColor"/> 95 <nil key="highlightedColor"/>
96 </label> 96 </label>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
110 </imageView> 110 </imageView>
111 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="ΕΘΝΙΚΗΣ ΑΝΤΙΣΤΑΣΕΩΣ 4 41" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="syP-Hv-OGD" userLabel="AddressLabel"> 111 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="ΕΘΝΙΚΗΣ ΑΝΤΙΣΤΑΣΕΩΣ 4 41" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="syP-Hv-OGD" userLabel="AddressLabel">
112 <rect key="frame" x="60" y="235" width="247" height="31"/> 112 <rect key="frame" x="60" y="235" width="247" height="31"/>
113 - <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="15"/> 113 + <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
114 <nil key="textColor"/> 114 <nil key="textColor"/>
115 <nil key="highlightedColor"/> 115 <nil key="highlightedColor"/>
116 </label> 116 </label>
...@@ -123,8 +123,8 @@ ...@@ -123,8 +123,8 @@
123 </connections> 123 </connections>
124 </button> 124 </button>
125 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="Δευτέρα - Τετάρτη" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u9U-A7-lbO" userLabel="HoursLabel"> 125 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" text="Δευτέρα - Τετάρτη" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u9U-A7-lbO" userLabel="HoursLabel">
126 - <rect key="frame" x="70" y="94" width="314" height="18"/> 126 + <rect key="frame" x="70" y="92.5" width="314" height="21.5"/>
127 - <fontDescription key="fontDescription" type="system" pointSize="15"/> 127 + <fontDescription key="fontDescription" type="system" pointSize="18"/>
128 <color key="textColor" systemColor="systemGray2Color"/> 128 <color key="textColor" systemColor="systemGray2Color"/>
129 <nil key="highlightedColor"/> 129 <nil key="highlightedColor"/>
130 </label> 130 </label>
......