Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct errors in css code and refactor file to for consistency and s… #5

Open
wants to merge 4 commits into
base: drupal7
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
correct errors in css code and refactor file to for consistency and s…
…tandards compliance
andrewtf committed Jan 29, 2016
commit 6bcee59e516afccec80a2fdc2b4bd21d29276b73
208 changes: 170 additions & 38 deletions visitor_motivation_survey/vms.css
Original file line number Diff line number Diff line change
@@ -1,54 +1,186 @@
.vms { background: gray; color: black; margin: 0; padding: .5em 1em; border-top: 2px solid black; font-size: 16px; line-height: 1.1; font-weight: bold; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; -webkit-text-size-adjust: 100% }
.vms.open { top: 0; border-top: none; overflow: scroll; -webkit-overflow-scrolling: touch; }

.vms .margin {margin: auto; max-width: 924px; }
.vms a {color: white; text-decoration: none; !important}
.vms a:hover {color: #ccc; text-decoration: none; !important}
.vms a.active {color: #fff;}
.vms p {margin: 0; font-size: 1em !important;}
.vms ul {list-style: none; margin: 1em 0 0 0; padding: 0; }
.vms li { margin: 0 0 .5em 0; padding: none; }

.vms .clickable {cursor: pointer;}

.vms .xbutton { color: #fff; font-size: .66em; float: right; margin: .4em 0 0 0; cursor: pointer; line-height: 1; text-transform: uppercase;}
.vms .xbutton:hover { color: black; }
.vms .xbutton span { font-size: 1.25em; line-height: 0; margin-left: .25em; }
.vms .xbutton.shrink {display: none; }
.vms .xbutton.finish {display: none; }

.vms .prompt { color: black;}
.vms .prompt span { color: white; display: block; }

.vms .survey { display: none; overflow: hidden;}
.vms .survey p { margin-top: 1em; font-size: 1em}
.vms {
background: gray;
color: black;
margin: 0;
padding: .5em 1em;
border-top: 2px solid black;
font-size: 16px;
line-height: 1.1;
font-weight: bold;
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 100;
-webkit-text-size-adjust: 100%;
}
.vms.open {
top: 0;
border-top: none;
overflow: scroll;
-webkit-overflow-scrolling: touch;
}

.vms .margin {
margin: auto;
max-width: 924px;
}

.vms a {
color: white;
text-decoration: none !important;
}

.vms a:hover {
color: #ccc;
text-decoration: none !important;
}

.vms a.active {
color: #fff;
}

.vms p {
margin: 0;
font-size: 1em !important;
}

.vms ul {
list-style: none;
margin: 1em 0 0 0;
padding: 0;

}

.vms li {
margin: 0 0 .5em 0;
padding: 0;
}

.vms .clickable {
cursor: pointer;
}

.vms .xbutton {
color: #fff;
font-size: .66em;
float: right;
margin: .4em 0 0 0;
cursor: pointer;
line-height: 1;
text-transform: uppercase;
}

.vms .xbutton:hover {
color: black;
}

.vms .xbutton span {
font-size: 1.25em;
line-height: 0;
margin-left: .25em;
}

.vms .xbutton.shrink {
display: none;
}

.vms .xbutton.finish {
display: none;
}

.vms .prompt {
color: black;
}

.vms .prompt span {
color: white; display: block;
}

.vms .survey {
display: none;
overflow: hidden;
}

.vms .survey p {
margin-top: 1em;
font-size: 1em;
}

.vms .survey li a { color: #ccc !important }
.vms .survey li a:hover { color: #BBC428 !important }
.vms .survey li a {
color: #ccc !important;
}

.vms .survey li a:hover {
color: #BBC428 !important;
}

.vms .survey .done {color: transparent; margin: 1em 0; }
.vms .survey .done.clickable {color: white; }
.vms .survey .done {
color: transparent;
margin: 1em 0;
}

.vms .survey .done.clickable {
color: white;
}

.vms .survey p.infobutton {
font-size: .9em;
margin-bottom: 0;
}

.vms .survey p.infobutton {font-size: .9em; margin-bottom: 0; }
.vms .survey p.infotext {display: none; font-size: .8em !important; margin: 0; }
.vms .survey p.infotext a { color: #ccc; }
.vms .survey p.infotext {
display: none;
font-size: .8em !important;
margin: 0;
}

.vms .survey p.infotext a {
color: #ccc;
}

.vms .mquery { float: right; }
.vms .mquery {
float: right;
}

@media screen and (min-width: 500px) {
.vms .prompt span { display: inline; }

.vms .prompt span {
display: inline;
}

}

@media screen and (min-width: 570px) {
.vms, .vms p { font-size: 18px; }

.vms, .vms p {
font-size: 18px;
}

}

@media screen and (min-width: 700px) {
.vms.open { top: auto; border-top: 2px solid black; overflow: auto; }
.vms li { margin-bottom: 0; }
.vms .mquery { float: left; }
.vms.open {
top: auto;
border-top: 2px solid black;
overflow: auto;
}

.vms li {
margin-bottom: 0;
}

.vms .mquery {
float: left;
}

}

@media screen and (min-width: 800px) {
.vms, .vms p { font-size: 20px; }

.vms,
.vms p {
font-size: 20px;
}

}