Skip to content

Instantly share code, notes, and snippets.

@christianvuerings
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save christianvuerings/37c18176f335f0c283fa to your computer and use it in GitHub Desktop.

Select an option

Save christianvuerings/37c18176f335f0c283fa to your computer and use it in GitHub Desktop.
SIS Project - advising appointment prototype
.uc-prototype {
color: #474747;
margin: 0;
font-family: Arial,sans-serif;
font-size: 13px;
font-weight: 400;
line-height: 1.5;
padding: 20px;
}
/* Hide Hacks */
.uc-prototype .ps_header {
display: none;
}
.psc_processing {
display: none !important;
}
/** Headers **/
.uc-header-2 {
color: #222;
font-family: "Helvetica Neue",Helvetica,Helvetica,Arial,sans-serif;
font-size: 22px;
font-style: normal;
font-weight: 500;
line-height: 1.4;
}
.uc-prototype .ps_header-group {
font-size: 16px;
font-weight: normal;
}
/** Select Appointment **/
.uc-prototype .uc-select {
background: #fff000;
}
.uc-prototype .ps_box-label {
display: none;
}
.uc-prototype .uc-select {
background: #9ebfd2;
border: 1px solid #427691;
border-radius: 5px;
overflow: hidden;
position: relative;
width: 100%;
z-index: 1;
max-width: 500px;
}
.uc-prototype .uc-select:before {
background: url('http://f.cl.ly/items/1Z2I1t2x3u322k182d1y/select_arrow_20x28.svg') no-repeat, #9ebfd2;
content: '';
display: block;
height: 100%;
position: absolute;
right: 0;
top: 0;
width: 20px;
z-index: -1;
}
.uc-prototype .uc-select select {
-moz-appearance: none;
-webkit-appearance: none;
background: transparent;
border: 0;
color: #fff;
cursor: pointer;
font-size: 11px;
margin: 0;
padding: 4px 25px 5px 10px;
width: 100%;
}
.uc-prototype .uc-select select option {
color: #474747;
}
.uc-prototype .uc-select select::-ms-expand {
display: none;
}
:-moz-any(.uc-select):before {
background-color: #fff;
pointer-events: none;
z-index: 1;
}
/** Select date **/
.uc-table-date table {
width: 100%;
max-width: 800px;
}
.uc-table-date table th {
display: none;
}
.uc-table-date table {
border: 0;
}
.uc-table-date table table {
margin: -5px;
}
.uc-table-date table table tr {
float: left;
}
.uc-table-date table table tr td:not(:nth-child(2)) {
display: none;
}
.uc-table-date table table tr td:nth-child(2) {
border: 0;
}
.uc-table-date table table tr td:nth-child(2) a {
background: #9ebfd2;
color: #fff;
display: block;
padding: 40px 20px;
margin: 5px;
text-decoration: none;
}
.uc-table-date table table tr td:nth-child(2) a:hover,
.uc-table-date table table tr td:nth-child(2) a:focus {
text-decoration: underline;
}
.uc-table-date table table tr td:nth-child(2) a[disabled="disabled"] {
background: #e6e6e6;
}
/* Make an appointment */
.uc-table-appointment table {
width: 100%;
}
.uc-table-appointment table table th {
display: none;
}
.uc-table-appointment table table tr td:nth-child(1) {
display: none;
}
.uc-table-appointment table table tr .ps-icon-wrapper {
display: none;
}
.uc-table-appointment table table tr .ps_grid-cell {
display: none;
}
.uc-table-appointment table table tr {
border-bottom: 1px solid #eaeaea;
display: block;
padding: 10px 5px;
}
.uc-table-appointment table table td {
display: block;
padding: 0;
}
.uc-table-appointment table table tr td:nth-child(2),
.uc-table-appointment table table tr td:nth-child(3) {
float: left;
max-width: 70px;
}
.uc-table-appointment table table tr td:nth-child(4) {
float: left;
}
.uc-table-appointment table table tr td:nth-child(2) input[type="text"],
.uc-table-appointment table table tr td:nth-child(3) input[type="text"] {
color: #2888b6 !important;
}
.uc-table-appointment table table tr td:nth-child(5) input[type="text"] {
color: #ccc;
}
.uc-table-appointment table table tr td:nth-child(6),
.uc-table-appointment table table tr td:nth-child(7),
.uc-table-appointment table table tr td:nth-child(8),
.uc-table-appointment table table tr td:nth-child(9) {
margin-left: 140px;
}
.uc-table-appointment table table tr input[type="text"] {
border: 0;
font-size: 13px;
}
.uc-table-appointment table table tr label {
font-size: 13px;
padding: 1px;
float: left;
}
.uc-table-appointment table, .uc-table-appointment table td {
border: 0;
}
.uc-table-appointment table table tr .ps_box-checkbox {
display: block;
clear: both;
}
.uc-table-appointment table table tr .ps_box-checkbox:first-child {
margin-top: 10px;
}
.uc-table-appointment table table tr .ps_box-checkbox:last-child {
margin-bottom: 10px;
}
.uc-table-appointment table table tr input[type="checkbox"] {
float: left;
margin: 4px;
}
.uc-table-appointment table table .ps_box-button {
text-align: left;
margin-top: 30px;
}
.uc-table-appointment table table .ps_box-button:before,
.uc-table-appointment table table .ps_box-button:after {
content: " ";
display: table;
}
.uc-table-appointment table table .ps_box-button:after {
clear: both;
}
.uc-table-appointment table table .ps_box-button a {
background: #519ed4;
border: 1px solid #4292c9;
display: inline-block;
padding: 5px 15px;
color: #fff;
border-radius: 5px;
font-size: 13px;
text-decoration: none;
}
.uc-table-appointment table table .ps_box-button a:focus,
.uc-table-appointment table table .ps_box-button a:hover {
text-decoration: underline;
}
.uc-scheduled {
border: 2px solid #A7C761;
padding: 10px;
border-radius: 10px;
margin-top: 10px;
}
.uc-scheduled:before {
content: " ✔";
color: #000;
float: left;
margin-right: 5px;
}
@media (max-width: 400px) {
.uc-table-date table table tr td:nth-child(2) a {
clear: both;
padding: 10px 25px;
margin: 0;
}
.uc-table-appointment table table tr td:nth-child(4) {
width: 120px;
}
.uc-table-appointment table table tr td:nth-child(5) {
display: none;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment