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