├── .gitignore ├── .firebaserc ├── public ├── google522700c6ef50a8bb.html ├── js │ ├── js.js │ └── index.js ├── survey.html ├── index.html └── css │ └── bootstrap-rtl.css ├── .travis.yml ├── functions ├── package.json └── index.js └── firebase.json /.gitignore: -------------------------------------------------------------------------------- 1 | functions/node_modules 2 | .eslintrc.json 3 | 4 | -------------------------------------------------------------------------------- /.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | "projects": { 3 | "default": "sapir-coffe" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /public/google522700c6ef50a8bb.html: -------------------------------------------------------------------------------- 1 | google-site-verification: google522700c6ef50a8bb.html -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "7" 4 | branches: 5 | only: 6 | - master 7 | script: 8 | echo "Deploy!!" 9 | 10 | -------------------------------------------------------------------------------- /public/js/js.js: -------------------------------------------------------------------------------- 1 | function sendDataToServer(survey) { 2 | //send Ajax request to your web server. 3 | //alert("The results are:" + JSON.stringify(survey.data)); 4 | var path = "http://www.zap.co.il/models.aspx?sog=c-pclaptop&db1634543=" 5 | console.log(survey.data.proccessor); 6 | for (var i = 0; i < survey.data.proccessor.length; i++) { 7 | path += survey.data.proccessor[i] + ","; 8 | } 9 | $("#link").attr("href", path.slice(0, -1)).show(); 10 | } -------------------------------------------------------------------------------- /functions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "functions", 3 | "description": "Cloud Functions for Firebase", 4 | "scripts": { 5 | "lint": "eslint .", 6 | "serve": "firebase serve --only functions", 7 | "shell": "firebase functions:shell", 8 | "start": "npm run shell", 9 | "deploy": "firebase deploy --only functions", 10 | "logs": "firebase functions:log" 11 | }, 12 | "dependencies": { 13 | "firebase-admin": "~6.0.0", 14 | "firebase-functions": "^2.1.0" 15 | }, 16 | "devDependencies": { 17 | "eslint": "^4.12.0", 18 | "eslint-plugin-promise": "^3.6.0" 19 | }, 20 | "private": true 21 | } 22 | -------------------------------------------------------------------------------- /firebase.json: -------------------------------------------------------------------------------- 1 | { 2 | "hosting": { 3 | "public": "public", 4 | "ignore": [ 5 | "firebase.json", 6 | "**/.*", 7 | "**/node_modules/**" 8 | ], 9 | "rewrites": [ 10 | { 11 | "source": "/func/sum", 12 | "function": "getSum" 13 | }, 14 | { 15 | "source": "/func/earn/year1", 16 | "function": "get_earn_year_1" 17 | }, 18 | { 19 | "source": "/func/earn/year2", 20 | "function": "get_earn_year_2" 21 | }, 22 | { 23 | "source": "/func/sum/year1", 24 | "function": "get_sum_year_1" 25 | }, 26 | { 27 | "source": "/func/sum/year2", 28 | "function": "get_sum_year_2" 29 | }, 30 | { 31 | "source": "/func/works", 32 | "function": "getHomeWork" 33 | }, 34 | { 35 | "source": "/func/Midterms", 36 | "function": "getMidterms" 37 | } 38 | ] 39 | } 40 | } -------------------------------------------------------------------------------- /public/survey.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 18 |כל כוס במחיר
122 |
המצב הכספי נכון לעכשיו: 125 | ₪
126 |%%date%%בוחן ב%%lesson%%
" 64 | 65 | $.get_homworks = function () { 66 | $.ajax({ 67 | url: "https://sapir-coffe.firebaseapp.com/func/works", 68 | cache: false, 69 | dataType: 'json', 70 | success: function (data) { 71 | console.log("get_homework") 72 | console.log(data); 73 | data.sort((first, second) => { 74 | return first["date"] - second["date"]; 75 | }); 76 | console.log("after_sort") 77 | console.log(data); 78 | var today = new Date(); 79 | today.setHours(0, 0, 0, 0); 80 | console.log(today); 81 | data = data.filter(item => { 82 | return item["date"] >= today.getTime(); 83 | }) 84 | console.log("after_filter") 85 | console.log(data); 86 | data.forEach(item => { 87 | var text = template_work 88 | .replace("%%date%%", new Intl.DateTimeFormat('he-IL', { 89 | year: '2-digit', 90 | month: '2-digit', 91 | day: 'numeric', 92 | hour: '2-digit', 93 | minute: '2-digit', 94 | weekday: 'long', 95 | timeZone: "UTC" 96 | }).format(item["date"])) 97 | 98 | text = text.replace("%%number%%", item["number"]); 99 | text = text.replace("%%lesson%%", item["lesson"]); 100 | 101 | $("#works").append(text).fadeIn(); 102 | }) 103 | }, 104 | error: function (jqXHR, exception) { 105 | console.log("get_homworks fail: " + jqXHR.responseText); 106 | } 107 | }); 108 | } 109 | 110 | $.get_Midterms = function () { 111 | $.ajax({ 112 | url: "https://sapir-coffe.firebaseapp.com/func/Midterms", 113 | cache: false, 114 | dataType: 'json', 115 | success: function (data) { 116 | console.log("get_Midterms") 117 | console.log(data); 118 | data.sort((first, second) => { 119 | return first["date"] - second["date"]; 120 | }); 121 | console.log("after_sort") 122 | console.log(data); 123 | var today = new Date(); 124 | today.setHours(0, 0, 0, 0); 125 | console.log(today); 126 | data = data.filter(item => { 127 | return item["date"] >= today.getTime(); 128 | }) 129 | console.log("after_filter") 130 | console.log(data); 131 | data.forEach(item => { 132 | var text = template_mid.replace("%%date%%", new Intl.DateTimeFormat('he-IL', { 133 | year: '2-digit', 134 | month: '2-digit', 135 | day: 'numeric', 136 | hour: '2-digit', 137 | minute: '2-digit', 138 | weekday: 'long', 139 | timeZone: "UTC" 140 | }).format(item["date"])) 141 | 142 | text = text.replace("%%lesson%%", item["lesson"]); 143 | 144 | $("#midterm").append(text).fadeIn(); 145 | }) 146 | }, 147 | error: function (jqXHR, exception) { 148 | console.log("get_midterms fail: " + jqXHR.responseText); 149 | } 150 | }); 151 | } 152 | 153 | $.get_cash_status = function () { 154 | $.cash_status_text.attr('class', 'model'); 155 | $.ajax({ 156 | url: "https://sapir-coffe.firebaseapp.com/func/sum", 157 | cache: false, 158 | dataType: 'json', 159 | success: function (data) { 160 | $.change_status_color(data) 161 | }, 162 | error: function (jqXHR, exception) { 163 | console.log("get_cash_status fail: " + jqXHR.responseText); 164 | } 165 | }); 166 | //return 55.5 167 | } 168 | 169 | $.change_status_color = function (json) { 170 | var sum = json.sum; 171 | $.cash_status_text.text(sum); 172 | $.cash_status_text.attr('class', sum >= 0 ? 'positive' : 'negative') 173 | } 174 | 175 | function load_chart_earn_year_2() { 176 | $.ajax({ 177 | url: "https://sapir-coffe.firebaseapp.com/func/earn/year2", 178 | cache: false, 179 | dataType: 'json', 180 | success: function (data) { 181 | draw_chart_earn_year_2(data); 182 | }, 183 | error: function (jqXHR, exception) { 184 | console.log("load_chart_earn_year_2 fail: " + jqXHR.responseText); 185 | } 186 | }); 187 | } 188 | 189 | function draw_chart_earn_year_2(data) { 190 | var ctx = document.getElementById("chart_earn_year_2").getContext('2d'); 191 | //console.log(data); 192 | var keys = []; 193 | var values = []; 194 | for (var k in data) { 195 | //console.log(k); 196 | values.push(data[k]); 197 | d = new Date(parseInt(k)); 198 | keys.push(d) 199 | } 200 | //console.log(keys); 201 | //console.log(values); 202 | var myChart = new Chart(ctx, { 203 | type: 'line', 204 | data: { 205 | labels: keys, // ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],//get_date() 206 | datasets: [{ 207 | label: 'רווחים ליום', 208 | fill: false, 209 | data: values, //[12, 19, 3, 5, 2, 3],//get_sum_of_day() 210 | backgroundColor: ['rgba(255, 99, 132, 0.2)'], 211 | borderColor: 'rgba(255,99,132,1)', 212 | borderWidth: 1 213 | } 214 | ] 215 | }, 216 | options: optionAll 217 | }); 218 | } 219 | 220 | function load_chart_sum_year_2() { 221 | $.ajax({ 222 | url: "https://sapir-coffe.firebaseapp.com/func/sum/year2", 223 | cache: false, 224 | dataType: 'json', 225 | success: function (data) { 226 | draw_chart_sum_year_2(data); 227 | }, 228 | error: function (jqXHR, exception) { 229 | console.log("load_chart_sum_year_2 fail: " + jqXHR.responseText); 230 | } 231 | }); 232 | } 233 | 234 | function draw_chart_sum_year_2(data) { 235 | var ctx = document.getElementById("chart_sum_year_2").getContext('2d'); 236 | //console.log(data); 237 | var keys = []; 238 | var values_day = []; 239 | var values_positive = []; 240 | var values_negative = []; 241 | for (var k in data) { 242 | //console.log(k); 243 | values_day.push(data[k]['day']); 244 | values_positive.push(data[k]['positive']); 245 | values_negative.push(data[k]['negative']); 246 | d = new Date(parseInt(k)); 247 | keys.push(d)//d.getDate() + "/" + (d.getMonth() + 1)) 248 | } 249 | //console.log(keys); 250 | //console.log(values); 251 | var myChart = new Chart(ctx, { 252 | type: 'line', 253 | data: { 254 | labels: keys, // ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],//get_date() 255 | datasets: [{ 256 | label: 'רווחים', 257 | fill: true, 258 | data: values_positive, //[12, 19, 3, 5, 2, 3],//get_sum_of_day() 259 | backgroundColor: ['rgba(0, 255, 0, 0.2)'], 260 | borderColor: 'rgba(0,255,0,1)', 261 | borderWidth: 1 262 | }, 263 | { 264 | label: 'הפסדים', 265 | fill: true, 266 | data: values_negative, //[12, 19, 3, 5, 2, 3],//get_sum_of_day() 267 | backgroundColor: ['rgba(255, 0, 0, 0.2)'], 268 | borderColor: 'rgba(255, 0, 0, 1)', 269 | borderWidth: 1 270 | }] 271 | }, 272 | options: optionAll 273 | }); 274 | } 275 | 276 | function load_chart_earn_year_1() { 277 | $.ajax({ 278 | url: "https://sapir-coffe.firebaseapp.com/func/earn/year1", 279 | cache: false, 280 | dataType: 'json', 281 | success: function (data) { 282 | draw_chart_earn_year_1(data); 283 | }, 284 | error: function (jqXHR, exception) { 285 | console.log("load_chart_earn_year_1 fail: " + jqXHR.responseText); 286 | } 287 | }); 288 | var timeFormat = 'DD/MM'; 289 | } 290 | 291 | function draw_chart_earn_year_1(data) { 292 | var ctx = document.getElementById("chart_earn_year_1").getContext('2d'); 293 | //console.log(data); 294 | var keys = []; 295 | var values = []; 296 | for (var k in data) { 297 | //console.log(k); 298 | values.push(data[k]); 299 | d = new Date(parseInt(k)); 300 | keys.push(d)//d.getDate() + "/" + (d.getMonth() + 1)) 301 | } 302 | //console.log(keys); 303 | //console.log(values); 304 | var myChart = new Chart(ctx, { 305 | type: 'line', 306 | data: { 307 | labels: keys, // ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],//get_date() 308 | datasets: [{ 309 | label: 'רווחים ליום', 310 | fill: false, 311 | spanGaps: true, 312 | pointRadius: 0, 313 | borderWidth: 1, 314 | data: values, //[12, 19, 3, 5, 2, 3],//get_sum_of_day() 315 | backgroundColor: ['rgba(255, 99, 132, 0.2)'], 316 | borderColor: 'rgba(255,99,132,1)', 317 | }] 318 | }, 319 | options: optionAll 320 | }); 321 | } 322 | 323 | function load_chart_sum_year_1() { 324 | $.ajax({ 325 | url: "https://sapir-coffe.firebaseapp.com/func/sum/year1", 326 | cache: false, 327 | dataType: 'json', 328 | success: function (data) { 329 | draw_chart_sum_year_1(data); 330 | }, 331 | error: function (jqXHR, exception) { 332 | console.log("load_chart_sum_year_1 fail: " + jqXHR.responseText); 333 | } 334 | }); 335 | var timeFormat = 'DD/MM'; 336 | } 337 | 338 | function draw_chart_sum_year_1(data) { 339 | var ctx = document.getElementById("chart_sum_year_1").getContext('2d'); 340 | //console.log(data); 341 | var keys = []; 342 | var values_day = []; 343 | var values_positive = []; 344 | var values_negative = []; 345 | for (var k in data) { 346 | //console.log(k); 347 | values_day.push(data[k]['day']); 348 | values_positive.push(data[k]['positive']); 349 | values_negative.push(data[k]['negative']); 350 | d = new Date(parseInt(k)); 351 | keys.push(d)//d.getDate() + "/" + (d.getMonth() + 1)) 352 | } 353 | //console.log(keys); 354 | //console.log(values); 355 | var myChart = new Chart(ctx, { 356 | type: 'line', 357 | data: { 358 | labels: keys, // ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],//get_date() 359 | datasets: [{ 360 | label: 'רווחים', 361 | fill: true, 362 | data: values_positive, //[12, 19, 3, 5, 2, 3],//get_sum_of_day() 363 | backgroundColor: ['rgba(0, 255, 0, 0.2)'], 364 | borderColor: 'rgba(0,255,0,1)', 365 | borderWidth: 1 366 | }, 367 | { 368 | label: 'הפסדים', 369 | fill: true, 370 | data: values_negative, //[12, 19, 3, 5, 2, 3],//get_sum_of_day() 371 | backgroundColor: ['rgba(255, 0, 0, 0.2)'], 372 | borderColor: 'rgba(255, 0, 0, 1)', 373 | borderWidth: 1 374 | }] 375 | }, 376 | options: optionAll 377 | }); 378 | } -------------------------------------------------------------------------------- /public/css/bootstrap-rtl.css: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * bootstrap-rtl (version 3.3.4) 3 | * Author: Morteza Ansarinia (http://github.com/morteza) 4 | * Created on: August 13,2015 5 | * Project: bootstrap-rtl 6 | * Copyright: Unlicensed Public Domain 7 | *******************************************************************************/ 8 | 9 | html { 10 | direction: rtl; 11 | } 12 | body { 13 | direction: rtl; 14 | } 15 | .flip.text-left { 16 | text-align: right; 17 | } 18 | .flip.text-right { 19 | text-align: left; 20 | } 21 | .list-unstyled { 22 | padding-right: 0; 23 | padding-left: initial; 24 | } 25 | .list-inline { 26 | padding-right: 0; 27 | padding-left: initial; 28 | margin-right: -5px; 29 | margin-left: 0; 30 | } 31 | dd { 32 | margin-right: 0; 33 | margin-left: initial; 34 | } 35 | @media (min-width: 768px) { 36 | .dl-horizontal dt { 37 | float: right; 38 | clear: right; 39 | text-align: left; 40 | } 41 | .dl-horizontal dd { 42 | margin-right: 180px; 43 | margin-left: 0; 44 | } 45 | } 46 | blockquote { 47 | border-right: 5px solid #eeeeee; 48 | border-left: 0; 49 | } 50 | .blockquote-reverse, 51 | blockquote.pull-left { 52 | padding-left: 15px; 53 | padding-right: 0; 54 | border-left: 5px solid #eeeeee; 55 | border-right: 0; 56 | text-align: left; 57 | } 58 | .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { 59 | position: relative; 60 | min-height: 1px; 61 | padding-left: 15px; 62 | padding-right: 15px; 63 | } 64 | .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { 65 | float: right; 66 | } 67 | .col-xs-12 { 68 | width: 100%; 69 | } 70 | .col-xs-11 { 71 | width: 91.66666667%; 72 | } 73 | .col-xs-10 { 74 | width: 83.33333333%; 75 | } 76 | .col-xs-9 { 77 | width: 75%; 78 | } 79 | .col-xs-8 { 80 | width: 66.66666667%; 81 | } 82 | .col-xs-7 { 83 | width: 58.33333333%; 84 | } 85 | .col-xs-6 { 86 | width: 50%; 87 | } 88 | .col-xs-5 { 89 | width: 41.66666667%; 90 | } 91 | .col-xs-4 { 92 | width: 33.33333333%; 93 | } 94 | .col-xs-3 { 95 | width: 25%; 96 | } 97 | .col-xs-2 { 98 | width: 16.66666667%; 99 | } 100 | .col-xs-1 { 101 | width: 8.33333333%; 102 | } 103 | .col-xs-pull-12 { 104 | left: 100%; 105 | right: auto; 106 | } 107 | .col-xs-pull-11 { 108 | left: 91.66666667%; 109 | right: auto; 110 | } 111 | .col-xs-pull-10 { 112 | left: 83.33333333%; 113 | right: auto; 114 | } 115 | .col-xs-pull-9 { 116 | left: 75%; 117 | right: auto; 118 | } 119 | .col-xs-pull-8 { 120 | left: 66.66666667%; 121 | right: auto; 122 | } 123 | .col-xs-pull-7 { 124 | left: 58.33333333%; 125 | right: auto; 126 | } 127 | .col-xs-pull-6 { 128 | left: 50%; 129 | right: auto; 130 | } 131 | .col-xs-pull-5 { 132 | left: 41.66666667%; 133 | right: auto; 134 | } 135 | .col-xs-pull-4 { 136 | left: 33.33333333%; 137 | right: auto; 138 | } 139 | .col-xs-pull-3 { 140 | left: 25%; 141 | right: auto; 142 | } 143 | .col-xs-pull-2 { 144 | left: 16.66666667%; 145 | right: auto; 146 | } 147 | .col-xs-pull-1 { 148 | left: 8.33333333%; 149 | right: auto; 150 | } 151 | .col-xs-pull-0 { 152 | left: auto; 153 | right: auto; 154 | } 155 | .col-xs-push-12 { 156 | right: 100%; 157 | left: 0; 158 | } 159 | .col-xs-push-11 { 160 | right: 91.66666667%; 161 | left: 0; 162 | } 163 | .col-xs-push-10 { 164 | right: 83.33333333%; 165 | left: 0; 166 | } 167 | .col-xs-push-9 { 168 | right: 75%; 169 | left: 0; 170 | } 171 | .col-xs-push-8 { 172 | right: 66.66666667%; 173 | left: 0; 174 | } 175 | .col-xs-push-7 { 176 | right: 58.33333333%; 177 | left: 0; 178 | } 179 | .col-xs-push-6 { 180 | right: 50%; 181 | left: 0; 182 | } 183 | .col-xs-push-5 { 184 | right: 41.66666667%; 185 | left: 0; 186 | } 187 | .col-xs-push-4 { 188 | right: 33.33333333%; 189 | left: 0; 190 | } 191 | .col-xs-push-3 { 192 | right: 25%; 193 | left: 0; 194 | } 195 | .col-xs-push-2 { 196 | right: 16.66666667%; 197 | left: 0; 198 | } 199 | .col-xs-push-1 { 200 | right: 8.33333333%; 201 | left: 0; 202 | } 203 | .col-xs-push-0 { 204 | right: auto; 205 | left: 0; 206 | } 207 | .col-xs-offset-12 { 208 | margin-right: 100%; 209 | margin-left: 0; 210 | } 211 | .col-xs-offset-11 { 212 | margin-right: 91.66666667%; 213 | margin-left: 0; 214 | } 215 | .col-xs-offset-10 { 216 | margin-right: 83.33333333%; 217 | margin-left: 0; 218 | } 219 | .col-xs-offset-9 { 220 | margin-right: 75%; 221 | margin-left: 0; 222 | } 223 | .col-xs-offset-8 { 224 | margin-right: 66.66666667%; 225 | margin-left: 0; 226 | } 227 | .col-xs-offset-7 { 228 | margin-right: 58.33333333%; 229 | margin-left: 0; 230 | } 231 | .col-xs-offset-6 { 232 | margin-right: 50%; 233 | margin-left: 0; 234 | } 235 | .col-xs-offset-5 { 236 | margin-right: 41.66666667%; 237 | margin-left: 0; 238 | } 239 | .col-xs-offset-4 { 240 | margin-right: 33.33333333%; 241 | margin-left: 0; 242 | } 243 | .col-xs-offset-3 { 244 | margin-right: 25%; 245 | margin-left: 0; 246 | } 247 | .col-xs-offset-2 { 248 | margin-right: 16.66666667%; 249 | margin-left: 0; 250 | } 251 | .col-xs-offset-1 { 252 | margin-right: 8.33333333%; 253 | margin-left: 0; 254 | } 255 | .col-xs-offset-0 { 256 | margin-right: 0%; 257 | margin-left: 0; 258 | } 259 | @media (min-width: 768px) { 260 | .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { 261 | float: right; 262 | } 263 | .col-sm-12 { 264 | width: 100%; 265 | } 266 | .col-sm-11 { 267 | width: 91.66666667%; 268 | } 269 | .col-sm-10 { 270 | width: 83.33333333%; 271 | } 272 | .col-sm-9 { 273 | width: 75%; 274 | } 275 | .col-sm-8 { 276 | width: 66.66666667%; 277 | } 278 | .col-sm-7 { 279 | width: 58.33333333%; 280 | } 281 | .col-sm-6 { 282 | width: 50%; 283 | } 284 | .col-sm-5 { 285 | width: 41.66666667%; 286 | } 287 | .col-sm-4 { 288 | width: 33.33333333%; 289 | } 290 | .col-sm-3 { 291 | width: 25%; 292 | } 293 | .col-sm-2 { 294 | width: 16.66666667%; 295 | } 296 | .col-sm-1 { 297 | width: 8.33333333%; 298 | } 299 | .col-sm-pull-12 { 300 | left: 100%; 301 | right: auto; 302 | } 303 | .col-sm-pull-11 { 304 | left: 91.66666667%; 305 | right: auto; 306 | } 307 | .col-sm-pull-10 { 308 | left: 83.33333333%; 309 | right: auto; 310 | } 311 | .col-sm-pull-9 { 312 | left: 75%; 313 | right: auto; 314 | } 315 | .col-sm-pull-8 { 316 | left: 66.66666667%; 317 | right: auto; 318 | } 319 | .col-sm-pull-7 { 320 | left: 58.33333333%; 321 | right: auto; 322 | } 323 | .col-sm-pull-6 { 324 | left: 50%; 325 | right: auto; 326 | } 327 | .col-sm-pull-5 { 328 | left: 41.66666667%; 329 | right: auto; 330 | } 331 | .col-sm-pull-4 { 332 | left: 33.33333333%; 333 | right: auto; 334 | } 335 | .col-sm-pull-3 { 336 | left: 25%; 337 | right: auto; 338 | } 339 | .col-sm-pull-2 { 340 | left: 16.66666667%; 341 | right: auto; 342 | } 343 | .col-sm-pull-1 { 344 | left: 8.33333333%; 345 | right: auto; 346 | } 347 | .col-sm-pull-0 { 348 | left: auto; 349 | right: auto; 350 | } 351 | .col-sm-push-12 { 352 | right: 100%; 353 | left: 0; 354 | } 355 | .col-sm-push-11 { 356 | right: 91.66666667%; 357 | left: 0; 358 | } 359 | .col-sm-push-10 { 360 | right: 83.33333333%; 361 | left: 0; 362 | } 363 | .col-sm-push-9 { 364 | right: 75%; 365 | left: 0; 366 | } 367 | .col-sm-push-8 { 368 | right: 66.66666667%; 369 | left: 0; 370 | } 371 | .col-sm-push-7 { 372 | right: 58.33333333%; 373 | left: 0; 374 | } 375 | .col-sm-push-6 { 376 | right: 50%; 377 | left: 0; 378 | } 379 | .col-sm-push-5 { 380 | right: 41.66666667%; 381 | left: 0; 382 | } 383 | .col-sm-push-4 { 384 | right: 33.33333333%; 385 | left: 0; 386 | } 387 | .col-sm-push-3 { 388 | right: 25%; 389 | left: 0; 390 | } 391 | .col-sm-push-2 { 392 | right: 16.66666667%; 393 | left: 0; 394 | } 395 | .col-sm-push-1 { 396 | right: 8.33333333%; 397 | left: 0; 398 | } 399 | .col-sm-push-0 { 400 | right: auto; 401 | left: 0; 402 | } 403 | .col-sm-offset-12 { 404 | margin-right: 100%; 405 | margin-left: 0; 406 | } 407 | .col-sm-offset-11 { 408 | margin-right: 91.66666667%; 409 | margin-left: 0; 410 | } 411 | .col-sm-offset-10 { 412 | margin-right: 83.33333333%; 413 | margin-left: 0; 414 | } 415 | .col-sm-offset-9 { 416 | margin-right: 75%; 417 | margin-left: 0; 418 | } 419 | .col-sm-offset-8 { 420 | margin-right: 66.66666667%; 421 | margin-left: 0; 422 | } 423 | .col-sm-offset-7 { 424 | margin-right: 58.33333333%; 425 | margin-left: 0; 426 | } 427 | .col-sm-offset-6 { 428 | margin-right: 50%; 429 | margin-left: 0; 430 | } 431 | .col-sm-offset-5 { 432 | margin-right: 41.66666667%; 433 | margin-left: 0; 434 | } 435 | .col-sm-offset-4 { 436 | margin-right: 33.33333333%; 437 | margin-left: 0; 438 | } 439 | .col-sm-offset-3 { 440 | margin-right: 25%; 441 | margin-left: 0; 442 | } 443 | .col-sm-offset-2 { 444 | margin-right: 16.66666667%; 445 | margin-left: 0; 446 | } 447 | .col-sm-offset-1 { 448 | margin-right: 8.33333333%; 449 | margin-left: 0; 450 | } 451 | .col-sm-offset-0 { 452 | margin-right: 0%; 453 | margin-left: 0; 454 | } 455 | } 456 | @media (min-width: 992px) { 457 | .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { 458 | float: right; 459 | } 460 | .col-md-12 { 461 | width: 100%; 462 | } 463 | .col-md-11 { 464 | width: 91.66666667%; 465 | } 466 | .col-md-10 { 467 | width: 83.33333333%; 468 | } 469 | .col-md-9 { 470 | width: 75%; 471 | } 472 | .col-md-8 { 473 | width: 66.66666667%; 474 | } 475 | .col-md-7 { 476 | width: 58.33333333%; 477 | } 478 | .col-md-6 { 479 | width: 50%; 480 | } 481 | .col-md-5 { 482 | width: 41.66666667%; 483 | } 484 | .col-md-4 { 485 | width: 33.33333333%; 486 | } 487 | .col-md-3 { 488 | width: 25%; 489 | } 490 | .col-md-2 { 491 | width: 16.66666667%; 492 | } 493 | .col-md-1 { 494 | width: 8.33333333%; 495 | } 496 | .col-md-pull-12 { 497 | left: 100%; 498 | right: auto; 499 | } 500 | .col-md-pull-11 { 501 | left: 91.66666667%; 502 | right: auto; 503 | } 504 | .col-md-pull-10 { 505 | left: 83.33333333%; 506 | right: auto; 507 | } 508 | .col-md-pull-9 { 509 | left: 75%; 510 | right: auto; 511 | } 512 | .col-md-pull-8 { 513 | left: 66.66666667%; 514 | right: auto; 515 | } 516 | .col-md-pull-7 { 517 | left: 58.33333333%; 518 | right: auto; 519 | } 520 | .col-md-pull-6 { 521 | left: 50%; 522 | right: auto; 523 | } 524 | .col-md-pull-5 { 525 | left: 41.66666667%; 526 | right: auto; 527 | } 528 | .col-md-pull-4 { 529 | left: 33.33333333%; 530 | right: auto; 531 | } 532 | .col-md-pull-3 { 533 | left: 25%; 534 | right: auto; 535 | } 536 | .col-md-pull-2 { 537 | left: 16.66666667%; 538 | right: auto; 539 | } 540 | .col-md-pull-1 { 541 | left: 8.33333333%; 542 | right: auto; 543 | } 544 | .col-md-pull-0 { 545 | left: auto; 546 | right: auto; 547 | } 548 | .col-md-push-12 { 549 | right: 100%; 550 | left: 0; 551 | } 552 | .col-md-push-11 { 553 | right: 91.66666667%; 554 | left: 0; 555 | } 556 | .col-md-push-10 { 557 | right: 83.33333333%; 558 | left: 0; 559 | } 560 | .col-md-push-9 { 561 | right: 75%; 562 | left: 0; 563 | } 564 | .col-md-push-8 { 565 | right: 66.66666667%; 566 | left: 0; 567 | } 568 | .col-md-push-7 { 569 | right: 58.33333333%; 570 | left: 0; 571 | } 572 | .col-md-push-6 { 573 | right: 50%; 574 | left: 0; 575 | } 576 | .col-md-push-5 { 577 | right: 41.66666667%; 578 | left: 0; 579 | } 580 | .col-md-push-4 { 581 | right: 33.33333333%; 582 | left: 0; 583 | } 584 | .col-md-push-3 { 585 | right: 25%; 586 | left: 0; 587 | } 588 | .col-md-push-2 { 589 | right: 16.66666667%; 590 | left: 0; 591 | } 592 | .col-md-push-1 { 593 | right: 8.33333333%; 594 | left: 0; 595 | } 596 | .col-md-push-0 { 597 | right: auto; 598 | left: 0; 599 | } 600 | .col-md-offset-12 { 601 | margin-right: 100%; 602 | margin-left: 0; 603 | } 604 | .col-md-offset-11 { 605 | margin-right: 91.66666667%; 606 | margin-left: 0; 607 | } 608 | .col-md-offset-10 { 609 | margin-right: 83.33333333%; 610 | margin-left: 0; 611 | } 612 | .col-md-offset-9 { 613 | margin-right: 75%; 614 | margin-left: 0; 615 | } 616 | .col-md-offset-8 { 617 | margin-right: 66.66666667%; 618 | margin-left: 0; 619 | } 620 | .col-md-offset-7 { 621 | margin-right: 58.33333333%; 622 | margin-left: 0; 623 | } 624 | .col-md-offset-6 { 625 | margin-right: 50%; 626 | margin-left: 0; 627 | } 628 | .col-md-offset-5 { 629 | margin-right: 41.66666667%; 630 | margin-left: 0; 631 | } 632 | .col-md-offset-4 { 633 | margin-right: 33.33333333%; 634 | margin-left: 0; 635 | } 636 | .col-md-offset-3 { 637 | margin-right: 25%; 638 | margin-left: 0; 639 | } 640 | .col-md-offset-2 { 641 | margin-right: 16.66666667%; 642 | margin-left: 0; 643 | } 644 | .col-md-offset-1 { 645 | margin-right: 8.33333333%; 646 | margin-left: 0; 647 | } 648 | .col-md-offset-0 { 649 | margin-right: 0%; 650 | margin-left: 0; 651 | } 652 | } 653 | @media (min-width: 1200px) { 654 | .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { 655 | float: right; 656 | } 657 | .col-lg-12 { 658 | width: 100%; 659 | } 660 | .col-lg-11 { 661 | width: 91.66666667%; 662 | } 663 | .col-lg-10 { 664 | width: 83.33333333%; 665 | } 666 | .col-lg-9 { 667 | width: 75%; 668 | } 669 | .col-lg-8 { 670 | width: 66.66666667%; 671 | } 672 | .col-lg-7 { 673 | width: 58.33333333%; 674 | } 675 | .col-lg-6 { 676 | width: 50%; 677 | } 678 | .col-lg-5 { 679 | width: 41.66666667%; 680 | } 681 | .col-lg-4 { 682 | width: 33.33333333%; 683 | } 684 | .col-lg-3 { 685 | width: 25%; 686 | } 687 | .col-lg-2 { 688 | width: 16.66666667%; 689 | } 690 | .col-lg-1 { 691 | width: 8.33333333%; 692 | } 693 | .col-lg-pull-12 { 694 | left: 100%; 695 | right: auto; 696 | } 697 | .col-lg-pull-11 { 698 | left: 91.66666667%; 699 | right: auto; 700 | } 701 | .col-lg-pull-10 { 702 | left: 83.33333333%; 703 | right: auto; 704 | } 705 | .col-lg-pull-9 { 706 | left: 75%; 707 | right: auto; 708 | } 709 | .col-lg-pull-8 { 710 | left: 66.66666667%; 711 | right: auto; 712 | } 713 | .col-lg-pull-7 { 714 | left: 58.33333333%; 715 | right: auto; 716 | } 717 | .col-lg-pull-6 { 718 | left: 50%; 719 | right: auto; 720 | } 721 | .col-lg-pull-5 { 722 | left: 41.66666667%; 723 | right: auto; 724 | } 725 | .col-lg-pull-4 { 726 | left: 33.33333333%; 727 | right: auto; 728 | } 729 | .col-lg-pull-3 { 730 | left: 25%; 731 | right: auto; 732 | } 733 | .col-lg-pull-2 { 734 | left: 16.66666667%; 735 | right: auto; 736 | } 737 | .col-lg-pull-1 { 738 | left: 8.33333333%; 739 | right: auto; 740 | } 741 | .col-lg-pull-0 { 742 | left: auto; 743 | right: auto; 744 | } 745 | .col-lg-push-12 { 746 | right: 100%; 747 | left: 0; 748 | } 749 | .col-lg-push-11 { 750 | right: 91.66666667%; 751 | left: 0; 752 | } 753 | .col-lg-push-10 { 754 | right: 83.33333333%; 755 | left: 0; 756 | } 757 | .col-lg-push-9 { 758 | right: 75%; 759 | left: 0; 760 | } 761 | .col-lg-push-8 { 762 | right: 66.66666667%; 763 | left: 0; 764 | } 765 | .col-lg-push-7 { 766 | right: 58.33333333%; 767 | left: 0; 768 | } 769 | .col-lg-push-6 { 770 | right: 50%; 771 | left: 0; 772 | } 773 | .col-lg-push-5 { 774 | right: 41.66666667%; 775 | left: 0; 776 | } 777 | .col-lg-push-4 { 778 | right: 33.33333333%; 779 | left: 0; 780 | } 781 | .col-lg-push-3 { 782 | right: 25%; 783 | left: 0; 784 | } 785 | .col-lg-push-2 { 786 | right: 16.66666667%; 787 | left: 0; 788 | } 789 | .col-lg-push-1 { 790 | right: 8.33333333%; 791 | left: 0; 792 | } 793 | .col-lg-push-0 { 794 | right: auto; 795 | left: 0; 796 | } 797 | .col-lg-offset-12 { 798 | margin-right: 100%; 799 | margin-left: 0; 800 | } 801 | .col-lg-offset-11 { 802 | margin-right: 91.66666667%; 803 | margin-left: 0; 804 | } 805 | .col-lg-offset-10 { 806 | margin-right: 83.33333333%; 807 | margin-left: 0; 808 | } 809 | .col-lg-offset-9 { 810 | margin-right: 75%; 811 | margin-left: 0; 812 | } 813 | .col-lg-offset-8 { 814 | margin-right: 66.66666667%; 815 | margin-left: 0; 816 | } 817 | .col-lg-offset-7 { 818 | margin-right: 58.33333333%; 819 | margin-left: 0; 820 | } 821 | .col-lg-offset-6 { 822 | margin-right: 50%; 823 | margin-left: 0; 824 | } 825 | .col-lg-offset-5 { 826 | margin-right: 41.66666667%; 827 | margin-left: 0; 828 | } 829 | .col-lg-offset-4 { 830 | margin-right: 33.33333333%; 831 | margin-left: 0; 832 | } 833 | .col-lg-offset-3 { 834 | margin-right: 25%; 835 | margin-left: 0; 836 | } 837 | .col-lg-offset-2 { 838 | margin-right: 16.66666667%; 839 | margin-left: 0; 840 | } 841 | .col-lg-offset-1 { 842 | margin-right: 8.33333333%; 843 | margin-left: 0; 844 | } 845 | .col-lg-offset-0 { 846 | margin-right: 0%; 847 | margin-left: 0; 848 | } 849 | } 850 | caption { 851 | text-align: right; 852 | } 853 | th { 854 | text-align: right; 855 | } 856 | @media screen and (max-width: 767px) { 857 | .table-responsive > .table-bordered { 858 | border: 0; 859 | } 860 | .table-responsive > .table-bordered > thead > tr > th:first-child, 861 | .table-responsive > .table-bordered > tbody > tr > th:first-child, 862 | .table-responsive > .table-bordered > tfoot > tr > th:first-child, 863 | .table-responsive > .table-bordered > thead > tr > td:first-child, 864 | .table-responsive > .table-bordered > tbody > tr > td:first-child, 865 | .table-responsive > .table-bordered > tfoot > tr > td:first-child { 866 | border-right: 0; 867 | border-left: initial; 868 | } 869 | .table-responsive > .table-bordered > thead > tr > th:last-child, 870 | .table-responsive > .table-bordered > tbody > tr > th:last-child, 871 | .table-responsive > .table-bordered > tfoot > tr > th:last-child, 872 | .table-responsive > .table-bordered > thead > tr > td:last-child, 873 | .table-responsive > .table-bordered > tbody > tr > td:last-child, 874 | .table-responsive > .table-bordered > tfoot > tr > td:last-child { 875 | border-left: 0; 876 | border-right: initial; 877 | } 878 | } 879 | .radio label, 880 | .checkbox label { 881 | padding-right: 20px; 882 | padding-left: initial; 883 | } 884 | .radio input[type="radio"], 885 | .radio-inline input[type="radio"], 886 | .checkbox input[type="checkbox"], 887 | .checkbox-inline input[type="checkbox"] { 888 | margin-right: -20px; 889 | margin-left: auto; 890 | } 891 | .radio-inline, 892 | .checkbox-inline { 893 | padding-right: 20px; 894 | padding-left: 0; 895 | } 896 | .radio-inline + .radio-inline, 897 | .checkbox-inline + .checkbox-inline { 898 | margin-right: 10px; 899 | margin-left: 0; 900 | } 901 | .has-feedback .form-control { 902 | padding-left: 42.5px; 903 | padding-right: 12px; 904 | } 905 | .form-control-feedback { 906 | left: 0; 907 | right: auto; 908 | } 909 | @media (min-width: 768px) { 910 | .form-inline label { 911 | padding-right: 0; 912 | padding-left: initial; 913 | } 914 | .form-inline .radio input[type="radio"], 915 | .form-inline .checkbox input[type="checkbox"] { 916 | margin-right: 0; 917 | margin-left: auto; 918 | } 919 | } 920 | @media (min-width: 768px) { 921 | .form-horizontal .control-label { 922 | text-align: left; 923 | } 924 | } 925 | .form-horizontal .has-feedback .form-control-feedback { 926 | left: 15px; 927 | right: auto; 928 | } 929 | .caret { 930 | margin-right: 2px; 931 | margin-left: 0; 932 | } 933 | .dropdown-menu { 934 | right: 0; 935 | left: auto; 936 | float: left; 937 | text-align: right; 938 | } 939 | .dropdown-menu.pull-right { 940 | left: 0; 941 | right: auto; 942 | float: right; 943 | } 944 | .dropdown-menu-right { 945 | left: auto; 946 | right: 0; 947 | } 948 | .dropdown-menu-left { 949 | left: 0; 950 | right: auto; 951 | } 952 | @media (min-width: 768px) { 953 | .navbar-right .dropdown-menu { 954 | left: auto; 955 | right: 0; 956 | } 957 | .navbar-right .dropdown-menu-left { 958 | left: 0; 959 | right: auto; 960 | } 961 | } 962 | .btn-group > .btn, 963 | .btn-group-vertical > .btn { 964 | float: right; 965 | } 966 | .btn-group .btn + .btn, 967 | .btn-group .btn + .btn-group, 968 | .btn-group .btn-group + .btn, 969 | .btn-group .btn-group + .btn-group { 970 | margin-right: -1px; 971 | margin-left: 0px; 972 | } 973 | .btn-toolbar { 974 | margin-right: -5px; 975 | margin-left: 0px; 976 | } 977 | .btn-toolbar .btn-group, 978 | .btn-toolbar .input-group { 979 | float: right; 980 | } 981 | .btn-toolbar > .btn, 982 | .btn-toolbar > .btn-group, 983 | .btn-toolbar > .input-group { 984 | margin-right: 5px; 985 | margin-left: 0px; 986 | } 987 | .btn-group > .btn:first-child { 988 | margin-right: 0; 989 | } 990 | .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { 991 | border-top-right-radius: 4px; 992 | border-bottom-right-radius: 4px; 993 | border-bottom-left-radius: 0; 994 | border-top-left-radius: 0; 995 | } 996 | .btn-group > .btn:last-child:not(:first-child), 997 | .btn-group > .dropdown-toggle:not(:first-child) { 998 | border-top-left-radius: 4px; 999 | border-bottom-left-radius: 4px; 1000 | border-bottom-right-radius: 0; 1001 | border-top-right-radius: 0; 1002 | } 1003 | .btn-group > .btn-group { 1004 | float: right; 1005 | } 1006 | .btn-group.btn-group-justified > .btn, 1007 | .btn-group.btn-group-justified > .btn-group { 1008 | float: none; 1009 | } 1010 | .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { 1011 | border-radius: 0; 1012 | } 1013 | .btn-group > .btn-group:first-child > .btn:last-child, 1014 | .btn-group > .btn-group:first-child > .dropdown-toggle { 1015 | border-top-right-radius: 4px; 1016 | border-bottom-right-radius: 4px; 1017 | border-bottom-left-radius: 0; 1018 | border-top-left-radius: 0; 1019 | } 1020 | .btn-group > .btn-group:last-child > .btn:first-child { 1021 | border-top-left-radius: 4px; 1022 | border-bottom-left-radius: 4px; 1023 | border-bottom-right-radius: 0; 1024 | border-top-right-radius: 0; 1025 | } 1026 | .btn .caret { 1027 | margin-right: 0; 1028 | } 1029 | .btn-group-vertical > .btn + .btn, 1030 | .btn-group-vertical > .btn + .btn-group, 1031 | .btn-group-vertical > .btn-group + .btn, 1032 | .btn-group-vertical > .btn-group + .btn-group { 1033 | margin-top: -1px; 1034 | margin-right: 0; 1035 | } 1036 | .input-group .form-control { 1037 | float: right; 1038 | } 1039 | .input-group .form-control:first-child, 1040 | .input-group-addon:first-child, 1041 | .input-group-btn:first-child > .btn, 1042 | .input-group-btn:first-child > .btn-group > .btn, 1043 | .input-group-btn:first-child > .dropdown-toggle, 1044 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), 1045 | .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { 1046 | border-bottom-right-radius: 4px; 1047 | border-top-right-radius: 4px; 1048 | border-bottom-left-radius: 0; 1049 | border-top-left-radius: 0; 1050 | } 1051 | .input-group-addon:first-child { 1052 | border-left: 0px; 1053 | border-right: 1px solid; 1054 | } 1055 | .input-group .form-control:last-child, 1056 | .input-group-addon:last-child, 1057 | .input-group-btn:last-child > .btn, 1058 | .input-group-btn:last-child > .btn-group > .btn, 1059 | .input-group-btn:last-child > .dropdown-toggle, 1060 | .input-group-btn:first-child > .btn:not(:first-child), 1061 | .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { 1062 | border-bottom-left-radius: 4px; 1063 | border-top-left-radius: 4px; 1064 | border-bottom-right-radius: 0; 1065 | border-top-right-radius: 0; 1066 | } 1067 | .input-group-addon:last-child { 1068 | border-left-width: 1px; 1069 | border-left-style: solid; 1070 | border-right: 0px; 1071 | } 1072 | .input-group-btn > .btn + .btn { 1073 | margin-right: -1px; 1074 | margin-left: auto; 1075 | } 1076 | .input-group-btn:first-child > .btn, 1077 | .input-group-btn:first-child > .btn-group { 1078 | margin-left: -1px; 1079 | margin-right: auto; 1080 | } 1081 | .input-group-btn:last-child > .btn, 1082 | .input-group-btn:last-child > .btn-group { 1083 | margin-right: -1px; 1084 | margin-left: auto; 1085 | } 1086 | .nav { 1087 | padding-right: 0; 1088 | padding-left: initial; 1089 | } 1090 | .nav-tabs > li { 1091 | float: right; 1092 | } 1093 | .nav-tabs > li > a { 1094 | margin-left: auto; 1095 | margin-right: -2px; 1096 | border-radius: 4px 4px 0 0; 1097 | } 1098 | .nav-pills > li { 1099 | float: right; 1100 | } 1101 | .nav-pills > li > a { 1102 | border-radius: 4px; 1103 | } 1104 | .nav-pills > li + li { 1105 | margin-right: 2px; 1106 | margin-left: auto; 1107 | } 1108 | .nav-stacked > li { 1109 | float: none; 1110 | } 1111 | .nav-stacked > li + li { 1112 | margin-right: 0; 1113 | margin-left: auto; 1114 | } 1115 | .nav-justified > .dropdown .dropdown-menu { 1116 | right: auto; 1117 | } 1118 | .nav-tabs-justified > li > a { 1119 | margin-left: 0; 1120 | margin-right: auto; 1121 | } 1122 | @media (min-width: 768px) { 1123 | .nav-tabs-justified > li > a { 1124 | border-radius: 4px 4px 0 0; 1125 | } 1126 | } 1127 | @media (min-width: 768px) { 1128 | .navbar-header { 1129 | float: right; 1130 | } 1131 | } 1132 | .navbar-collapse { 1133 | padding-right: 15px; 1134 | padding-left: 15px; 1135 | } 1136 | .navbar-brand { 1137 | float: right; 1138 | } 1139 | @media (min-width: 768px) { 1140 | .navbar > .container .navbar-brand, 1141 | .navbar > .container-fluid .navbar-brand { 1142 | margin-right: -15px; 1143 | margin-left: auto; 1144 | } 1145 | } 1146 | .navbar-toggle { 1147 | float: left; 1148 | margin-left: 15px; 1149 | margin-right: auto; 1150 | } 1151 | @media (max-width: 767px) { 1152 | .navbar-nav .open .dropdown-menu > li > a, 1153 | .navbar-nav .open .dropdown-menu .dropdown-header { 1154 | padding: 5px 25px 5px 15px; 1155 | } 1156 | } 1157 | @media (min-width: 768px) { 1158 | .navbar-nav { 1159 | float: right; 1160 | } 1161 | .navbar-nav > li { 1162 | float: right; 1163 | } 1164 | } 1165 | @media (min-width: 768px) { 1166 | .navbar-left.flip { 1167 | float: right !important; 1168 | } 1169 | .navbar-right:last-child { 1170 | margin-left: -15px; 1171 | margin-right: auto; 1172 | } 1173 | .navbar-right.flip { 1174 | float: left !important; 1175 | margin-left: -15px; 1176 | margin-right: auto; 1177 | } 1178 | .navbar-right .dropdown-menu { 1179 | left: 0; 1180 | right: auto; 1181 | } 1182 | } 1183 | @media (min-width: 768px) { 1184 | .navbar-text { 1185 | float: right; 1186 | } 1187 | .navbar-text.navbar-right:last-child { 1188 | margin-left: 0; 1189 | margin-right: auto; 1190 | } 1191 | } 1192 | .pagination { 1193 | padding-right: 0; 1194 | } 1195 | .pagination > li > a, 1196 | .pagination > li > span { 1197 | float: right; 1198 | margin-right: -1px; 1199 | margin-left: 0px; 1200 | } 1201 | .pagination > li:first-child > a, 1202 | .pagination > li:first-child > span { 1203 | margin-left: 0; 1204 | border-bottom-right-radius: 4px; 1205 | border-top-right-radius: 4px; 1206 | border-bottom-left-radius: 0; 1207 | border-top-left-radius: 0; 1208 | } 1209 | .pagination > li:last-child > a, 1210 | .pagination > li:last-child > span { 1211 | margin-right: -1px; 1212 | border-bottom-left-radius: 4px; 1213 | border-top-left-radius: 4px; 1214 | border-bottom-right-radius: 0; 1215 | border-top-right-radius: 0; 1216 | } 1217 | .pager { 1218 | padding-right: 0; 1219 | padding-left: initial; 1220 | } 1221 | .pager .next > a, 1222 | .pager .next > span { 1223 | float: left; 1224 | } 1225 | .pager .previous > a, 1226 | .pager .previous > span { 1227 | float: right; 1228 | } 1229 | .nav-pills > li > a > .badge { 1230 | margin-left: 0px; 1231 | margin-right: 3px; 1232 | } 1233 | .list-group-item > .badge { 1234 | float: left; 1235 | } 1236 | .list-group-item > .badge + .badge { 1237 | margin-left: 5px; 1238 | margin-right: auto; 1239 | } 1240 | .alert-dismissable, 1241 | .alert-dismissible { 1242 | padding-left: 35px; 1243 | padding-right: 15px; 1244 | } 1245 | .alert-dismissable .close, 1246 | .alert-dismissible .close { 1247 | right: auto; 1248 | left: -21px; 1249 | } 1250 | .progress-bar { 1251 | float: right; 1252 | } 1253 | .media > .pull-left { 1254 | margin-right: 10px; 1255 | } 1256 | .media > .pull-left.flip { 1257 | margin-right: 0; 1258 | margin-left: 10px; 1259 | } 1260 | .media > .pull-right { 1261 | margin-left: 10px; 1262 | } 1263 | .media > .pull-right.flip { 1264 | margin-left: 0; 1265 | margin-right: 10px; 1266 | } 1267 | .media-right, 1268 | .media > .pull-right { 1269 | padding-right: 10px; 1270 | padding-left: initial; 1271 | } 1272 | .media-left, 1273 | .media > .pull-left { 1274 | padding-left: 10px; 1275 | padding-right: initial; 1276 | } 1277 | .media-list { 1278 | padding-right: 0; 1279 | padding-left: initial; 1280 | list-style: none; 1281 | } 1282 | .list-group { 1283 | padding-right: 0; 1284 | padding-left: initial; 1285 | } 1286 | .panel > .table:first-child > thead:first-child > tr:first-child td:first-child, 1287 | .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, 1288 | .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, 1289 | .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, 1290 | .panel > .table:first-child > thead:first-child > tr:first-child th:first-child, 1291 | .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, 1292 | .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, 1293 | .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { 1294 | border-top-right-radius: 3px; 1295 | border-top-left-radius: 0; 1296 | } 1297 | .panel > .table:first-child > thead:first-child > tr:first-child td:last-child, 1298 | .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, 1299 | .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, 1300 | .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, 1301 | .panel > .table:first-child > thead:first-child > tr:first-child th:last-child, 1302 | .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, 1303 | .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, 1304 | .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { 1305 | border-top-left-radius: 3px; 1306 | border-top-right-radius: 0; 1307 | } 1308 | .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, 1309 | .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, 1310 | .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, 1311 | .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, 1312 | .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, 1313 | .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, 1314 | .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, 1315 | .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { 1316 | border-bottom-left-radius: 3px; 1317 | border-top-right-radius: 0; 1318 | } 1319 | .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, 1320 | .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, 1321 | .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, 1322 | .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, 1323 | .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, 1324 | .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, 1325 | .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, 1326 | .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { 1327 | border-bottom-right-radius: 3px; 1328 | border-top-left-radius: 0; 1329 | } 1330 | .panel > .table-bordered > thead > tr > th:first-child, 1331 | .panel > .table-responsive > .table-bordered > thead > tr > th:first-child, 1332 | .panel > .table-bordered > tbody > tr > th:first-child, 1333 | .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, 1334 | .panel > .table-bordered > tfoot > tr > th:first-child, 1335 | .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, 1336 | .panel > .table-bordered > thead > tr > td:first-child, 1337 | .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, 1338 | .panel > .table-bordered > tbody > tr > td:first-child, 1339 | .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, 1340 | .panel > .table-bordered > tfoot > tr > td:first-child, 1341 | .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { 1342 | border-right: 0; 1343 | border-left: none; 1344 | } 1345 | .panel > .table-bordered > thead > tr > th:last-child, 1346 | .panel > .table-responsive > .table-bordered > thead > tr > th:last-child, 1347 | .panel > .table-bordered > tbody > tr > th:last-child, 1348 | .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, 1349 | .panel > .table-bordered > tfoot > tr > th:last-child, 1350 | .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, 1351 | .panel > .table-bordered > thead > tr > td:last-child, 1352 | .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, 1353 | .panel > .table-bordered > tbody > tr > td:last-child, 1354 | .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, 1355 | .panel > .table-bordered > tfoot > tr > td:last-child, 1356 | .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { 1357 | border-right: none; 1358 | border-left: 0; 1359 | } 1360 | .embed-responsive .embed-responsive-item, 1361 | .embed-responsive iframe, 1362 | .embed-responsive embed, 1363 | .embed-responsive object { 1364 | right: 0; 1365 | left: auto; 1366 | } 1367 | .close { 1368 | float: left; 1369 | } 1370 | .modal-footer { 1371 | text-align: left; 1372 | } 1373 | .modal-footer.flip { 1374 | text-align: right; 1375 | } 1376 | .modal-footer .btn + .btn { 1377 | margin-left: auto; 1378 | margin-right: 5px; 1379 | } 1380 | .modal-footer .btn-group .btn + .btn { 1381 | margin-right: -1px; 1382 | margin-left: auto; 1383 | } 1384 | .modal-footer .btn-block + .btn-block { 1385 | margin-right: 0; 1386 | margin-left: auto; 1387 | } 1388 | .popover { 1389 | left: auto; 1390 | text-align: right; 1391 | } 1392 | .popover.top > .arrow { 1393 | right: 50%; 1394 | left: auto; 1395 | margin-right: -11px; 1396 | margin-left: auto; 1397 | } 1398 | .popover.top > .arrow:after { 1399 | margin-right: -10px; 1400 | margin-left: auto; 1401 | } 1402 | .popover.bottom > .arrow { 1403 | right: 50%; 1404 | left: auto; 1405 | margin-right: -11px; 1406 | margin-left: auto; 1407 | } 1408 | .popover.bottom > .arrow:after { 1409 | margin-right: -10px; 1410 | margin-left: auto; 1411 | } 1412 | .carousel-control { 1413 | right: 0; 1414 | bottom: 0; 1415 | } 1416 | .carousel-control.left { 1417 | right: auto; 1418 | left: 0; 1419 | background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0%), color-stop(rgba(0, 0, 0, 0.0001) 100%)); 1420 | background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); 1421 | background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); 1422 | background-repeat: repeat-x; 1423 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); 1424 | } 1425 | .carousel-control.right { 1426 | left: auto; 1427 | right: 0; 1428 | background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0%), color-stop(rgba(0, 0, 0, 0.5) 100%)); 1429 | background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); 1430 | background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); 1431 | background-repeat: repeat-x; 1432 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); 1433 | } 1434 | .carousel-control .icon-prev, 1435 | .carousel-control .glyphicon-chevron-left { 1436 | left: 50%; 1437 | right: auto; 1438 | margin-right: -10px; 1439 | } 1440 | .carousel-control .icon-next, 1441 | .carousel-control .glyphicon-chevron-right { 1442 | right: 50%; 1443 | left: auto; 1444 | margin-left: -10px; 1445 | } 1446 | .carousel-indicators { 1447 | right: 50%; 1448 | left: 0; 1449 | margin-right: -30%; 1450 | margin-left: 0; 1451 | padding-left: 0; 1452 | } 1453 | @media screen and (min-width: 768px) { 1454 | .carousel-control .glyphicon-chevron-left, 1455 | .carousel-control .icon-prev { 1456 | margin-left: 0; 1457 | margin-right: -15px; 1458 | } 1459 | .carousel-control .glyphicon-chevron-right, 1460 | .carousel-control .icon-next { 1461 | margin-left: 0; 1462 | margin-right: -15px; 1463 | } 1464 | .carousel-caption { 1465 | left: 20%; 1466 | right: 20%; 1467 | padding-bottom: 30px; 1468 | } 1469 | } 1470 | .pull-right.flip { 1471 | float: left !important; 1472 | } 1473 | .pull-left.flip { 1474 | float: right !important; 1475 | } 1476 | /*# sourceMappingURL=bootstrap-rtl.css.map */ --------------------------------------------------------------------------------