Tasks/public/static/css/styles.css

453 lines
6.3 KiB
CSS
Raw Normal View History

2015-11-13 17:04:42 +08:00
/*
omninotesweb main stylesheet
=============
Author: Suraj Patil
Updated: January 13, 2014
Notes: omninotesweb
*/
/*--------------------------------------
Layout
-------------------------------------- */
2016-02-15 12:10:35 +08:00
.commentslist {
2016-05-14 22:24:31 +08:00
background-color: #f5f5f5;
}
.loginbutton {
height: 38px;
padding: 8px 12px;
font-size: 14px;
line-height: 1.428571429;
color: #555;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
2016-02-15 12:10:35 +08:00
}
.comment {
2016-05-14 22:24:31 +08:00
padding-left: 25px;
padding-right: 25px;
padding-top: 15px;
2016-02-15 12:10:35 +08:00
}
2016-02-17 00:53:03 +08:00
2016-05-14 22:24:31 +08:00
ul {
list-style-type: none;
2016-01-30 01:06:26 +08:00
}
2015-11-13 17:04:42 +08:00
2016-05-14 22:24:31 +08:00
.timestamp {
color: #aaa;
2016-02-17 00:53:03 +08:00
}
2016-05-14 22:24:31 +08:00
.badge {
background-color: #1a78c9;
2016-05-14 22:24:31 +08:00
margin-right: 10px;
float: right;
2016-02-05 03:39:36 +08:00
}
2016-05-14 22:24:31 +08:00
.center {
text-align: center;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.navbar-brand:hover {
color: white;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.footer {
height: 30px;
width: auto;
text-align: center;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.floating-action-icon {
2015-11-13 17:04:42 +08:00
position: fixed;
2016-05-14 22:24:31 +08:00
bottom: 40px;
right: 30px;
z-index: 101;
2015-11-13 17:04:42 +08:00
width: 56px;
height: 56px;
font-size: 20px;
border-radius: 35px;
2016-05-14 22:24:31 +08:00
box-shadow: 0 0 4px #111;
padding-top: 10px !important;
2015-11-22 11:51:29 +08:00
}
2015-11-13 17:04:42 +08:00
2016-05-14 22:24:31 +08:00
.notification {
2015-11-22 11:51:29 +08:00
width: -moz-fit-content;
position: fixed;
right: 10px;
max-width: 400px;
padding: 12px;
2016-02-05 02:36:44 +08:00
background-color: #F2FCFF;
box-shadow: 1px 0px 9px 0px rgba(27, 123, 216, 0.4);
border: 1px solid #5596CE;
border-radius: 10px;
2015-11-22 11:51:29 +08:00
border-radius: 10px;
z-index: 1100;
max-height: 90px;
margin-top: 20px;
2016-02-05 02:36:44 +08:00
min-width: 200px;
2015-11-22 11:51:29 +08:00
}
2016-02-05 02:36:44 +08:00
#btnMessage {
2016-05-14 22:24:31 +08:00
padding: 1px 12px;
height: 30px;
text-align: center;
float: right;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
/*--------------------------------------
Navbar
-------------------------------------- */
2016-05-14 22:24:31 +08:00
.mainHeader {
2015-11-13 17:04:42 +08:00
background-color: #3f51b5;
2016-05-14 22:24:31 +08:00
border-radius: 0px;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.navbar-brand {
2015-11-13 17:04:42 +08:00
margin-left: 25px;
2016-05-14 22:24:31 +08:00
font-size: 1.5em;
color: white;
2016-02-29 10:04:58 +08:00
max-width: 2000px;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.btn-action {
2015-11-13 17:04:42 +08:00
background-color: #3f51b5;
}
2016-05-14 22:24:31 +08:00
#icons {
text-align: right;
2016-02-06 15:16:15 +08:00
float: right;
2015-11-13 17:04:42 +08:00
height: 50%;
2016-02-06 14:57:28 +08:00
line-height: 52px;
2016-05-14 22:24:31 +08:00
float: right;
2015-11-13 17:04:42 +08:00
margin-top: 10px;
}
2016-05-14 22:24:31 +08:00
nav .glyphicon {
color: white;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
nav .glyphicon:hover {
color: black;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.sr-only {
display: block;
width: 20px;
height: 3px;
2015-11-13 17:04:42 +08:00
background-color: white;
margin-bottom: 4px;
}
2016-05-14 22:24:31 +08:00
.hidden {
display: none;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
/*--------------------------------------
NotesFeed
-------------------------------------- */
2016-05-14 22:24:31 +08:00
2016-03-01 02:26:41 +08:00
.overdue {
2016-05-14 22:24:31 +08:00
color: red;
margin-top: 1px;
font-size: 12px;
padding-top: -100px;
position: absolute;
padding-left: 5px;
2016-03-01 02:26:41 +08:00
}
2015-11-13 17:04:42 +08:00
.noteHeading {
2016-05-14 22:24:31 +08:00
font-weight: 900;
font-size: 17px;
color: #666666;
margin-bottom: 0px;
padding-bottom: 5px;
}
2015-11-13 17:04:42 +08:00
2016-05-14 22:24:31 +08:00
hr {
margin: 0;
padding: 0;
2015-11-13 17:04:42 +08:00
}
.noteHeading a {
2016-05-14 22:24:31 +08:00
font-weight: 400;
font-size: 11px;
2015-11-13 17:04:42 +08:00
}
.noteContent {
2016-05-14 22:24:31 +08:00
padding-top: 7px;
font-size: 0.9em;
display: none;
}
2016-02-17 01:18:13 +08:00
.noteContent img {
2016-05-14 22:24:31 +08:00
width: 90%;
padding-left: 10%;
2016-02-17 01:18:13 +08:00
}
2016-05-14 22:24:31 +08:00
.toggle {
2016-01-10 22:16:17 +08:00
cursor: pointer;
2016-05-14 22:24:31 +08:00
margin-top: -30px;
float: right;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.notefooter {
color: #aaa;
height: 20px;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
/* These are the classes that are going to be applied: */
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
.column {
2016-05-14 22:24:31 +08:00
float: left;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.note {
display: block;
margin: 4px;
margin-bottom: 6px;
padding: 15px;
background-color: white;
box-shadow: 1px 1px 2px 1px #7D7470;
border-radius: 4px 4px 4px 4px;
height: auto;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.note:hover {
border-bottom: 2px solid black;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
.menu a {
2016-05-14 22:24:31 +08:00
text-decoration: none;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.menu li {
margin-top: -10px;
list-style: none;
float: right;
padding: 5px;
height: 15px;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
/*--------------------------------------
Navigation drawer
-------------------------------------- */
2016-05-14 22:24:31 +08:00
.list-group-item {
border: none;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.sidebar-item h5 {
margin-left: 15px;
2015-11-13 17:04:42 +08:00
display: block;
}
2016-05-14 22:24:31 +08:00
.sidebar-item .glyphicon:hover {
color: black;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.col-sm-2 a.list-group-item:hover,
a.list-group-item:focus {
text-decoration: none;
2015-11-13 17:04:42 +08:00
background-color: transparent;
}
2016-05-14 22:24:31 +08:00
body {
2015-11-13 17:04:42 +08:00
background-color: #f5f5f5;
2016-05-14 22:24:31 +08:00
overflow-x: hidden;
overflow-y: auto;
margin-top: 70px;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.nav-item {
2015-11-13 17:04:42 +08:00
padding-left: 10px;
}
2016-05-14 22:24:31 +08:00
.col-sm-2 {
2015-11-13 17:04:42 +08:00
background-color: white;
}
2016-05-14 22:24:31 +08:00
.badge {
2015-11-13 17:04:42 +08:00
background-color: #7D8EF0;
2016-05-14 22:24:31 +08:00
margin-right: 10px;
float: right;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
/* --------------------------------------
Global Styles
-------------------------------------- */
2016-05-14 22:24:31 +08:00
body {
width: 100%;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.main-content {
color: black;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.highlight {
2015-11-13 17:04:42 +08:00
background-color: #72CBFF;
}
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
/* --------------------------------------
Media Queries
-------------------------------------- */
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
/* Portrait & landscape phone */
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
@media (max-width: 480px) {
2016-05-14 22:24:31 +08:00
body {
margin-top: 105px;
2015-11-13 17:04:42 +08:00
}
2016-09-22 00:39:17 +08:00
textarea {
resize: vertical;
width:50%;
}
2016-05-14 22:24:31 +08:00
.timeline {
2015-11-13 17:04:42 +08:00
overflow: hidden;
width: 100%;
2016-05-14 22:24:31 +08:00
}
2016-09-22 00:39:17 +08:00
2016-05-14 22:24:31 +08:00
#icons {
text-align: center;
padding: 0;
2016-02-06 15:16:15 +08:00
height: 50%;
line-height: 52px;
2016-05-14 22:24:31 +08:00
float: right;
2016-02-06 15:16:15 +08:00
margin-top: 10px;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.mainHeader h3 {
padding: 0px;
text-align: center;
2015-11-13 17:04:42 +08:00
}
2016-09-22 00:39:17 +08:00
.btn-primary {
width: auto;
}
.input {
width:100px;
2015-11-13 17:04:42 +08:00
}
2016-09-22 00:39:17 +08:00
2016-05-14 22:24:31 +08:00
.floating-action-icon {
2015-11-13 17:04:42 +08:00
position: fixed;
2016-05-14 22:24:31 +08:00
bottom: 35px;
right: 20px;
z-index: 101;
2015-11-13 17:04:42 +08:00
width: 50px;
height: 50px;
padding: 10px 10px;
font-size: 24px;
border-radius: 25px;
2016-05-14 22:24:31 +08:00
text-align: center;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.modal-dialog {
width: 240px;
2015-11-13 17:04:42 +08:00
}
}
/* Landscape phone to portrait tablet */
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
@media (max-width: 768px) and (min-width:481px) {
2016-05-14 22:24:31 +08:00
#icons {
text-align: center;
padding: 0;
2016-02-06 15:16:15 +08:00
height: 50%;
line-height: 52px;
2016-05-14 22:24:31 +08:00
float: right;
2016-02-06 15:16:15 +08:00
margin-top: 10px;
2015-11-13 17:04:42 +08:00
}
2016-09-22 00:39:17 +08:00
textarea {
resize: vertical;
width: 200px;
}
2016-05-14 22:24:31 +08:00
body {
margin-top: 105px;
2015-11-13 17:04:42 +08:00
}
2016-09-22 00:39:17 +08:00
2016-05-14 22:24:31 +08:00
.timeline {
2015-11-13 17:04:42 +08:00
overflow: hidden;
2016-09-22 00:39:17 +08:00
width: 80%;
padding-left: 40px;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.mainHeader h3 {
padding: 0px;
text-align: center;
}
.note-lg {
height: 360px;
2015-11-13 17:04:42 +08:00
/*change later*/
}
2016-05-14 22:24:31 +08:00
.modal-dialog {
width: 250px;
2015-11-13 17:04:42 +08:00
}
}
/* Large desktop */
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
@media (max-width: 1400px) and (min-width:769px) {
2016-05-14 22:24:31 +08:00
.timeline {
overflow: hidden;
width: 55%;
margin-left: 20%;
}
2016-09-22 00:39:17 +08:00
textarea {
resize: vertical;
width: 400px;
}
2015-11-13 17:04:42 +08:00
}
/*--------------------------------------
Sidebar
-------------------------------------- */
2016-05-14 22:24:31 +08:00
.sidebar-toggle {
left: 10px !important;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.sidebar-wrapper.sidebar-default.sidebar-open,
.sidebar-wrapper.sidebar-default.sidebar-dragging {
width: 260px;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
2015-11-13 17:04:42 +08:00
/*Modal dialog*/
.modal-footer {
padding: 10px 15px 15px;
2016-05-14 22:24:31 +08:00
margin: 0;
border: none;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.modal-body {
padding: 20px 20px 10px 20px;
2015-11-13 17:04:42 +08:00
}
2016-05-14 22:24:31 +08:00
.modal {
2015-11-13 17:04:42 +08:00
overflow: hidden;
2016-05-14 22:24:31 +08:00
}