From d592d911c5942ea5863bd9c64f7c90c27bf14b5c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 11 Jul 2015 12:05:39 +0200 Subject: add css file for mod display --- view/css/mod_display.css | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 view/css/mod_display.css (limited to 'view') diff --git a/view/css/mod_display.css b/view/css/mod_display.css new file mode 100644 index 000000000..dde242d4e --- /dev/null +++ b/view/css/mod_display.css @@ -0,0 +1,3 @@ +#jot-popup { + display: none; +} -- cgit v1.2.3 From d8e7f36c74a4ebff25d3997f5543b08faa00a496 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 11 Jul 2015 12:42:11 +0200 Subject: revert moving section and aside padding to style.css - it brings trouble to other layouts --- view/css/default.css | 14 ++++++++++++++ view/theme/redbasic/css/style.css | 5 ----- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'view') diff --git a/view/css/default.css b/view/css/default.css index e1edc2cbf..f0c89a087 100644 --- a/view/css/default.css +++ b/view/css/default.css @@ -17,6 +17,7 @@ main { aside { display: table-cell; vertical-align: top; + padding: 80px 7px 0px 7px; } @@ -24,4 +25,17 @@ section { width: 100%; display: table-cell; vertical-align: top; + padding: 80px 7px 200px 7px; +} + +@media screen and (max-width: 767px) { + + section { + padding: 65px 7px 200px 7px; + } + + aside#region_1 { + padding: 65px 7px 0px 7px; + } + } diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index a44cf331c..3c812d8bc 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -28,17 +28,12 @@ aside#region_1 { width: $aside_widthpx; min-width: $aside_widthpx; max-width: $aside_widthpx; - padding: 80px 7px 0px 7px; } main { max-width: $main_widthpx; } -section { - padding: 80px 7px 200px 7px; -} - h1, .h1, h2, .h2 { font-size: 1.667em; } -- cgit v1.2.3 From d3581d85620d38ab02bdc4e25a20106527be8676 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 11 Jul 2015 12:52:06 +0200 Subject: more revert --- view/theme/redbasic/css/style.css | 5 ----- 1 file changed, 5 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 3c812d8bc..6d23a1996 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2120,14 +2120,9 @@ nav .badge.mail-update:hover { @media screen and (max-width: 767px) { - section { - padding: 65px 7px 200px 7px; - } - aside#region_1 { background: rgba(0, 0, 0, .1); border-right: 1px solid $nav_bd; - padding: 65px 7px 0px 7px; } main { -- cgit v1.2.3 From 138e0fe4456068a2316c8462a85f4ae2727ee93c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 11 Jul 2015 13:25:06 +0200 Subject: fix issue with profile photo --- view/theme/redbasic/css/style.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 6d23a1996..939b9cf54 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -416,13 +416,18 @@ footer { #profile-photo-wrapper img { width: 100%; + height: 100%; max-width: 300px; - height: auto; + max-height: 300px; } #profile-photo-wrapper { + width: 251px; + height: 251px; margin-top: -10px; margin-bottom: 10px; + border: 1px solid #ccc; + border-radius: $radiuspx; } @@ -514,7 +519,6 @@ footer { display: block; } - .pager { padding: 10px; text-align: center; @@ -580,10 +584,6 @@ footer { margin-left: 5px; } -.photo { - border: 1px solid #ccc; -} - .photo-top-photo, .photo-album-photo { /* padding: 10px; max-width: 300px; -- cgit v1.2.3