CCNextcloudConstant.h 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 option compiler */
  28. /*
  29. #define OPTION_MULTIUSER_DISABLE
  30. #define OPTION_CRYPTO_CLOUD_SYSTEM_DISABLE
  31. #define OPTION_OFFLINE_DISABLE
  32. #define OPTION_NOTIFICATION_PUSH_ENABLE
  33. #define OPTION_AUTOMATIC_UPLOAD_ENABLE
  34. #define MENU_BRAND_ENABLE
  35. #define NO_REQUEST_LOGIN_URL
  36. */
  37. #define OPTION_OFFLINE_DISABLE
  38. // -----------------------------------------------------------------------------------------------------------
  39. // COLOR
  40. // -----------------------------------------------------------------------------------------------------------
  41. // NEXTCLOUD COLOR
  42. #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
  43. #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
  44. #define COLOR_TRANSFER_BACKGROUND [UIColor colorWithRed:178.0/255.0 green:244.0/255.0 blue:258.0/255.0 alpha:0.1]
  45. #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
  46. #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
  47. #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
  48. #define COLOR_NAVIGATIONBAR_TEXT [UIColor whiteColor]
  49. #define COLOR_NAVIGATIONBAR_PROGRESS [UIColor colorWithRed:241.0/255.0 green:90.0/255.0 blue:34.0/255.0 alpha:1.0]
  50. #define COLOR_TABBAR [UIColor colorWithRed:247.0/255.0 green:247.0/255.0 blue:247.0/255.0 alpha:1]
  51. #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
  52. #define COLOR_BACKGROUND_MENU [UIColor whiteColor]
  53. #define COLOR_BACKGROUND_PAGECONTROL [UIColor colorWithRed:247.0/255.0 green:247.0/255.0 blue:247.0/255.0 alpha:1.0]
  54. #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
  55. #define COLOR_CRYPTOCLOUD [UIColor colorWithRed:241.0/255.0 green:90.0/255.0 blue:34.0/255.0 alpha:1.0]
  56. #define COLOR_TEXT_ANTHRACITE [UIColor colorWithRed:65.0/255.0 green:64.0/255.0 blue:66.0/255.0 alpha:1.0] // #414042
  57. #define COLOR_TEXT_NO_CONNECTION [UIColor colorWithRed:204.0/255.0 green:204.0/255.0 blue:204.0/255.0 alpha:1.0]
  58. #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
  59. #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
  60. #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
  61. #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
  62. #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
  63. #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