Skip to content

Commit 8852c46

Browse files
committed
Merge branch 'release/1.1.0'
2 parents d904ac6 + 0766920 commit 8852c46

File tree

2 files changed

+100
-0
lines changed

2 files changed

+100
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
All notable changes to the REDCap CSS Injector module will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
6+
## [1.1.0] - 2019-09-23
7+
### Added
8+
- Add flat/gradient stylized survey css example (Kyle Chesney)
9+
10+
511
## [1.0.1] - 2019-04-04
612
### Added
713
- Add CSS Samples and 'Writing CSS for the CSS Injector' (Philip Chase)

samples/flat_design.css

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
body * {
2+
font-family: 'Helvetica Neue', 'Helvetica', 'Arial',sans-serif !important;
3+
}
4+
5+
body {
6+
color: #6f6e6e;
7+
background: rgb(53,47,59);
8+
background: linear-gradient(0deg, rgba(53,47,59,1) 60%, rgba(57,89,114,1) 100%);
9+
font-weight: unset;
10+
}
11+
12+
.greenhighlight {
13+
background-color: #ffffff !important; /* Disable highlighting of clicked sections */
14+
}
15+
16+
#pagecontent {
17+
background-color: #ffffff;
18+
}
19+
20+
#surveytitlelogo,
21+
#surveyinstructions {
22+
color: #ffffff;
23+
background: rgb(221,74,100);
24+
background: linear-gradient(18deg, rgba(221,74,100,1) 85%, rgba(236,127,71,1) 100%); /* set a sunburst gradient for the title region */
25+
background-attachment: fixed; /* allow gradient to continue through div elements */
26+
padding: 1px; /* eliminate blank space between div elements */
27+
max-width: none; /* prevent surveytitlelogo from ending before the edge of the page */
28+
font-weight: unset;
29+
}
30+
31+
.labelrc {
32+
background-color: #ffffff;
33+
font-weight: unset;
34+
}
35+
36+
/* circle question numbers */
37+
.labelrc questionnum {
38+
position: absolute;
39+
background-position: -256px 0;
40+
width: 30px;
41+
height: 30px;
42+
left: -15px;
43+
top: 44px;
44+
text-align: center;
45+
color: #fff;
46+
font-size: 15px;
47+
line-height: 30px;
48+
font-family: 'ProximaNova-Bold';
49+
font-weight: normal;
50+
text-indent: 0;
51+
}
52+
53+
input[type='radio'] {
54+
background-color: #c9cbcb;
55+
}
56+
57+
select {
58+
background: url("https://image.flaticon.com/icons/svg/137/137619.svg") no-repeat right #f8f8f8 !important;
59+
/* overflow:hidden; */
60+
/* width:115% /\* this percentage effectively extends the drop down button out of view *\/; */
61+
/* background-color:transparent /\* this hides the select's background making any styling visible from the div *\/; */
62+
/* background-image:none; */
63+
-moz-appearance: none;
64+
-webkit-appearance: none /* this is required for Webkit browsers */;
65+
appearance: none;
66+
display: block;
67+
border:none;
68+
width: 10em;
69+
box-shadow:none;
70+
padding: 9px 0 9px 13px; /* padding should be added to the select, not the div */
71+
font-family: 'ProximaNova-Regular', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
72+
font-size: 16px;
73+
/* color: #939393; */
74+
}
75+
76+
td.header.toolbar {
77+
display: none;
78+
}
79+
80+
.resetLinkParent {
81+
visibility: hidden;
82+
}
83+
84+
.requiredlabel {
85+
display: none;
86+
}
87+
88+
button {
89+
font-weight: unset;
90+
}
91+
92+
.header.toolbar {
93+
font-weight: unset;
94+
}

0 commit comments

Comments
 (0)