Showing
37 changed files
with
34 additions
and
34 deletions
No preview for this file type
... | @@ -30,7 +30,7 @@ private extension CSMButton { | ... | @@ -30,7 +30,7 @@ private extension CSMButton { |
30 | titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18) | 30 | titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18) |
31 | setTitleColor(.white, for: .normal) | 31 | setTitleColor(.white, for: .normal) |
32 | // backgroundColor = UIColor(rgb: 0x79BF14) | 32 | // backgroundColor = UIColor(rgb: 0x79BF14) |
33 | - backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 33 | + backgroundColor = UIColor(rgb: 0x0E8103) |
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); | ... | ... |
... | @@ -79,7 +79,7 @@ import SwiftEventBus | ... | @@ -79,7 +79,7 @@ import SwiftEventBus |
79 | redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) | 79 | redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) |
80 | redeemButton.setTitle("Ενεργοποίηση", for: .normal) | 80 | redeemButton.setTitle("Ενεργοποίηση", for: .normal) |
81 | redeemButton.setTitleColor(.white, for: .normal) | 81 | redeemButton.setTitleColor(.white, for: .normal) |
82 | - redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 82 | + redeemButton.backgroundColor = UIColor(rgb: 0x0E8103) |
83 | redeemButton.layer.cornerRadius = 16.0 | 83 | redeemButton.layer.cornerRadius = 16.0 |
84 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 50) | 84 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 50) |
85 | redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | 85 | redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | ... | ... |
... | @@ -411,7 +411,7 @@ import AVFoundation | ... | @@ -411,7 +411,7 @@ import AVFoundation |
411 | redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) | 411 | redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) |
412 | redeemButton.setTitle("Βρες το στα supermarket", for: .normal) | 412 | redeemButton.setTitle("Βρες το στα supermarket", for: .normal) |
413 | redeemButton.setTitleColor(.white, for: .normal) | 413 | redeemButton.setTitleColor(.white, for: .normal) |
414 | - redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 414 | + redeemButton.backgroundColor = UIColor(rgb: 0x0E8103) |
415 | redeemButton.layer.cornerRadius = 16.0 | 415 | redeemButton.layer.cornerRadius = 16.0 |
416 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) | 416 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) |
417 | // redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 55) | 417 | // redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 55) |
... | @@ -427,20 +427,20 @@ import AVFoundation | ... | @@ -427,20 +427,20 @@ import AVFoundation |
427 | 427 | ||
428 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) | 428 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) |
429 | mapButton.setTitle("Δώρισέ το", for: .normal) | 429 | mapButton.setTitle("Δώρισέ το", for: .normal) |
430 | - mapButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal) | 430 | + mapButton.setTitleColor(UIColor(rgb: 0x0E8103), for: .normal) |
431 | mapButton.layer.cornerRadius = 15.0 | 431 | mapButton.layer.cornerRadius = 15.0 |
432 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) | 432 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) |
433 | // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 55) | 433 | // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 55) |
434 | // mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | 434 | // mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) |
435 | mapButton.backgroundColor = .clear | 435 | mapButton.backgroundColor = .clear |
436 | mapButton.layer.borderWidth = 2 | 436 | mapButton.layer.borderWidth = 2 |
437 | - mapButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor | 437 | + mapButton.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
438 | 438 | ||
439 | } else { | 439 | } else { |
440 | redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) | 440 | redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) |
441 | redeemButton.setTitle("Δώρισέ το", for: .normal) | 441 | redeemButton.setTitle("Δώρισέ το", for: .normal) |
442 | redeemButton.setTitleColor(.white, for: .normal) | 442 | redeemButton.setTitleColor(.white, for: .normal) |
443 | - redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 443 | + redeemButton.backgroundColor = UIColor(rgb: 0x0E8103) |
444 | redeemButton.layer.cornerRadius = 16.0 | 444 | redeemButton.layer.cornerRadius = 16.0 |
445 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) | 445 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) |
446 | // redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 55) | 446 | // redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 55) |
... | @@ -456,14 +456,14 @@ import AVFoundation | ... | @@ -456,14 +456,14 @@ import AVFoundation |
456 | 456 | ||
457 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) | 457 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) |
458 | mapButton.setTitle("Δες τα καταστήματα", for: .normal) | 458 | mapButton.setTitle("Δες τα καταστήματα", for: .normal) |
459 | - mapButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal) | 459 | + mapButton.setTitleColor(UIColor(rgb: 0x0E8103), for: .normal) |
460 | mapButton.layer.cornerRadius = 15.0 | 460 | mapButton.layer.cornerRadius = 15.0 |
461 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) | 461 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) |
462 | // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 55) | 462 | // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 55) |
463 | // mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | 463 | // mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) |
464 | mapButton.backgroundColor = .clear | 464 | mapButton.backgroundColor = .clear |
465 | mapButton.layer.borderWidth = 2 | 465 | mapButton.layer.borderWidth = 2 |
466 | - mapButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor | 466 | + mapButton.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
467 | } | 467 | } |
468 | 468 | ||
469 | 469 | ... | ... |
... | @@ -104,7 +104,7 @@ import SwiftEventBus | ... | @@ -104,7 +104,7 @@ import SwiftEventBus |
104 | 104 | ||
105 | redeemButton.setTitle("Απόκτησέ το δωρεάν", for: .normal) | 105 | redeemButton.setTitle("Απόκτησέ το δωρεάν", for: .normal) |
106 | redeemButton.setTitleColor(.white, for: .normal) | 106 | redeemButton.setTitleColor(.white, for: .normal) |
107 | - redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 107 | + redeemButton.backgroundColor = UIColor(rgb: 0x0E8103) |
108 | redeemButton.layer.cornerRadius = 16.0 | 108 | redeemButton.layer.cornerRadius = 16.0 |
109 | // redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 50) | 109 | // redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 50) |
110 | redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | 110 | redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | ... | ... |
... | @@ -106,7 +106,7 @@ import MapKit | ... | @@ -106,7 +106,7 @@ import MapKit |
106 | directionsButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18) | 106 | directionsButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18) |
107 | directionsButton.setTitleColor(.white, for: .normal) | 107 | directionsButton.setTitleColor(.white, for: .normal) |
108 | directionsButton.tintColor = .white | 108 | directionsButton.tintColor = .white |
109 | - directionsButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 109 | + directionsButton.backgroundColor = UIColor(rgb: 0x0E8103) |
110 | directionsButton.layer.cornerRadius = 16.0 | 110 | directionsButton.layer.cornerRadius = 16.0 |
111 | // directionsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); | 111 | // directionsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); |
112 | // directionsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 112 | // directionsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | ... | ... |
... | @@ -95,7 +95,7 @@ import UIKit | ... | @@ -95,7 +95,7 @@ import UIKit |
95 | okButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) | 95 | okButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) |
96 | okButton.setTitle("Επιστροφή", for: .normal) | 96 | okButton.setTitle("Επιστροφή", for: .normal) |
97 | okButton.setTitleColor(.white, for: .normal) | 97 | okButton.setTitleColor(.white, for: .normal) |
98 | - okButton.backgroundColor = UIColor(rgb: 0x0EA600) | 98 | + okButton.backgroundColor = UIColor(rgb: 0x0E8103) |
99 | okButton.layer.cornerRadius = 10.0 | 99 | okButton.layer.cornerRadius = 10.0 |
100 | 100 | ||
101 | setupAccessibilty() | 101 | setupAccessibilty() | ... | ... |
... | @@ -155,14 +155,14 @@ import SwiftEventBus | ... | @@ -155,14 +155,14 @@ import SwiftEventBus |
155 | 155 | ||
156 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 16) | 156 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 16) |
157 | mapButton.setTitle("Δες στο χάρτη", for: .normal) | 157 | mapButton.setTitle("Δες στο χάρτη", for: .normal) |
158 | - mapButton.setTitleColor(UIColor(rgb: 0x006D26), for: .normal) | 158 | + mapButton.setTitleColor(UIColor(rgb: 0x0E8103), for: .normal) |
159 | mapButton.layer.cornerRadius = 10.0 | 159 | mapButton.layer.cornerRadius = 10.0 |
160 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 148, height: 48) | 160 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 148, height: 48) |
161 | // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 55) | 161 | // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 55) |
162 | // mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | 162 | // mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) |
163 | mapButton.backgroundColor = .clear | 163 | mapButton.backgroundColor = .clear |
164 | mapButton.layer.borderWidth = 2 | 164 | mapButton.layer.borderWidth = 2 |
165 | - mapButton.layer.borderColor = UIColor(rgb: 0x006D26).cgColor | 165 | + mapButton.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
166 | 166 | ||
167 | mapButton.isAccessibilityElement = true | 167 | mapButton.isAccessibilityElement = true |
168 | mapButton.accessibilityLabel = mapButton.title(for: .normal) | 168 | mapButton.accessibilityLabel = mapButton.title(for: .normal) | ... | ... |
... | @@ -53,7 +53,7 @@ class MerchantTableViewCell: UITableViewCell { | ... | @@ -53,7 +53,7 @@ class MerchantTableViewCell: UITableViewCell { |
53 | buttonTitleLable.font = UIFont(name: "PeridotPE-SBold", size: 13) | 53 | buttonTitleLable.font = UIFont(name: "PeridotPE-SBold", size: 13) |
54 | buttonTitleLable.textColor = UIColor(rgb: 0xFFFFFF) | 54 | buttonTitleLable.textColor = UIColor(rgb: 0xFFFFFF) |
55 | 55 | ||
56 | - buttonView.backgroundColor = UIColor(rgb: 0x0EA600) | 56 | + buttonView.backgroundColor = UIColor(rgb: 0x0E8103) |
57 | buttonView.layer.cornerRadius = 12.0 | 57 | buttonView.layer.cornerRadius = 12.0 |
58 | 58 | ||
59 | // Add action for button tap | 59 | // Add action for button tap | ... | ... |
... | @@ -43,18 +43,18 @@ class PopupMerchantCategoriesViewController: UIViewController { | ... | @@ -43,18 +43,18 @@ class PopupMerchantCategoriesViewController: UIViewController { |
43 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) | 43 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) |
44 | mapButton.setTitle("Δες τα καταστήματα στο χάρτη", for: .normal) | 44 | mapButton.setTitle("Δες τα καταστήματα στο χάρτη", for: .normal) |
45 | mapButton.setTitleColor(.white, for: .normal) | 45 | mapButton.setTitleColor(.white, for: .normal) |
46 | - mapButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 46 | + mapButton.backgroundColor = UIColor(rgb: 0x0E8103) |
47 | mapButton.layer.cornerRadius = 16.0 | 47 | mapButton.layer.cornerRadius = 16.0 |
48 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 312, height: 55) | 48 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 312, height: 55) |
49 | 49 | ||
50 | eshopsButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) | 50 | eshopsButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) |
51 | eshopsButton.setTitle("Δες τα eshop", for: .normal) | 51 | eshopsButton.setTitle("Δες τα eshop", for: .normal) |
52 | - eshopsButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal) | 52 | + eshopsButton.setTitleColor(UIColor(rgb: 0x0E8103), for: .normal) |
53 | eshopsButton.layer.cornerRadius = 15.0 | 53 | eshopsButton.layer.cornerRadius = 15.0 |
54 | eshopsButton.frame = CGRect(x: 0.0, y: 0.0, width: 312, height: 55) | 54 | eshopsButton.frame = CGRect(x: 0.0, y: 0.0, width: 312, height: 55) |
55 | eshopsButton.backgroundColor = .clear | 55 | eshopsButton.backgroundColor = .clear |
56 | eshopsButton.layer.borderWidth = 2 | 56 | eshopsButton.layer.borderWidth = 2 |
57 | - eshopsButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor | 57 | + eshopsButton.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
58 | } | 58 | } |
59 | 59 | ||
60 | @objc private func mapButtonTapped() { | 60 | @objc private func mapButtonTapped() { | ... | ... |
... | @@ -107,7 +107,7 @@ import SwiftEventBus | ... | @@ -107,7 +107,7 @@ import SwiftEventBus |
107 | redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) | 107 | redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) |
108 | redeemButton.setTitle("Αποστολή με SMS", for: .normal) | 108 | redeemButton.setTitle("Αποστολή με SMS", for: .normal) |
109 | redeemButton.setTitleColor(.white, for: .normal) | 109 | redeemButton.setTitleColor(.white, for: .normal) |
110 | - redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 110 | + redeemButton.backgroundColor = UIColor(rgb: 0x0E8103) |
111 | redeemButton.layer.cornerRadius = 16.0 | 111 | redeemButton.layer.cornerRadius = 16.0 |
112 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 50) | 112 | redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 50) |
113 | redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | 113 | redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | ... | ... |
... | @@ -96,7 +96,7 @@ import SwiftEventBus | ... | @@ -96,7 +96,7 @@ import SwiftEventBus |
96 | activateButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) | 96 | activateButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) |
97 | activateButton.setTitle("Ενεργοποίηση", for: .normal) | 97 | activateButton.setTitle("Ενεργοποίηση", for: .normal) |
98 | activateButton.setTitleColor(.white, for: .normal) | 98 | activateButton.setTitleColor(.white, for: .normal) |
99 | - activateButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 99 | + activateButton.backgroundColor = UIColor(rgb: 0x0E8103) |
100 | activateButton.layer.cornerRadius = 16.0 | 100 | activateButton.layer.cornerRadius = 16.0 |
101 | activateButton.frame = CGRect(x: 0.0, y: 0.0, width: activateButton.intrinsicContentSize.width, height: 50) | 101 | activateButton.frame = CGRect(x: 0.0, y: 0.0, width: activateButton.intrinsicContentSize.width, height: 50) |
102 | activateButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | 102 | activateButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | ... | ... |
... | @@ -28,7 +28,7 @@ import AVFoundation | ... | @@ -28,7 +28,7 @@ import AVFoundation |
28 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) | 28 | mapButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) |
29 | mapButton.setTitle("Δες τα supermarket", for: .normal) | 29 | mapButton.setTitle("Δες τα supermarket", for: .normal) |
30 | mapButton.setTitleColor(UIColor(red: 1.00, green: 1.00, blue: 1.00, alpha: 1.00), for: .normal) | 30 | mapButton.setTitleColor(UIColor(red: 1.00, green: 1.00, blue: 1.00, alpha: 1.00), for: .normal) |
31 | - mapButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 31 | + mapButton.backgroundColor = UIColor(rgb: 0x0E8103) |
32 | mapButton.layer.cornerRadius = 15.0 | 32 | mapButton.layer.cornerRadius = 15.0 |
33 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) | 33 | mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) |
34 | // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 50) | 34 | // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 50) |
... | @@ -36,14 +36,14 @@ import AVFoundation | ... | @@ -36,14 +36,14 @@ import AVFoundation |
36 | 36 | ||
37 | cancelButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) | 37 | cancelButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) |
38 | cancelButton.setTitle("Ακυρωση κουπονιού", for: .normal) // Ακύρωση ενιαίου κουπονιού | 38 | cancelButton.setTitle("Ακυρωση κουπονιού", for: .normal) // Ακύρωση ενιαίου κουπονιού |
39 | - cancelButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal) | 39 | + cancelButton.setTitleColor(UIColor(rgb: 0x0E8103), for: .normal) |
40 | cancelButton.layer.cornerRadius = 15.0 | 40 | cancelButton.layer.cornerRadius = 15.0 |
41 | cancelButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) | 41 | cancelButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55) |
42 | // cancelButton.frame = CGRect(x: 0.0, y: 0.0, width: cancelButton.intrinsicContentSize.width, height: 50) | 42 | // cancelButton.frame = CGRect(x: 0.0, y: 0.0, width: cancelButton.intrinsicContentSize.width, height: 50) |
43 | // cancelButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) | 43 | // cancelButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) |
44 | cancelButton.backgroundColor = .clear | 44 | cancelButton.backgroundColor = .clear |
45 | cancelButton.layer.borderWidth = 2 | 45 | cancelButton.layer.borderWidth = 2 |
46 | - cancelButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor | 46 | + cancelButton.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
47 | 47 | ||
48 | // mapButton.isHidden = true | 48 | // mapButton.isHidden = true |
49 | // mapButtonHeight.constant = 0 | 49 | // mapButtonHeight.constant = 0 | ... | ... |
... | @@ -98,7 +98,7 @@ import SwiftEventBus | ... | @@ -98,7 +98,7 @@ import SwiftEventBus |
98 | submitButton.setTitle("Συνδύασε τις προσφορές σε ένα κουπόνι", for: .normal) | 98 | submitButton.setTitle("Συνδύασε τις προσφορές σε ένα κουπόνι", for: .normal) |
99 | submitButton.setTitleColor(.white, for: .normal) | 99 | submitButton.setTitleColor(.white, for: .normal) |
100 | submitButton.layer.cornerRadius = 16.0 | 100 | submitButton.layer.cornerRadius = 16.0 |
101 | -// submitButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 101 | +// submitButton.backgroundColor = UIColor(rgb: 0x0E8103) |
102 | submitButton.backgroundColor = UIColor(rgb: 0x9D9D9C) | 102 | submitButton.backgroundColor = UIColor(rgb: 0x9D9D9C) |
103 | submitButton.isEnabled = false | 103 | submitButton.isEnabled = false |
104 | // submitButton.frame = CGRect(x: 0.0, y: 0.0, width: submitButton.intrinsicContentSize.width, height: 50) | 104 | // submitButton.frame = CGRect(x: 0.0, y: 0.0, width: submitButton.intrinsicContentSize.width, height: 50) |
... | @@ -223,7 +223,7 @@ import SwiftEventBus | ... | @@ -223,7 +223,7 @@ import SwiftEventBus |
223 | 223 | ||
224 | func handleSubmitButtonUI() { | 224 | func handleSubmitButtonUI() { |
225 | if (self.smCouponsSelected.count > 0) { | 225 | if (self.smCouponsSelected.count > 0) { |
226 | - submitButton.backgroundColor = UIColor(rgb: 0x0EA600) | 226 | + submitButton.backgroundColor = UIColor(rgb: 0x0E8103) |
227 | submitButton.isEnabled = true | 227 | submitButton.isEnabled = true |
228 | 228 | ||
229 | } else { | 229 | } else { | ... | ... |
... | @@ -27,13 +27,13 @@ import UIKit | ... | @@ -27,13 +27,13 @@ import UIKit |
27 | 27 | ||
28 | bannerView.layer.cornerRadius = 12.0 | 28 | bannerView.layer.cornerRadius = 12.0 |
29 | bannerView.layer.borderWidth = 1 | 29 | bannerView.layer.borderWidth = 1 |
30 | - bannerView.layer.borderColor = UIColor(rgb: 0x0E8004).cgColor | 30 | + bannerView.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
31 | // bannerView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor | 31 | // bannerView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor |
32 | // bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor | 32 | // bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor |
33 | 33 | ||
34 | bannerCenteredView.layer.cornerRadius = 12.0 | 34 | bannerCenteredView.layer.cornerRadius = 12.0 |
35 | bannerCenteredView.layer.borderWidth = 1 | 35 | bannerCenteredView.layer.borderWidth = 1 |
36 | - bannerCenteredView.layer.borderColor = UIColor(rgb: 0x0E8004).cgColor | 36 | + bannerCenteredView.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
37 | // bannerCenteredView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor | 37 | // bannerCenteredView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor |
38 | 38 | ||
39 | // Add shadow | 39 | // Add shadow |
... | @@ -47,9 +47,9 @@ import UIKit | ... | @@ -47,9 +47,9 @@ import UIKit |
47 | // bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 47 | // bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
48 | 48 | ||
49 | bannerLabel.font = UIFont(name: "PeridotPE-Bold", size: 12) | 49 | bannerLabel.font = UIFont(name: "PeridotPE-Bold", size: 12) |
50 | - bannerLabel.textColor = UIColor(rgb: 0x0E8004) | 50 | + bannerLabel.textColor = UIColor(rgb: 0x0E8103) |
51 | bannerCenteredLabel.font = UIFont(name: "PeridotPE-Bold", size: 12) | 51 | bannerCenteredLabel.font = UIFont(name: "PeridotPE-Bold", size: 12) |
52 | - bannerCenteredLabel.textColor = UIColor(rgb: 0x0E8004) | 52 | + bannerCenteredLabel.textColor = UIColor(rgb: 0x0E8103) |
53 | } | 53 | } |
54 | 54 | ||
55 | public override func setSelected(_ selected: Bool, animated: Bool) { | 55 | public override func setSelected(_ selected: Bool, animated: Bool) { | ... | ... |
... | @@ -230,26 +230,26 @@ import SwiftEventBus | ... | @@ -230,26 +230,26 @@ import SwiftEventBus |
230 | } else { | 230 | } else { |
231 | questionnaireButton.setTitle("+Προτιμήσεις", for: .normal) | 231 | questionnaireButton.setTitle("+Προτιμήσεις", for: .normal) |
232 | // questionnaireButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) | 232 | // questionnaireButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) |
233 | -// questionnaireButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal) | 233 | +// questionnaireButton.setTitleColor(UIColor(rgb: 0x0E8103), for: .normal) |
234 | // questionnaireButton.backgroundColor = .clear | 234 | // questionnaireButton.backgroundColor = .clear |
235 | // questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: 26) | 235 | // questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: 26) |
236 | // questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 5, left: 10, bottom: 5, right: 10) | 236 | // questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 5, left: 10, bottom: 5, right: 10) |
237 | } | 237 | } |
238 | 238 | ||
239 | questionnaireButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) | 239 | questionnaireButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) |
240 | - questionnaireButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal) | 240 | + questionnaireButton.setTitleColor(UIColor(rgb: 0x0E8103), for: .normal) |
241 | questionnaireButton.backgroundColor = .clear | 241 | questionnaireButton.backgroundColor = .clear |
242 | questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: 42) | 242 | questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: 42) |
243 | questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 12, left: 20, bottom: 12, right: 20) | 243 | questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 12, left: 20, bottom: 12, right: 20) |
244 | 244 | ||
245 | questionnaireButton.layer.cornerRadius = 16.0 | 245 | questionnaireButton.layer.cornerRadius = 16.0 |
246 | questionnaireButton.layer.borderWidth = 1 | 246 | questionnaireButton.layer.borderWidth = 1 |
247 | - questionnaireButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor | 247 | + questionnaireButton.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
248 | 248 | ||
249 | historyButtonView.backgroundColor = .clear | 249 | historyButtonView.backgroundColor = .clear |
250 | historyButtonView.layer.cornerRadius = 16.0 | 250 | historyButtonView.layer.cornerRadius = 16.0 |
251 | historyButtonView.layer.borderWidth = 1 | 251 | historyButtonView.layer.borderWidth = 1 |
252 | - historyButtonView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor | 252 | + historyButtonView.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
253 | 253 | ||
254 | dfyEarnBannerInnerView.layer.cornerRadius = 16.5 | 254 | dfyEarnBannerInnerView.layer.cornerRadius = 16.5 |
255 | // dfyEarnBannerInnerView.layer.borderWidth = 1 | 255 | // dfyEarnBannerInnerView.layer.borderWidth = 1 |
... | @@ -558,14 +558,14 @@ import SwiftEventBus | ... | @@ -558,14 +558,14 @@ import SwiftEventBus |
558 | // questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 5, left: 10, bottom: 5, right: 10) | 558 | // questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 5, left: 10, bottom: 5, right: 10) |
559 | } | 559 | } |
560 | questionnaireButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) | 560 | questionnaireButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) |
561 | - questionnaireButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal) | 561 | + questionnaireButton.setTitleColor(UIColor(rgb: 0x0E8103), for: .normal) |
562 | questionnaireButton.backgroundColor = .clear | 562 | questionnaireButton.backgroundColor = .clear |
563 | questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: 42) | 563 | questionnaireButton.frame = CGRect(x: 0.0, y: 0.0, width: questionnaireButton.intrinsicContentSize.width, height: 42) |
564 | questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 12, left: 20, bottom: 12, right: 20) | 564 | questionnaireButton.contentEdgeInsets = UIEdgeInsets(top: 12, left: 20, bottom: 12, right: 20) |
565 | 565 | ||
566 | questionnaireButton.layer.cornerRadius = 16.0 | 566 | questionnaireButton.layer.cornerRadius = 16.0 |
567 | questionnaireButton.layer.borderWidth = 1 | 567 | questionnaireButton.layer.borderWidth = 1 |
568 | - questionnaireButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor | 568 | + questionnaireButton.layer.borderColor = UIColor(rgb: 0x0E8103).cgColor |
569 | } | 569 | } |
570 | 570 | ||
571 | self.coupons = swiftApi().getCouponList() | 571 | self.coupons = swiftApi().getCouponList() | ... | ... |
-
Please register or login to post a comment