CCNextcloudConstant.h 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //
  2. // CCConstant.h
  3. // Nextcloud
  4. //
  5. // Created by Marino Faggiana on 06/03/17.
  6. // Copyright © 2017 TWS. All rights reserved.
  7. //
  8. // Author Marino Faggiana <m.faggiana@twsweb.it>
  9. //
  10. // This program is free software: you can redistribute it and/or modify
  11. // it under the terms of the GNU General Public License as published by
  12. // the Free Software Foundation, either version 3 of the License, or
  13. // (at your option) any later version.
  14. //
  15. // This program is distributed in the hope that it will be useful,
  16. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. // GNU General Public License for more details.
  19. //
  20. // You should have received a copy of the GNU General Public License
  21. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  22. //
  23. // Brand
  24. #define k_brand @"Nextcloud"
  25. #define k_mailMe @"ios@nextcloud.com"
  26. #define k_textCopyrightNextcloudiOS @"Nextcloud for iOS %@ © 2017 T.W.S. Inc."
  27. #define k_textCopyrightNextcloudServer @"Nextcloud Server %@"
  28. #define k_loginBaseUrl @"https://cloud.twsweb.it"
  29. #define k_pushNotificationServer @"https://push-notifications.nextcloud.com"
  30. #define k_loginButtonLabelLink @"https://nextcloud.com/providers"
  31. #define k_webLoginAutenticationProtocol @""
  32. // Capabilities Group
  33. #define k_capabilitiesGroups @"group.it.twsweb.Crypto-Cloud"
  34. // Define option Brand
  35. #define k_option_use_login_web NO
  36. #define k_option_use_firebase NO
  37. #define k_option_use_default_automatic_upload NO
  38. #define k_option_disable_intro NO
  39. #define k_option_disable_request_login_url NO
  40. #define k_option_disable_multiaccount NO
  41. #define k_option_disable_cryptocloudsystem NO
  42. //Color
  43. #define COLOR_BRAND [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // BLU NC : #0082c9
  44. #define COLOR_SELECT_BACKGROUND [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:0.1] // BLU NC : #0082c9
  45. #define COLOR_TRANSFER_BACKGROUND [UIColor colorWithRed:178.0/255.0 green:244.0/255.0 blue:258.0/255.0 alpha:0.1]
  46. #define COLOR_GROUPBY_BAR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:0.2] // BLU NC : #0082c9
  47. #define COLOR_GROUPBY_BAR_NO_BLUR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:0.3] // BLU NC : #0082c9
  48. #define COLOR_NAVIGATIONBAR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // BLU NC : #0082c9
  49. #define COLOR_NAVIGATIONBAR_SHARE [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
  50. #define COLOR_NAVIGATIONBAR_TEXT [UIColor whiteColor]
  51. #define COLOR_NAVIGATIONBAR_PROGRESS [UIColor whiteColor]
  52. #define COLOR_TABBAR [UIColor whiteColor]
  53. #define COLOR_TABBAR_TEXT [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // BLU NC : #0082c9
  54. #define COLOR_BACKGROUND_MENU [UIColor whiteColor]
  55. #define COLOR_BACKGROUND_PAGECONTROL [UIColor colorWithRed:247.0/255.0 green:247.0/255.0 blue:247.0/255.0 alpha:1.0]
  56. #define COLOR_PAGECONTROL_INDICATOR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // BLU NC : #0082c9
  57. #define COLOR_CRYPTOCLOUD [UIColor colorWithRed:241.0/255.0 green:90.0/255.0 blue:34.0/255.0 alpha:1.0]
  58. #define COLOR_TEXT_ANTHRACITE [UIColor colorWithRed:65.0/255.0 green:64.0/255.0 blue:66.0/255.0 alpha:1.0] // #414042
  59. #define COLOR_TEXT_NO_CONNECTION [UIColor colorWithRed:204.0/255.0 green:204.0/255.0 blue:204.0/255.0 alpha:1.0]
  60. #define COLOR_SEPARATOR_TABLE [UIColor colorWithRed:235.0/255.0 green:235.0/255.0 blue:235.0/255.0 alpha:1.0] // iOS 7
  61. #define COLOR_BACKGROUND_MESSAGE_INFO [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // BLU NC : #0082c9
  62. #define COLOR_CONTROL_CENTER [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // BLU NC : #0082c9
  63. #define COLOR_REFRESH_CONTROL [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // BLU NC : #0082c9
  64. #define COLOR_WINDOW_TINTCOLOR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // BLU NC : #0082c9
  65. #define COLOR_TABLE_BACKGROUND [UIColor whiteColor]