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.

89 lines
2.5 KiB

  1. /*
  2. GNU Liscense - Pau and Arnau
  3. usage:
  4. ------------------------------------------
  5. function SetValueToVar(valgiven){
  6. object.propToSet=valgiven;
  7. }
  8. mPrompt(parametersQuantity, promptTitle, promptDescription, arrayparametersnames, originalValues, SetValueToVar);
  9. ------------------------------------------
  10. parametersQuantity: how many parameters will the mPrompt ask for
  11. promptTitle: main title for the mPrompt
  12. promptDescription: description for the mPrompt
  13. arrayparametersnames: an array with the name of the parameters. If send empty (""), it will display 'parameter'
  14. originalValues: original values of the parameters, not array, all the values in a string, seperated by a space " ", if no values, send empty string ("")
  15. SetValueToVar: function declared to set the values to the variable. Puts the values in a string, separated by a space " "
  16. */
  17. .backgroundpanel{
  18. background: #eaeaea; /* Old browsers */
  19. background: -moz-linear-gradient(top, rgba(250,250,250,0.6) 0%, rgba(90,90,90,0.7) 100%); /* FF3.6-15 */
  20. background: -webkit-linear-gradient(top, rgba(250,250,250,0.6) 0%,rgba(90,90,90,0.7) 100%); /* Chrome10-25,Safari5.1-6 */
  21. background: linear-gradient(to bottom, rgba(250,250,250,0.6) 0%,rgba(90,90,90,0.7) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  22. width: 100%;
  23. height:100%;
  24. z-index: 921000;
  25. top: 0px;
  26. position: absolute;
  27. }
  28. .caixaPrompt{
  29. width: 300px;
  30. background: rgba(240,240,240,0.7);
  31. border: 2px solid #606060;
  32. border-radius: 7px;
  33. margin-left: -150px;
  34. left: 50%;
  35. position: absolute;
  36. z-index:922000;
  37. top: 200px;
  38. padding-left: 20px;
  39. padding-right: 20px;
  40. padding-bottom: 10px;
  41. line-height: 250%;
  42. box-shadow: 8px 8px 8px #5B5B5B;
  43. }
  44. .caixaPrompt input{
  45. border-radius: 5px;
  46. height: 25px;
  47. background: rgba(250,250,250,0.8);
  48. }
  49. .caixaPrompt hr{
  50. margin: 0px;
  51. margin-bottom: 5px;
  52. border: 1px solid #636363;
  53. }
  54. .caixaPrompt p{
  55. margin:0px;
  56. color: #5E5E5E;
  57. line-height: 100%;
  58. margin-bottom: 20px;
  59. }
  60. .Xclose {
  61. position: absolute;
  62. right: 15px;
  63. cursor: default;
  64. color: #2B2B2B;
  65. }
  66. .Xclose:hover{
  67. color: #636363;
  68. }
  69. .submitbtn{
  70. background: #4675CE;
  71. color: #ffffff;
  72. width: 60px;
  73. padding-left: 10px;
  74. padding-right: 10px;
  75. margin-top: 20px;
  76. margin-left: auto;
  77. margin-right: auto;
  78. font-weight: bold;
  79. text-align: center;
  80. cursor: default;
  81. }
  82. .submitbtn:hover{
  83. background: #6999E5;
  84. }