CCNextcloudConstant.h 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. #define _brand_ @"Nextcloud"
  24. #define _mail_me_ @"ios@nextcloud.com"
  25. #define _text_copyright_ @"Nextcloud %@ © 2017 T.W.S. Inc."
  26. #define _login_base_url_ @"https://cloud.twsweb.it"
  27. #define _push_notification_server_ @"https://push-notifications.nextcloud.com"
  28. /* Define option compiler */
  29. /*
  30. #define OPTION_MULTIUSER_DISABLE
  31. #define OPTION_CRYPTO_CLOUD_SYSTEM_DISABLE
  32. #define OPTION_OFFLINE_DISABLE
  33. #define OPTION_NOTIFICATION_PUSH_ENABLE
  34. #define OPTION_AUTOMATIC_UPLOAD_ENABLE
  35. #define MENU_BRAND_ENABLE
  36. #define NO_REQUEST_LOGIN_URL
  37. */
  38. #define OPTION_OFFLINE_DISABLE
  39. // -----------------------------------------------------------------------------------------------------------
  40. // COLOR
  41. // -----------------------------------------------------------------------------------------------------------
  42. // NEXTCLOUD 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_TEXT [UIColor whiteColor]
  50. #define COLOR_NAVIGATIONBAR_PROGRESS [UIColor colorWithRed:241.0/255.0 green:90.0/255.0 blue:34.0/255.0 alpha:1.0]
  51. #define COLOR_TABBAR [UIColor colorWithRed:247.0/255.0 green:247.0/255.0 blue:247.0/255.0 alpha:1]
  52. #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
  53. #define COLOR_BACKGROUND_MENU [UIColor whiteColor]
  54. #define COLOR_BACKGROUND_PAGECONTROL [UIColor colorWithRed:247.0/255.0 green:247.0/255.0 blue:247.0/255.0 alpha:1.0]
  55. #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
  56. #define COLOR_CRYPTOCLOUD [UIColor colorWithRed:241.0/255.0 green:90.0/255.0 blue:34.0/255.0 alpha:1.0]
  57. #define COLOR_TEXT_ANTHRACITE [UIColor colorWithRed:65.0/255.0 green:64.0/255.0 blue:66.0/255.0 alpha:1.0] // #414042
  58. #define COLOR_TEXT_NO_CONNECTION [UIColor colorWithRed:204.0/255.0 green:204.0/255.0 blue:204.0/255.0 alpha:1.0]
  59. #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
  60. #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
  61. #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
  62. #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
  63. #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
  64. #define COLOR_PROGRESS_BAR_QUOTA [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:0.4] // BLU NC : #0082c9