UNPKG

react-moment-input

Version:
330 lines (315 loc) 5.71 kB
.r-calendar { display: inline-block; } .r-calendar table { width: 100%; border-collapse: collapse; border-spacing: 0; table-layout: fixed; } .r-calendar td { padding: 8px 0; text-align: center; cursor: pointer; color: #dfe0e4; border: 1px solid #dfe0e4; } .r-calendar thead td { color: #1385e5; font-size: 11px; font-weight: 700; text-transform: uppercase; font-size: 12px; } .r-calendar tbody td { color: #666; } .r-calendar tbody td:hover { background: #1385e5; border-color: #1385e5; color: #fff; } .r-calendar .current-day { color: #1385e5; font-weight: 700; } .r-calendar .next-month, .r-calendar .prev-month { color: #999; } .r-calendar .toolbar { line-height: 30px; color: #1385e5; text-align: center; margin-bottom: 13px; } .r-calendar .toolbar button { position: relative; width: 30px; height: 30px; line-height: 30px; color: #fff; border: 1px solid #1385e5; border-radius: 50%; background: #1385e5; font-size: 20px; padding: 0; text-align: center; outline: 0; z-index: 5; cursor: pointer; } .r-calendar .toolbar .prev-month { float: left; } .r-calendar .toolbar .next-month { float: right; } .r-calendar .toolbar .current-date { color: #1385e5; } .r-time { color: #fff; padding-top: 50px; } .r-time .showtime { text-align: center; } .r-time .separater { display: inline-block; font-size: 32px; font-weight: 700; color: #1385e5; width: 32px; height: 65px; line-height: 65px; text-align: center; } .r-time .time-text { position: relative; left: -10px; font-size: 15px; color: #1385e5; margin-top: 7px; margin-bottom: 10px; } .r-time .sliders { padding: 0 10px; } .r-time .time { width: 65px; height: 65px; display: inline-block; font-size: 38px; line-height: 65px; background-color: #1385e5; border-radius: 3px; text-align: center; } .u-slider-time { position: relative; display: inline-block; background-color: #dfe0e4; border-radius: 3px; height: 4px; width: 100%; cursor: pointer; } .u-slider-time .value { position: absolute; background-color: #1385e5; border-radius: 3px; top: 0; height: 100%; } .u-slider-time .handle { position: absolute; width: 4px; height: 4px; } .u-slider-time .handle:after { position: relative; display: block; content: ""; top: -10px; left: -12px; width: 24px; height: 24px; background-color: #fff; border: 3px solid #1385e5; border-radius: 50%; cursor: pointer; } .im-btn { display: inline-block; background-color: #fff; border: 0; outline: 0; cursor: pointer; line-height: 1; } .im-btn:before { margin-right: 6px; } .r-input-moment { position: absolute; background-color: white; z-index: 99; width: 330px; padding: 12px 15px; border-radius: 3px; border: 1px solid #dfe0e4; } .r-input-moment .options { width: 100%; display: inline-block; margin-bottom: 4px; } .r-input-moment .options button { float: left; width: 50%; color: #1385e5; text-align: center; font-size: 16px; padding: 7px; border: 1px solid #1385e5; border-radius: 3px; } .r-input-moment .options button:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; } .r-input-moment .options button:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; } .r-input-moment .options button.is-active { color: #fff; background-color: #1385e5; } .r-input-moment .tab { display: none; height: 310px; } .r-input-moment .tab.is-active { display: block; } .r-input-moment .tabs { margin-bottom: 11px; } .r-input-moment .btn-save { display: block; margin-top: 10px; width: 100%; background-color: #1385e5; padding: 12px 0; text-align: center; color: #fff; font-size: 16px; border-radius: 3px; } .r-calendar .prev-month:focus, .next-month:focus { opacity: 0.5; } .im-btn:focus { opacity: 0.5; } .r-calendar .selected-day { background-color: #1385e5; color: #fff; } .r-calendar .disabled-day { color: #999; } .r-calendar .disabled-day:hover { background-color: #fff; border: 1px solid #dfe0e4; color: #999; } .r-input-group { position: relative; display: inline-table; vertical-align: middle; border-collapse: separate; box-sizing: border-box; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; height: 34px; line-height: 20px; width: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .r-input-group-addon { padding: 6px 12px; font-size: 14px; font-weight: normal; line-height: 1; color: #555; text-align: center; background-color: #eee; border: 1px solid #ccc; border-radius: 4px; cursor: pointer; width: auto; display: table-cell; box-sizing: border-box; vertical-align: middle; white-space: nowrap; } .r-input-group-addon:last-child { border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; } .r-input { display: table-cell; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; color: #555; background-color: #fff; background-image: none; border: 1px solid #ccc; border-radius: 4px; } .r-input-group.has-error { border-radius: 4px; border: 1px solid red; } .r-has-feedback { position: relative; } .r-has-error { border-color: #843534; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; } .react-textselect { border-bottom: 1px solid #1385e5; overflow: hidden; margin-right: 0.17em; position: relative; } .react-textselect-input { font-size: 1.2em; position: absolute; top: 0; cursor: pointer; left: 0; right: 0; width: 100%; opacity: 0; z-index: 1; } .react-textselect-input:focus { opacity: 0.9; } .input-controls { cursor: pointer; padding: 0px 5px; color: grey; }