aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorAlexandr Danilov <bitbucket@modos189.ru>2015-08-12 19:18:31 +0300
committerAlexandr Danilov <bitbucket@modos189.ru>2015-08-12 19:18:31 +0300
commit06fdfd025ec7f81e11e22f8596752296c0105143 (patch)
tree68da1b4b4818a42397282ad7d57223ac3720b7f8 /src/Wallabag
parentd990dc6f0535cad745929ca90d1e4bb00ba47584 (diff)
downloadwallabag-06fdfd025ec7f81e11e22f8596752296c0105143.tar.gz
wallabag-06fdfd025ec7f81e11e22f8596752296c0105143.tar.zst
wallabag-06fdfd025ec7f81e11e22f8596752296c0105143.zip
fix #1321
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig2
-rwxr-xr-xsrc/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css32
2 files changed, 33 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
index 5a1f7001..32933d56 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
@@ -71,7 +71,7 @@
71 </form> 71 </form>
72 <div class="input-field nav-panel-add" style="display: none"> 72 <div class="input-field nav-panel-add" style="display: none">
73 {{ render(controller( "WallabagCoreBundle:Entry:addEntryForm" )) }} 73 {{ render(controller( "WallabagCoreBundle:Entry:addEntryForm" )) }}
74 <label for="add"><i class="mdi-content-add"></i></label> 74 <label for="add" class="active"><i class="mdi-content-add"></i></label>
75 <i class="mdi-navigation-close"></i> 75 <i class="mdi-navigation-close"></i>
76 </div> 76 </div>
77 <!--<form name="entry" method="post" action="{{ path('new_entry') }}"> 77 <!--<form name="entry" method="post" action="{{ path('new_entry') }}">
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css
index bf7e667e..9650a12b 100755
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css
@@ -60,6 +60,10 @@ nav, main, footer {
60 1 = Nav 60 1 = Nav
61 ========================================================================== */ 61 ========================================================================== */
62 62
63nav input {
64 color: #aaa;
65}
66
63.nav-wrapper .button-collapse { 67.nav-wrapper .button-collapse {
64 padding: 0px 15px; 68 padding: 0px 15px;
65} 69}
@@ -96,6 +100,34 @@ nav, main, footer {
96 white-space: nowrap; 100 white-space: nowrap;
97} 101}
98 102
103.input-field input {
104 display: block;
105 line-height: inherit;
106 padding-left: 4rem !important;
107 width: calc(100% - 8rem);
108}
109
110.input-field input:focus {
111 background-color: #fff;
112 border: 0;
113 box-shadow: none;
114 color: #444;
115}
116
117.input-field.nav-panel-add label {
118 left: 1rem;
119}
120
121.input-field.nav-panel-add .mdi-navigation-close {
122 position: absolute;
123 top: 0;
124 right: 1rem;
125 color: transparent;
126 cursor: pointer;
127 font-size: 2rem;
128 transition: .3s color;
129}
130
99/* ========================================================================== 131/* ==========================================================================
100 2 = Side-nav 132 2 = Side-nav
101 ========================================================================== */ 133 ========================================================================== */