From a15cbe86e14eb4dc000acb0fa4969744bc0f6aea Mon Sep 17 00:00:00 2001 From: DEKHTIARJonathan Date: Tue, 26 Sep 2017 19:26:49 +0200 Subject: [PATCH] CSS Fix due to the update of materialize --- css/generic_style.css | 62 ++++++++++++++++++++++++++ css/submit_article.css | 25 +++++++++++ css/subscribe_to_feed.css | 12 ++++++ templates/submit_article.html | 74 ++------------------------------ templates/subscribe_to_feed.html | 52 ++-------------------- 5 files changed, 107 insertions(+), 118 deletions(-) create mode 100644 css/generic_style.css create mode 100644 css/submit_article.css create mode 100644 css/subscribe_to_feed.css diff --git a/css/generic_style.css b/css/generic_style.css new file mode 100644 index 0000000..0d12104 --- /dev/null +++ b/css/generic_style.css @@ -0,0 +1,62 @@ +body { + left: calc(50% - 600px); + width: 1200px; + position: absolute; + background-color:transparent; + font-size: 12px; +} + +main{ + top: 0px; + left: 0px; + position: absolute; +} + +.card { + padding: 2em; + flex: 1 0 auto; + background: white; + border-radius: 40px; + width: 1200px; + margin: 0px; +} + +#btn-row{ + padding-top: 15px; +} + +#close-btn{ + top:15px; + right:15px; + position: absolute; +} + +#disconnect-btn{ + top:15px; + right:65px; + margin-top: 2px; + position: absolute; +} + +#subscribe-btn, +#return_to_submit-btn{ + top:15px; + right:270px; + margin-top: 2px; + position: absolute; +} + +#admin_panel-btn{ + top:15px; + left:65px; + margin-top: 2px; + position: absolute; +} + +#my_feed-btn{ + top:15px; + left:260px; + margin-top: 2px; + margin-left: 15px; + position: absolute; +} diff --git a/css/submit_article.css b/css/submit_article.css new file mode 100644 index 0000000..d8b842b --- /dev/null +++ b/css/submit_article.css @@ -0,0 +1,25 @@ +body { + top: calc(50% - 300px); + height: 600px; +} + +.card { + height: 600px; +} + +#switch-row{ + margin: 0; +} + +.materialize-tags .tt-menu { + font-size: 14px; +} + +.m-b-md{ + padding: 1em 0; +} + +.materialize-tags .tt-input { + border-bottom: none; + box-shadow: none; +} diff --git a/css/subscribe_to_feed.css b/css/subscribe_to_feed.css new file mode 100644 index 0000000..998c368 --- /dev/null +++ b/css/subscribe_to_feed.css @@ -0,0 +1,12 @@ +body { + top: calc(50% - 250px); + height: 500px; +} + +.card { + height: 500px; +} + +#subscribe-form{ + padding-top: 25px; +} diff --git a/templates/submit_article.html b/templates/submit_article.html index 0d813d2..e3b72ba 100644 --- a/templates/submit_article.html +++ b/templates/submit_article.html @@ -9,76 +9,10 @@ - + + + + diff --git a/templates/subscribe_to_feed.html b/templates/subscribe_to_feed.html index fc717bc..d5dab2a 100644 --- a/templates/subscribe_to_feed.html +++ b/templates/subscribe_to_feed.html @@ -9,54 +9,10 @@ - + + + +