Commit d03350b90e47c3b70efdfa50c5986e559fcc4447

Authored by Daniela Feitosa
1 parent efd5f974

organization_ratings: move css to public folder

the plugin style was not being loaded
plugins/organization_ratings/public/style.css 0 → 100644
... ... @@ -0,0 +1,200 @@
  1 +.star-container {
  2 + width: 100%;
  3 + height: 20px;
  4 +}
  5 +
  6 +.star-negative, .star-positive {
  7 + width: 20px;
  8 + height: 20px;
  9 + background-repeat: no-repeat;
  10 + margin-right: 2px;
  11 + position: relative;
  12 + float: left;
  13 + cursor: pointer;
  14 +}
  15 +
  16 +.star-negative {
  17 + background-image: url('public/images/star-negative.png');
  18 +}
  19 +
  20 +.star-positive {
  21 + background-image: url('public/images/star-positive.png');
  22 +}
  23 +
  24 +.small-star-negative, .small-star-positive {
  25 + background-repeat: no-repeat;
  26 + float: left;
  27 + height: 15px;
  28 + margin-right: 2px;
  29 + position: relative;
  30 + width: 15px;
  31 +}
  32 +
  33 +.small-star-negative {
  34 + background-image: url('public/images/small-star-negative.png');
  35 +}
  36 +
  37 +.small-star-positive {
  38 + background-image: url('public/images/small-star-positive.png');
  39 +}
  40 +
  41 +.medium-star-negative, .medium-star-positive {
  42 + background-repeat: no-repeat;
  43 + float: left;
  44 + height: 20px;
  45 + margin-right: 2px;
  46 + position: relative;
  47 + width: 20px;
  48 +}
  49 +
  50 +.medium-star-positive {
  51 + background-image: url('public/images/star-positive-medium.png');
  52 +}
  53 +
  54 +.medium-star-negative {
  55 + background-image: url('public/images/star-negative-medium.png');
  56 +}
  57 +
  58 +.star-hide {
  59 + display: none;
  60 +}
  61 +
  62 +.organization-average-rating-container {
  63 + border-top: 1px dotted #D3D6DE;
  64 + margin-top: 20px;
  65 + padding-top: 10px;
  66 +}
  67 +
  68 +.organization-average-rating-container .star-rate-text {
  69 + float: left;
  70 + margin-right: 10px;
  71 + padding-top: 5px;
  72 +}
  73 +
  74 +.organization-average-rating-container .rating-invitation {
  75 + font-size: 14px;
  76 + float: left;
  77 + margin-right: 10px;
  78 + padding-top: 3px;
  79 +}
  80 +
  81 +.organization-average-rating-container .star-container {
  82 + float: left;
  83 + width: 120px;
  84 +}
  85 +
  86 +.organization-average-rating-container .rate-this-organization {
  87 + border-left: 1px dotted #D3D6DE;
  88 + float: left;
  89 + padding: 4px 0px 2px 10px;
  90 +}
  91 +
  92 +.star-rate-data {
  93 + width: 100%;
  94 + padding-top: 20px;
  95 + position: relative;
  96 + overflow: auto;
  97 +}
  98 +
  99 +.star-profile-information, .star-rate-form {
  100 + display: table-cell;
  101 + vertical-align: top;
  102 + width: 362px;
  103 +}
  104 +
  105 +.star-profile-information {
  106 + width: 134px;
  107 +}
  108 +
  109 +.star-rate-form {
  110 + display: table-cell;
  111 + vertical-align: top;
  112 +}
  113 +
  114 +.star-profile-image, .star-profile-name {
  115 + text-align: center;
  116 +}
  117 +
  118 +.star-profile-name {
  119 + word-break: break-word;
  120 + margin: auto;
  121 + margin-top: 5px;
  122 + width: 66px;
  123 +}
  124 +
  125 +.star-rate-data .star-rate-form .star-comment-container .formfield textarea {
  126 + width: 361px;
  127 +}
  128 +
  129 +/************* Users ratings list ****************/
  130 +
  131 +.ratings-list .user-rating-block,
  132 +.ratings-list .make-report-block {
  133 + border-top: 1px solid #D3D6DE;
  134 + margin-top: 25px;
  135 + padding-top: 20px;
  136 +}
  137 +
  138 +.ratings-list .make-report-block {
  139 + padding-bottom: 25px;
  140 +}
  141 +
  142 +.ratings-list .see-more{
  143 + border-top: 1px solid #D3D6DE;
  144 +}
  145 +.ratings-list .user-rating-block .user-testimony-container {
  146 + display: table-cell;
  147 + padding-left: 20px;
  148 +}
  149 +
  150 +.ratings-list .make-report-block .make-report-container {
  151 + display: table-cell;
  152 +}
  153 +
  154 +.ratings-list .user-rating-block .user-testimony-container .star-container {
  155 + display: table-cell;
  156 +}
  157 +
  158 +.ratings-list .user-rating-block .user-testimony-container .testimony-rate-date {
  159 + display: table-cell;
  160 + max-width: 95px;
  161 + min-width: 95px;
  162 + padding-right: 160px;
  163 + white-space: nowrap;
  164 +}
  165 +
  166 +.ratings-list .user-rating-block .user-testimony-container .user-testimony {
  167 + margin-top: 10px;
  168 + word-break: break-word;
  169 +}
  170 +
  171 +.ratings-list .make-report-block .make-report-container .make-report-message {
  172 + font-size: 14px;
  173 + font-style: italic;
  174 + word-break: break-word;
  175 +}
  176 +
  177 +.ratings-list .make-report-block .make-report-container .button-bar {
  178 + overflow: auto;
  179 + padding-top: 15px;
  180 +}
  181 +
  182 +.ratings-list .user-rating-block .star-profile-information {
  183 + border-right: 1px dotted #D3D6DE;
  184 +}
  185 +
  186 +.ratings-list .icon-arrow-right-p {
  187 + background: url(/designs/themes/base/imgs/arrow-right-p.png) 100% 50% no-repeat;
  188 + display: block;
  189 + float: right;
  190 + margin-top: 20px;
  191 + padding-right: 15px;
  192 +}
  193 +
  194 +.task_information .comment {
  195 + padding-left: 60px;
  196 +}
  197 +
  198 +.average-rating-block {
  199 + height: 55px;
  200 +}
... ...
plugins/organization_ratings/style.css
... ... @@ -1,200 +0,0 @@
1   -.star-container {
2   - width: 100%;
3   - height: 20px;
4   -}
5   -
6   -.star-negative, .star-positive {
7   - width: 20px;
8   - height: 20px;
9   - background-repeat: no-repeat;
10   - margin-right: 2px;
11   - position: relative;
12   - float: left;
13   - cursor: pointer;
14   -}
15   -
16   -.star-negative {
17   - background-image: url('public/images/star-negative.png');
18   -}
19   -
20   -.star-positive {
21   - background-image: url('public/images/star-positive.png');
22   -}
23   -
24   -.small-star-negative, .small-star-positive {
25   - background-repeat: no-repeat;
26   - float: left;
27   - height: 15px;
28   - margin-right: 2px;
29   - position: relative;
30   - width: 15px;
31   -}
32   -
33   -.small-star-negative {
34   - background-image: url('public/images/small-star-negative.png');
35   -}
36   -
37   -.small-star-positive {
38   - background-image: url('public/images/small-star-positive.png');
39   -}
40   -
41   -.medium-star-negative, .medium-star-positive {
42   - background-repeat: no-repeat;
43   - float: left;
44   - height: 20px;
45   - margin-right: 2px;
46   - position: relative;
47   - width: 20px;
48   -}
49   -
50   -.medium-star-positive {
51   - background-image: url('public/images/star-positive-medium.png');
52   -}
53   -
54   -.medium-star-negative {
55   - background-image: url('public/images/star-negative-medium.png');
56   -}
57   -
58   -.star-hide {
59   - display: none;
60   -}
61   -
62   -.organization-average-rating-container {
63   - border-top: 1px dotted #D3D6DE;
64   - margin-top: 20px;
65   - padding-top: 10px;
66   -}
67   -
68   -.organization-average-rating-container .star-rate-text {
69   - float: left;
70   - margin-right: 10px;
71   - padding-top: 5px;
72   -}
73   -
74   -.organization-average-rating-container .rating-invitation {
75   - font-size: 14px;
76   - float: left;
77   - margin-right: 10px;
78   - padding-top: 3px;
79   -}
80   -
81   -.organization-average-rating-container .star-container {
82   - float: left;
83   - width: 120px;
84   -}
85   -
86   -.organization-average-rating-container .rate-this-organization {
87   - border-left: 1px dotted #D3D6DE;
88   - float: left;
89   - padding: 4px 0px 2px 10px;
90   -}
91   -
92   -.star-rate-data {
93   - width: 100%;
94   - padding-top: 20px;
95   - position: relative;
96   - overflow: auto;
97   -}
98   -
99   -.star-profile-information, .star-rate-form {
100   - display: table-cell;
101   - vertical-align: top;
102   - width: 362px;
103   -}
104   -
105   -.star-profile-information {
106   - width: 134px;
107   -}
108   -
109   -.star-rate-form {
110   - display: table-cell;
111   - vertical-align: top;
112   -}
113   -
114   -.star-profile-image, .star-profile-name {
115   - text-align: center;
116   -}
117   -
118   -.star-profile-name {
119   - word-break: break-word;
120   - margin: auto;
121   - margin-top: 5px;
122   - width: 66px;
123   -}
124   -
125   -.star-rate-data .star-rate-form .star-comment-container .formfield textarea {
126   - width: 361px;
127   -}
128   -
129   -/************* Users ratings list ****************/
130   -
131   -.ratings-list .user-rating-block,
132   -.ratings-list .make-report-block {
133   - border-top: 1px solid #D3D6DE;
134   - margin-top: 25px;
135   - padding-top: 20px;
136   -}
137   -
138   -.ratings-list .make-report-block {
139   - padding-bottom: 25px;
140   -}
141   -
142   -.ratings-list .see-more{
143   - border-top: 1px solid #D3D6DE;
144   -}
145   -.ratings-list .user-rating-block .user-testimony-container {
146   - display: table-cell;
147   - padding-left: 20px;
148   -}
149   -
150   -.ratings-list .make-report-block .make-report-container {
151   - display: table-cell;
152   -}
153   -
154   -.ratings-list .user-rating-block .user-testimony-container .star-container {
155   - display: table-cell;
156   -}
157   -
158   -.ratings-list .user-rating-block .user-testimony-container .testimony-rate-date {
159   - display: table-cell;
160   - max-width: 95px;
161   - min-width: 95px;
162   - padding-right: 160px;
163   - white-space: nowrap;
164   -}
165   -
166   -.ratings-list .user-rating-block .user-testimony-container .user-testimony {
167   - margin-top: 10px;
168   - word-break: break-word;
169   -}
170   -
171   -.ratings-list .make-report-block .make-report-container .make-report-message {
172   - font-size: 14px;
173   - font-style: italic;
174   - word-break: break-word;
175   -}
176   -
177   -.ratings-list .make-report-block .make-report-container .button-bar {
178   - overflow: auto;
179   - padding-top: 15px;
180   -}
181   -
182   -.ratings-list .user-rating-block .star-profile-information {
183   - border-right: 1px dotted #D3D6DE;
184   -}
185   -
186   -.ratings-list .icon-arrow-right-p {
187   - background: url(/designs/themes/base/imgs/arrow-right-p.png) 100% 50% no-repeat;
188   - display: block;
189   - float: right;
190   - margin-top: 20px;
191   - padding-right: 15px;
192   -}
193   -
194   -.task_information .comment {
195   - padding-left: 60px;
196   -}
197   -
198   -.average-rating-block {
199   - height: 55px;
200   -}