cg_app_base 1.0.52 → 1.0.54
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/logo_caronetguay-3.jpg +0 -0
- data/app/assets/javascripts/base.js.coffee +11 -1
- data/app/assets/stylesheets/application2.scss +260 -72
- data/app/assets/stylesheets/print.css +197 -0
- data/app/helpers/cg_app_base/application_helper.rb +1 -1
- data/app/views/layouts/application.html.erb +18 -3
- data/config/navigation.rb +2 -2
- data/lib/cg_app_base/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94936792548b2781b0e992ba4424d3ec66b079c6
|
4
|
+
data.tar.gz: 11dd4118848ec1ff8198b177c7909584e193c937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b00a53f18b481b1dfcfe3b5607a6aa6935acdd85a96080dbfa6e222f83b1192dad9e8055b0812525f930ecca8b027c6835f2434d5cb419c3dd831bc8f78e8b98
|
7
|
+
data.tar.gz: 178999a48ede7132a59ea7c64986748257d806a7c71ce8811780d4c1d8a03d1328fa480dcedf8f1740f98ce37cd21d51db9550e8fdef68743c1590b476c76324
|
Binary file
|
@@ -53,4 +53,14 @@ $.MyApp =
|
|
53
53
|
empty_hide_modal: () ->
|
54
54
|
$('#modal-window').modal('hide')
|
55
55
|
$('#modal-window .modal-body').html('')
|
56
|
-
@
|
56
|
+
@
|
57
|
+
|
58
|
+
$ ->
|
59
|
+
$('.row-eq-height').each ->
|
60
|
+
heights = $(this).find('.col-eq-height').map(->
|
61
|
+
$(this).outerHeight()
|
62
|
+
).get()
|
63
|
+
maxHeight = Math.max.apply(null, heights)
|
64
|
+
$(this).find('.col-eq-height').outerHeight maxHeight
|
65
|
+
@
|
66
|
+
@
|
@@ -19,33 +19,114 @@ body {
|
|
19
19
|
label {
|
20
20
|
font-size: 14px !important;
|
21
21
|
}
|
22
|
+
#modal #checkerMail label.control-label {
|
23
|
+
display: none !important;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.page-header {
|
28
|
+
min-height: 66px;
|
29
|
+
|
30
|
+
> h1 {
|
31
|
+
font-size: 24px;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
tr.text-muted a {
|
36
|
+
color: #18354c !important;
|
37
|
+
}
|
38
|
+
|
39
|
+
tr.text-primary a {
|
40
|
+
color: #428bca !important;
|
41
|
+
}
|
42
|
+
|
43
|
+
tr.text-warning a {
|
44
|
+
color: #efac4f !important;
|
45
|
+
}
|
46
|
+
|
47
|
+
tr.text-danger a {
|
48
|
+
color: #940004 !important;
|
49
|
+
}
|
50
|
+
|
51
|
+
tr.text-success a {
|
52
|
+
color: #5cb85c !important;
|
53
|
+
}
|
54
|
+
|
55
|
+
tr.text-info a {
|
56
|
+
color: #9564e2 !important;
|
57
|
+
}
|
58
|
+
|
59
|
+
tr.text-muted a {
|
60
|
+
color: #999999 !important;
|
61
|
+
}
|
62
|
+
|
63
|
+
tr.text-pink a {
|
64
|
+
color: #c44a83 !important;
|
65
|
+
}
|
66
|
+
|
67
|
+
tr.text-banana a {
|
68
|
+
color: #fcd052 !important;
|
69
|
+
}
|
70
|
+
|
71
|
+
tr.text-darkOrange a {
|
72
|
+
color: #f56e00 !important;
|
73
|
+
}
|
74
|
+
|
75
|
+
tr.text-darkColor a {
|
76
|
+
color: #2b2d30 !important;
|
77
|
+
}
|
78
|
+
|
79
|
+
tr.text-fb a {
|
80
|
+
color: #3d579d !important;
|
81
|
+
}
|
82
|
+
|
83
|
+
.label-muted {
|
84
|
+
background-color: #18354c !important;
|
85
|
+
}
|
86
|
+
|
87
|
+
.label-primary {
|
88
|
+
background-color: #428bca !important;
|
89
|
+
}
|
90
|
+
|
91
|
+
.label-warning {
|
92
|
+
background-color: #efac4f !important;
|
93
|
+
}
|
94
|
+
|
95
|
+
.label-danger {
|
96
|
+
background-color: #940004 !important;
|
97
|
+
}
|
98
|
+
|
99
|
+
.label-success {
|
100
|
+
background-color: #5cb85c !important;
|
101
|
+
}
|
102
|
+
|
103
|
+
.label-info {
|
104
|
+
background-color: #9564e2 !important;
|
105
|
+
}
|
106
|
+
|
107
|
+
.label-muted {
|
108
|
+
background-color: #999999 !important;
|
109
|
+
}
|
110
|
+
|
111
|
+
.label-pink {
|
112
|
+
background-color: #c44a83 !important;
|
22
113
|
}
|
23
114
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
.label-warning { background-color: #efac4f !important; }
|
40
|
-
.label-danger { background-color: #940004 !important; }
|
41
|
-
.label-success { background-color: #5cb85c !important; }
|
42
|
-
.label-info { background-color: #9564e2 !important; }
|
43
|
-
.label-muted { background-color: #999999 !important; }
|
44
|
-
.label-pink { background-color: #c44a83 !important; }
|
45
|
-
.label-banana { background-color: #fcd052 !important; }
|
46
|
-
.label-darkOrange { background-color:#f56e00 !important;}
|
47
|
-
.label-darkColor { background-color: #2b2d30 !important; }
|
48
|
-
.label-fb { background-color: #3d579d !important; }
|
115
|
+
.label-banana {
|
116
|
+
background-color: #fcd052 !important;
|
117
|
+
}
|
118
|
+
|
119
|
+
.label-darkOrange {
|
120
|
+
background-color: #f56e00 !important;
|
121
|
+
}
|
122
|
+
|
123
|
+
.label-darkColor {
|
124
|
+
background-color: #2b2d30 !important;
|
125
|
+
}
|
126
|
+
|
127
|
+
.label-fb {
|
128
|
+
background-color: #3d579d !important;
|
129
|
+
}
|
49
130
|
|
50
131
|
.label {
|
51
132
|
font-size: 100% !important;
|
@@ -64,6 +145,13 @@ tr.text-fb a { color: #3d579d !important; }
|
|
64
145
|
margin-bottom: 5px;
|
65
146
|
}
|
66
147
|
|
148
|
+
.row-eq-height {
|
149
|
+
display: -webkit-box;
|
150
|
+
display: -webkit-flex;
|
151
|
+
display: -ms-flexbox;
|
152
|
+
display: flex;
|
153
|
+
}
|
154
|
+
|
67
155
|
header .navbar {
|
68
156
|
margin: 0;
|
69
157
|
padding: 0 0px;
|
@@ -83,6 +171,8 @@ header .navbar {
|
|
83
171
|
|
84
172
|
.main-nav-opened #main-nav-bg {
|
85
173
|
width: 175px;
|
174
|
+
background-color: #FBFBFB !important;
|
175
|
+
border-right: 0px solid #ffffff !important;
|
86
176
|
}
|
87
177
|
|
88
178
|
.main-nav-opened #content {
|
@@ -151,9 +241,8 @@ header .navbar {
|
|
151
241
|
|
152
242
|
#content {
|
153
243
|
margin-left: 175px;
|
154
|
-
background: #
|
244
|
+
background: #ffffff;
|
155
245
|
min-width: 276px;
|
156
|
-
background: #fbfbfb;
|
157
246
|
}
|
158
247
|
|
159
248
|
/* end of navigation side */
|
@@ -399,6 +488,14 @@ abbr[data-original-title] {
|
|
399
488
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
|
400
489
|
}
|
401
490
|
|
491
|
+
.box .box-content-no-border {
|
492
|
+
padding: 10px;
|
493
|
+
margin-bottom: 0px;
|
494
|
+
border: 0px solid #dddddd;
|
495
|
+
background: white;
|
496
|
+
display: block;
|
497
|
+
}
|
498
|
+
|
402
499
|
.date-box-content {
|
403
500
|
padding: 0;
|
404
501
|
margin: 0px;
|
@@ -520,7 +617,7 @@ abbr[data-original-title] {
|
|
520
617
|
}
|
521
618
|
|
522
619
|
.datepicker table tr td.old, .datepicker table tr td.new {
|
523
|
-
color: rgba(0,0,0,0.85);
|
620
|
+
color: rgba(0, 0, 0, 0.85);
|
524
621
|
opacity: 0.4;
|
525
622
|
}
|
526
623
|
|
@@ -831,8 +928,8 @@ address {
|
|
831
928
|
|
832
929
|
div.invoiceTitle, span.invoiceTitle {
|
833
930
|
text-align: right !important;
|
834
|
-
border: 0px solid rgba(255,255,255,1) !important;
|
835
|
-
background-color: rgba(255,255,255,1) !important;
|
931
|
+
border: 0px solid rgba(255, 255, 255, 1) !important;
|
932
|
+
background-color: rgba(255, 255, 255, 1) !important;
|
836
933
|
}
|
837
934
|
|
838
935
|
.border-cod {
|
@@ -844,10 +941,10 @@ div.invoiceTitle, span.invoiceTitle {
|
|
844
941
|
}
|
845
942
|
|
846
943
|
div.invoiceBkg, span.invoiceBkg {
|
847
|
-
border-top: 0px solid rgba(255,255,255,1) !important;
|
848
|
-
border-bottom: 0px solid rgba(255,255,255,1) !important;
|
849
|
-
border-right: 0px solid rgba(255,255,255,1) !important;
|
850
|
-
background-color: rgba(255,255,255,1) !important;
|
944
|
+
border-top: 0px solid rgba(255, 255, 255, 1) !important;
|
945
|
+
border-bottom: 0px solid rgba(255, 255, 255, 1) !important;
|
946
|
+
border-right: 0px solid rgba(255, 255, 255, 1) !important;
|
947
|
+
background-color: rgba(255, 255, 255, 1) !important;
|
851
948
|
}
|
852
949
|
|
853
950
|
#contracts {
|
@@ -870,7 +967,7 @@ div.invoiceBkg, span.invoiceBkg {
|
|
870
967
|
}
|
871
968
|
|
872
969
|
.alert {
|
873
|
-
margin-top:20px;
|
970
|
+
margin-top: 20px;
|
874
971
|
width: 100%;
|
875
972
|
position: relative;
|
876
973
|
}
|
@@ -1009,13 +1106,26 @@ input, button, select, textarea {
|
|
1009
1106
|
padding: 14px;
|
1010
1107
|
}
|
1011
1108
|
|
1109
|
+
.searchblock label {
|
1110
|
+
color: #ffffff;
|
1111
|
+
font-size: 0.9em !important;
|
1112
|
+
font-weight: 400;
|
1113
|
+
line-height: 2em;
|
1114
|
+
}
|
1115
|
+
|
1012
1116
|
/* navigation onglets */
|
1013
1117
|
|
1014
1118
|
.nav > li > a {
|
1015
1119
|
position: relative;
|
1016
1120
|
display: block;
|
1017
|
-
padding:
|
1018
|
-
font-size:
|
1121
|
+
padding: 7px 9px;
|
1122
|
+
font-size: 1em;
|
1123
|
+
}
|
1124
|
+
|
1125
|
+
/* historiqueux */
|
1126
|
+
|
1127
|
+
.timeline li .title, .timeline li .title small {
|
1128
|
+
font-family: 'Roboto Condensed', sans-serif;
|
1019
1129
|
}
|
1020
1130
|
|
1021
1131
|
@media screen and (min-width: 768px) {
|
@@ -1180,7 +1290,7 @@ input, button, select, textarea {
|
|
1180
1290
|
|
1181
1291
|
.dd-handle {
|
1182
1292
|
text-transform: uppercase;
|
1183
|
-
background-color: rgba(255,255,255,1);
|
1293
|
+
background-color: rgba(255, 255, 255, 1);
|
1184
1294
|
display: inline-block;
|
1185
1295
|
width: 100%;
|
1186
1296
|
padding: 6px;
|
@@ -1190,7 +1300,7 @@ input, button, select, textarea {
|
|
1190
1300
|
|
1191
1301
|
&:hover {
|
1192
1302
|
color: #000000;
|
1193
|
-
background-color: rgba(240,240,240,1);
|
1303
|
+
background-color: rgba(240, 240, 240, 1);
|
1194
1304
|
-webkit-transition: all 500ms ease 0.1s;
|
1195
1305
|
-moz-transition: all 500ms ease 0.1s;
|
1196
1306
|
-o-transition: all 500ms ease 0.1s;
|
@@ -1243,25 +1353,12 @@ input, button, select, textarea {
|
|
1243
1353
|
|
1244
1354
|
#projections {
|
1245
1355
|
|
1246
|
-
.autoheight {
|
1247
|
-
height: auto;
|
1248
|
-
}
|
1249
|
-
.fullheight {
|
1250
|
-
height: 100%;
|
1251
|
-
}
|
1252
|
-
.fix-height155 {
|
1253
|
-
min-height: 155px;
|
1254
|
-
}
|
1255
|
-
.fix-height275 {
|
1256
|
-
min-height: 275px;
|
1257
|
-
}
|
1258
1356
|
.bigtitle {
|
1259
1357
|
font-size: 1.2em;
|
1260
1358
|
font-weight: bold;
|
1261
1359
|
}
|
1262
1360
|
|
1263
1361
|
.title {
|
1264
|
-
margin-left: 6px;
|
1265
1362
|
margin-top: 6px;
|
1266
1363
|
|
1267
1364
|
a {
|
@@ -1327,35 +1424,78 @@ input, button, select, textarea {
|
|
1327
1424
|
table {
|
1328
1425
|
width: 100%;
|
1329
1426
|
|
1427
|
+
.table {
|
1428
|
+
width: 100%;
|
1429
|
+
}
|
1430
|
+
|
1330
1431
|
thead {
|
1331
|
-
background-color: rgba(30, 30, 30,
|
1432
|
+
background-color: rgba(30, 30, 30, 0.7);
|
1433
|
+
color: #ffffff;
|
1434
|
+
|
1435
|
+
> tr {
|
1436
|
+
border-bottom: 1px solid #dbdbdb;
|
1437
|
+
|
1438
|
+
> th {
|
1439
|
+
font-size: 60%;
|
1440
|
+
font-weight: 400;
|
1441
|
+
border: none;
|
1442
|
+
float: left;
|
1443
|
+
}
|
1444
|
+
}
|
1332
1445
|
}
|
1333
1446
|
|
1334
1447
|
tbody {
|
1335
|
-
}
|
1336
1448
|
|
1337
|
-
|
1338
|
-
|
1449
|
+
> tr {
|
1450
|
+
width: 100%;
|
1451
|
+
margin: 0;
|
1452
|
+
> td {
|
1453
|
+
margin: 0;
|
1454
|
+
border: 0;
|
1455
|
+
> table {
|
1456
|
+
margin: 0;
|
1457
|
+
padding: 0;
|
1458
|
+
//width: 100%;
|
1459
|
+
> tr {
|
1460
|
+
//width: 100%;
|
1461
|
+
> td {
|
1462
|
+
//width: 100% !important;
|
1463
|
+
> tr {
|
1464
|
+
border: 0px solid #ffffff;
|
1465
|
+
//width: 100%;
|
1466
|
+
|
1467
|
+
> td {
|
1468
|
+
font-size: 0.8em;
|
1469
|
+
}
|
1470
|
+
}
|
1471
|
+
}
|
1472
|
+
}
|
1473
|
+
}
|
1474
|
+
}
|
1475
|
+
}
|
1339
1476
|
}
|
1340
1477
|
|
1341
|
-
|
1342
|
-
color: rgba(255, 255, 255, 1.0);
|
1343
|
-
text-align: left;
|
1344
|
-
border: none;
|
1345
|
-
}
|
1478
|
+
.blockForecast {
|
1346
1479
|
|
1347
|
-
th {
|
1348
|
-
font-size: 70%;
|
1349
|
-
font-weight: 400;
|
1350
|
-
text-align: left;
|
1351
|
-
border: none;
|
1352
1480
|
}
|
1353
1481
|
|
1354
|
-
|
1355
|
-
|
1482
|
+
.odds {
|
1483
|
+
background-color: #d7d7d7 !important;
|
1484
|
+
//border-top: 2px solid #5B5B5B !important;
|
1485
|
+
//border-bottom: 2px solid #5B5B5B !important;
|
1486
|
+
}
|
1487
|
+
.even {
|
1488
|
+
background-color: #ebebeb !important;
|
1489
|
+
//border-top: 2px solid #5B5B5B !important;
|
1490
|
+
//border-bottom: 2px solid #5B5B5B !important;
|
1356
1491
|
}
|
1357
1492
|
|
1358
1493
|
}
|
1494
|
+
.label {
|
1495
|
+
color: #ffffff;
|
1496
|
+
font-size: 70% !important;
|
1497
|
+
display: inline-block;
|
1498
|
+
}
|
1359
1499
|
|
1360
1500
|
.bigtitlewhite {
|
1361
1501
|
color: rgba(0, 0, 0, 1.0);
|
@@ -1388,8 +1528,7 @@ input, button, select, textarea {
|
|
1388
1528
|
.projectionsbox {
|
1389
1529
|
margin: 0 0 8px 0;
|
1390
1530
|
width: 100%;
|
1391
|
-
|
1392
|
-
//min-width: 150px;
|
1531
|
+
height: 100%;
|
1393
1532
|
float: left;
|
1394
1533
|
max-width: 277.8px;
|
1395
1534
|
overflow: hidden;
|
@@ -1634,7 +1773,7 @@ th.tableheadtitle {
|
|
1634
1773
|
}
|
1635
1774
|
|
1636
1775
|
p.titletable {
|
1637
|
-
font-size:
|
1776
|
+
font-size: 108%;
|
1638
1777
|
text-align: center;
|
1639
1778
|
margin: 0px;
|
1640
1779
|
padding: 0px;
|
@@ -1646,9 +1785,13 @@ p.titletable {
|
|
1646
1785
|
line-height: 1.428571429;
|
1647
1786
|
vertical-align: top;
|
1648
1787
|
border-top: 1px solid #dddddd;
|
1649
|
-
font-size: 0.
|
1788
|
+
font-size: 0.8em;
|
1650
1789
|
text-overflow: ellipsis;
|
1651
1790
|
}
|
1791
|
+
#projections .table thead > tr > th, #projections .table thead > tr > td, #projections .table tbody > tr > th, #projections .table tbody > tr > td, #projections .table tfoot > tr > th, #projections .table tfoot > tr > td {
|
1792
|
+
font-size: 0.845em;
|
1793
|
+
width: 50%;
|
1794
|
+
}
|
1652
1795
|
|
1653
1796
|
@media print {
|
1654
1797
|
.no-print, .no-print * {
|
@@ -1672,4 +1815,49 @@ p.titletable {
|
|
1672
1815
|
|
1673
1816
|
.white-space-normal {
|
1674
1817
|
white-space: normal !important;
|
1818
|
+
}
|
1819
|
+
|
1820
|
+
.row-eq-height {
|
1821
|
+
display: -webkit-box;
|
1822
|
+
display: -webkit-flex;
|
1823
|
+
display: -ms-flexbox;
|
1824
|
+
display: flex;
|
1825
|
+
}
|
1826
|
+
|
1827
|
+
.col-special {
|
1828
|
+
position: relative;
|
1829
|
+
min-height: 1px;
|
1830
|
+
margin: 0 2px 2px 0;
|
1831
|
+
float: left;
|
1832
|
+
width: 19.12%;
|
1833
|
+
|
1834
|
+
&:first-child {
|
1835
|
+
margin-left: 15px !important;
|
1836
|
+
}
|
1837
|
+
&:last-child {
|
1838
|
+
margin-right: 15px !important;
|
1839
|
+
}
|
1840
|
+
}
|
1841
|
+
|
1842
|
+
/* survey */
|
1843
|
+
#surveyGrid {
|
1844
|
+
|
1845
|
+
table {
|
1846
|
+
|
1847
|
+
tr {
|
1848
|
+
|
1849
|
+
td {
|
1850
|
+
|
1851
|
+
> a {
|
1852
|
+
cursor: pointer !important;
|
1853
|
+
|
1854
|
+
&:hover {
|
1855
|
+
color: #940004;
|
1856
|
+
text-decoration: none;
|
1857
|
+
}
|
1858
|
+
}
|
1859
|
+
}
|
1860
|
+
}
|
1861
|
+
}
|
1862
|
+
|
1675
1863
|
}
|
@@ -0,0 +1,197 @@
|
|
1
|
+
@import 'flatty/theme-colors';
|
2
|
+
@import 'flatty/bootstrap/bootstrap';
|
3
|
+
@import 'stylesheets/_timeline';
|
4
|
+
|
5
|
+
html {
|
6
|
+
font: 62.5%/1.4 'Roboto Condensed', sans-serif;
|
7
|
+
}
|
8
|
+
|
9
|
+
body {
|
10
|
+
font-size: 1.3em;
|
11
|
+
padding: 90px;
|
12
|
+
background-color: #b0e6ff;
|
13
|
+
}
|
14
|
+
|
15
|
+
header.letter {
|
16
|
+
|
17
|
+
}
|
18
|
+
|
19
|
+
#header, #footer {
|
20
|
+
width: 960px;
|
21
|
+
margin: 0 auto;
|
22
|
+
}
|
23
|
+
|
24
|
+
#header p {
|
25
|
+
font-size: 150%;
|
26
|
+
}
|
27
|
+
|
28
|
+
h1, div.source {
|
29
|
+
font-family: "Times New Roman", Times, monospace;
|
30
|
+
}
|
31
|
+
|
32
|
+
h1 {
|
33
|
+
margin: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
h1 a {
|
37
|
+
display: block;
|
38
|
+
width: 300px;
|
39
|
+
text-decoration: none;
|
40
|
+
margin: 0;
|
41
|
+
padding: 52px 0 25px 215px;
|
42
|
+
color: #253c93;
|
43
|
+
}
|
44
|
+
|
45
|
+
h1 span {
|
46
|
+
display: none;
|
47
|
+
}
|
48
|
+
|
49
|
+
h2 {
|
50
|
+
margin: 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
h2 a {
|
54
|
+
font-size: 70%;
|
55
|
+
}
|
56
|
+
|
57
|
+
a {
|
58
|
+
color: #253c93;
|
59
|
+
}
|
60
|
+
|
61
|
+
p {
|
62
|
+
text-align: justify;
|
63
|
+
}
|
64
|
+
|
65
|
+
.example, .source {
|
66
|
+
float: left;
|
67
|
+
}
|
68
|
+
|
69
|
+
.example {
|
70
|
+
width: 58%;
|
71
|
+
}
|
72
|
+
|
73
|
+
.source {
|
74
|
+
width: 40%;
|
75
|
+
}
|
76
|
+
|
77
|
+
iframe.example, div.source {
|
78
|
+
height: 500px;
|
79
|
+
border: 1px solid #ccc;
|
80
|
+
background-color: #fff;
|
81
|
+
}
|
82
|
+
|
83
|
+
div.source {
|
84
|
+
border-left: 0px none;
|
85
|
+
padding: 0 0 0 1%;
|
86
|
+
overflow: auto;
|
87
|
+
}
|
88
|
+
|
89
|
+
div.source pre {
|
90
|
+
white-space: pre-wrap;
|
91
|
+
font-size: 12px;
|
92
|
+
}
|
93
|
+
|
94
|
+
.letterMain {
|
95
|
+
margin: 25px 0 0 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
a.btn-primary {
|
99
|
+
color: #ffffff !important;
|
100
|
+
text-decoration: none !important;
|
101
|
+
}
|
102
|
+
.btn-primary:hover {
|
103
|
+
text-decoration: none;
|
104
|
+
|
105
|
+
-webkit-transition: all 500ms ease 0.1s;
|
106
|
+
-moz-transition: all 500ms ease 0.1s;
|
107
|
+
-o-transition: all 500ms ease 0.1s;
|
108
|
+
transition: all 500ms ease 0.1s;
|
109
|
+
}
|
110
|
+
|
111
|
+
#footer {
|
112
|
+
clear: both;
|
113
|
+
min-height: 125px;
|
114
|
+
text-align: center;
|
115
|
+
padding-top: 1px;
|
116
|
+
}
|
117
|
+
|
118
|
+
#footer p {
|
119
|
+
font-size: 140%;
|
120
|
+
line-height: 1.2;
|
121
|
+
margin: .5em 0;
|
122
|
+
}
|
123
|
+
|
124
|
+
#footer a {
|
125
|
+
float: left;
|
126
|
+
margin: .5em 1em 0 0;
|
127
|
+
}
|
128
|
+
|
129
|
+
#bsap_1239784 {
|
130
|
+
margin: .5em 0;
|
131
|
+
}
|
132
|
+
|
133
|
+
body, #content, #container {
|
134
|
+
width: 100%;
|
135
|
+
margin: 0;
|
136
|
+
float: none;
|
137
|
+
background: #fff url(none);
|
138
|
+
}
|
139
|
+
|
140
|
+
/* SECTION 2: Remove any elements not needed in print.
|
141
|
+
This would include navigation, ads, sidebars, etc. */
|
142
|
+
#topnav, #navbar, #nav, #sidebar, .ad, .noprint {
|
143
|
+
display: none;
|
144
|
+
}
|
145
|
+
|
146
|
+
|
147
|
+
/* SECTION 3: Set body font face, size, and color.
|
148
|
+
Consider using a serif font for readability. */
|
149
|
+
body {
|
150
|
+
font-family: "Times New Roman", Times, monospace;
|
151
|
+
}
|
152
|
+
|
153
|
+
/* SECTION 4: Set heading font face, sizes, and color.
|
154
|
+
Diffrentiate your headings from your body text.
|
155
|
+
Perhaps use a large sans-serif for distinction. */
|
156
|
+
h1, h2, h3, h4, h5, h6 {
|
157
|
+
font-family: Helvetica, Arial, sans-serif;
|
158
|
+
color: #000;
|
159
|
+
}
|
160
|
+
|
161
|
+
h1 {
|
162
|
+
font-size: 250%;
|
163
|
+
}
|
164
|
+
|
165
|
+
h2 {
|
166
|
+
font-size: 175%;
|
167
|
+
}
|
168
|
+
|
169
|
+
h3 {
|
170
|
+
font-size: 135%;
|
171
|
+
}
|
172
|
+
|
173
|
+
h4 {
|
174
|
+
font-size: 100%;
|
175
|
+
font-variant: small-caps;
|
176
|
+
}
|
177
|
+
|
178
|
+
h5 {
|
179
|
+
font-size: 100%;
|
180
|
+
}
|
181
|
+
|
182
|
+
h6 {
|
183
|
+
font-size: 90%;
|
184
|
+
font-style: italic;
|
185
|
+
}
|
186
|
+
|
187
|
+
/* SECTION 5: Make hyperlinks more usable.
|
188
|
+
Ensure links are underlined, and consider appending
|
189
|
+
the URL to the end of the link for usability. */
|
190
|
+
a:link, a:visited {
|
191
|
+
color: #00c;
|
192
|
+
font-weight: bold;
|
193
|
+
text-decoration: underline;
|
194
|
+
}
|
195
|
+
|
196
|
+
#content a:link:after, #content a:visited:after {
|
197
|
+
}
|
@@ -29,8 +29,8 @@
|
|
29
29
|
(function (i, s, o, g, r, a, m) {
|
30
30
|
i['GoogleAnalyticsObject'] = r;
|
31
31
|
i[r] = i[r] || function () {
|
32
|
-
|
33
|
-
|
32
|
+
(i[r].q = i[r].q || []).push(arguments)
|
33
|
+
}, i[r].l = 1 * new Date();
|
34
34
|
a = s.createElement(o),
|
35
35
|
m = s.getElementsByTagName(o)[0];
|
36
36
|
a.async = 1;
|
@@ -72,8 +72,23 @@
|
|
72
72
|
<%= render 'shared/flash_message' %>
|
73
73
|
</div>
|
74
74
|
</div>
|
75
|
+
|
76
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
77
|
+
<div class="page-header margbottom0">
|
78
|
+
<h1 class="pull-left">
|
79
|
+
<span> <%= yield(:title) %></span>
|
80
|
+
</h1>
|
81
|
+
|
82
|
+
<div class="pull-right">
|
83
|
+
<%= yield(:specialmenu) %>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
|
75
89
|
<div class="box">
|
76
|
-
<div class="box-content">
|
90
|
+
<div class="box-content-no-border">
|
91
|
+
|
77
92
|
<div class='row'>
|
78
93
|
<div class='col-xs-12 col-sm-12 col-md-12'>
|
79
94
|
<%= yield %>
|
data/config/navigation.rb
CHANGED
@@ -58,8 +58,8 @@ SimpleNavigation::Configuration.run do |navigation|
|
|
58
58
|
primary.dom_class = 'nav nav-stacked'
|
59
59
|
|
60
60
|
client_sub_items = [
|
61
|
-
{name: :customer_search, descr: '
|
62
|
-
{name: :contract_search, descr: '
|
61
|
+
{name: :customer_search, descr: 'Clients', url: "customers", icon: 'search'},
|
62
|
+
{name: :contract_search, descr: 'Contrats', url: "contracts", icon: 'search'}
|
63
63
|
]
|
64
64
|
|
65
65
|
if current_user.has_role? :admin
|
data/lib/cg_app_base/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cg_app_base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.54
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Pineault
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -1047,6 +1047,7 @@ files:
|
|
1047
1047
|
- app/assets/stylesheets/flatty/theme/pages/_orders.scss
|
1048
1048
|
- app/assets/stylesheets/flatty/theme/pages/_pricing_tables.scss
|
1049
1049
|
- app/assets/stylesheets/flatty/theme/pages/_timeline.scss
|
1050
|
+
- app/assets/stylesheets/print.css
|
1050
1051
|
- app/assets/stylesheets/scaffolds.css.scss
|
1051
1052
|
- app/assets/stylesheets/vehicles.css.scss
|
1052
1053
|
- app/controllers/cg_app_base/application_controller.rb
|