summaryrefslogtreecommitdiff
path: root/assets/css/src/responsive.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/src/responsive.css')
-rw-r--r--assets/css/src/responsive.css73
1 files changed, 73 insertions, 0 deletions
diff --git a/assets/css/src/responsive.css b/assets/css/src/responsive.css
new file mode 100644
index 00000000..f319c341
--- /dev/null
+++ b/assets/css/src/responsive.css
@@ -0,0 +1,73 @@
+/* responsive design */
+@media only screen and (max-width: 1024px) {
+
+ li.hide-tablet,
+ .hide-tablet {
+ display: none;
+ }
+
+ body {
+ font-size: 0.85em;
+ }
+
+ .sidebar-content {
+ margin-left: 255px;
+ }
+
+ .form-tab {
+ max-width: 404px;
+ }
+
+ .form-inline-group input[type="submit"],
+ .form-inline-group label {
+ display: block;
+ }
+
+ .form-inline-group input[type="submit"] {
+ margin-top: 20px;
+ }
+
+ td > input[type="text"] {
+ max-width: 150px;
+ }
+
+ .task-time-form label {
+ display: block;
+ }
+
+ .task-time-form input[type="submit"] {
+ margin-top: 10px;
+ display: block;
+ }
+}
+
+@media only screen and (max-width: 1024px) and (orientation: landscape) {
+
+ body {
+ font-size: 0.7em;
+ }
+
+ header {
+ padding-bottom: 4px;
+ }
+
+ .sidebar {
+ max-width: 220px;
+ }
+
+ .sidebar-content {
+ margin-left: 225px;
+ }
+
+ div.chosen-container {
+ font-size: 0.9em;
+ }
+
+ input[type="number"],
+ input[type="date"],
+ input[type="email"],
+ input[type="password"],
+ input[type="text"] {
+ height: 18px;
+ }
+}