diff --git a/css/area_nav-metabox.less b/css/area_nav-metabox.less index a5f9ef4..d363b0c 100755 --- a/css/area_nav-metabox.less +++ b/css/area_nav-metabox.less @@ -180,6 +180,7 @@ &.active { display: block; + overflow: hidden; } > div { @@ -205,6 +206,16 @@ } } + &#spr__tab-tags { + > div { + ul { + li { + padding-left: 0; + } + } + } + } + #dw__toc { width: auto; float: none; diff --git a/css/plugins/tabinclude.less b/css/plugins/tabinclude.less index 385235e..6fc0296 100644 --- a/css/plugins/tabinclude.less +++ b/css/plugins/tabinclude.less @@ -6,7 +6,6 @@ /* + + + + + plugin tabinclude + + + + + */ - div#dwpl-ti-container { /* + + + tabnav + + + */ @@ -20,6 +19,7 @@ div#dwpl-ti-container { background-color: @background_page-header; border-radius: inherit; padding: .1em .35em; + &.selected { background-color: @color-site-bg; } diff --git a/css/plugins/tagging.less b/css/plugins/tagging.less new file mode 100644 index 0000000..d6b547c --- /dev/null +++ b/css/plugins/tagging.less @@ -0,0 +1,117 @@ +/** + * This file provides styles for the form in tagcloud + */ + + +/* + + + + + plugin tagging + + + + + */ + +#spr__meta-box { + ul.tagging_cloud { + width: 100%; + padding-right: 0; + + li { + &.t0 a { + font-size: .9rem; + } + &.t1 a { + font-size: 1rem; + } + &.t2 a { + font-size: 1.1rem; + } + &.t3 a { + font-size: 1.2rem; + } + &.t4 a { + font-size: 1.3rem; + } + &.t5 a { + font-size: 1.4rem; + } + &.t6 a { + font-size: 1.5rem; + } + &.t7 a { + font-size: 1.6rem; + } + &.t8 a { + font-size: 1.7rem; + } + &.t9 a { + font-size: 1.8rem; + } + &.t10 a { + font-size: 1.9rem; + } + } + } + + form#tagging__edit { + width: 100%; + + label { + display: block; + } + + input.edit { + width: 100%; + margin-bottom: .5rem; + } + } +} + + +/* + + + + + + + + + + + + + + + + + + + + + + + + + + */ +/* max-width: 479px */ + +@media @screen_max-md { + #spr__meta-box { + form { + &#tagging__edit { + label { + display: inline-block; + min-width: 50%; + vertical-align: top; + margin-bottom: .5rem; + } + + input.edit { + margin-bottom: 0; + } + } + } + } +} + +@media @screen_max-xs { + #spr__meta-box { + form { + div > button[type="submit"] { + width: 49%; + padding: 0; + } + + &#tagging__edit { + &::after { + content: ''; + clear: both; + display: block; + } + + label { + display: block; + width: 100%; + } + + button[type="submit"] { + float: right; + + &:first-of-type { + float: left; + } + } + } + } + } +} diff --git a/style.ini b/style.ini index 2eba60e..7ac5093 100755 --- a/style.ini +++ b/style.ini @@ -92,6 +92,7 @@ css/plugins/highlight_parent.less = all css/plugins/edit.less = all css/plugins/mediamanager.less = all css/plugins/tabinclude.less = all +css/plugins/tagging.less = all css/plugins/include.less = all css/plugins/edittable.less = all css/plugins/extension__manager.less = all