Application Android et IOS pour l'amicale des élèves
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Form.js 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. // @flow
  2. import variable from "./../variables/platform";
  3. export default (variables /*: * */ = variable) => {
  4. const platform = variables.platform;
  5. const theme = {
  6. "NativeBase.Item": {
  7. ".fixedLabel": {
  8. "NativeBase.Label": {
  9. paddingLeft: null
  10. },
  11. marginLeft: 15
  12. },
  13. ".inlineLabel": {
  14. "NativeBase.Label": {
  15. paddingLeft: null
  16. },
  17. marginLeft: 15
  18. },
  19. ".placeholderLabel": {
  20. "NativeBase.Input": {}
  21. },
  22. ".stackedLabel": {
  23. "NativeBase.Label": {
  24. top: 5,
  25. paddingLeft: null
  26. },
  27. "NativeBase.Input": {
  28. paddingLeft: null,
  29. marginLeft: null
  30. },
  31. "NativeBase.Icon": {
  32. marginTop: 36
  33. },
  34. marginLeft: 15
  35. },
  36. ".floatingLabel": {
  37. "NativeBase.Input": {
  38. paddingLeft: null,
  39. top: 10,
  40. marginLeft: null
  41. },
  42. "NativeBase.Label": {
  43. left: 0,
  44. top: 6
  45. },
  46. "NativeBase.Icon": {
  47. top: 6
  48. },
  49. marginTop: 15,
  50. marginLeft: 15
  51. },
  52. ".regular": {
  53. "NativeBase.Label": {
  54. left: 0
  55. },
  56. marginLeft: 0
  57. },
  58. ".rounded": {
  59. "NativeBase.Label": {
  60. left: 0
  61. },
  62. marginLeft: 0
  63. },
  64. ".underline": {
  65. "NativeBase.Label": {
  66. left: 0,
  67. top: 0,
  68. position: "relative"
  69. },
  70. "NativeBase.Input": {
  71. left: -15
  72. },
  73. marginLeft: 15
  74. },
  75. ".last": {
  76. marginLeft: 0,
  77. paddingLeft: 15
  78. },
  79. "NativeBase.Label": {
  80. paddingRight: 5
  81. },
  82. marginLeft: 15
  83. }
  84. };
  85. return theme;
  86. };