# HG changeset patch # User Thomas De Schampheleire # Date 1506712934 -7200 # Node ID a90330320ed880c193cb6df23af1ecd0d528834d # Parent d331cc4956254e9ae97fb148e905a05a349582e3 style: extract metatag styles to separate file kallithea-tags.less diff -r d331cc495625 -r a90330320ed8 kallithea/public/less/kallithea-tags.less --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kallithea/public/less/kallithea-tags.less Fri Sep 29 21:22:14 2017 +0200 @@ -0,0 +1,39 @@ +.metatag { + display: inline-block; + margin-right: 1px; + border-radius: 4px 4px 4px 4px; + border: solid 1px #9CF; + padding: 2px 3px 2px 3px !important; + background-color: #DEF; +} +.metatag[data-tag="dead"] { + background-color: #E44; +} +.metatag[data-tag="stale"] { + background-color: #EA4; +} +.metatag[data-tag="featured"] { + background-color: #AEA; +} +.metatag[data-tag="requires"] { + background-color: #9CF; +} +.metatag[data-tag="recommends"] { + background-color: #BDF; +} +.metatag[data-tag="lang"] { + background-color: #FAF474; +} +.metatag[data-tag="license"] { + border: solid 1px #9CF; + background-color: #DEF; +} +.metatag[data-tag="see"] { + border: solid 1px #CBD; + background-color: #EDF; +} +a.metatag[data-tag="license"]:hover { + background-color: #577632; + color: #FFF; + text-decoration: none; +} diff -r d331cc495625 -r a90330320ed8 kallithea/public/less/style.less --- a/kallithea/public/less/style.less Fri Sep 29 21:15:16 2017 +0200 +++ b/kallithea/public/less/style.less Fri Sep 29 21:22:14 2017 +0200 @@ -408,45 +408,9 @@ #clone_by_id.input-group .form-control { height: 30px; } -.metatag { - display: inline-block; - margin-right: 1px; - border-radius: 4px 4px 4px 4px; - border: solid 1px #9CF; - padding: 2px 3px 2px 3px !important; - background-color: #DEF; -} -.metatag[data-tag="dead"] { - background-color: #E44; -} -.metatag[data-tag="stale"] { - background-color: #EA4; -} -.metatag[data-tag="featured"] { - background-color: #AEA; -} -.metatag[data-tag="requires"] { - background-color: #9CF; -} -.metatag[data-tag="recommends"] { - background-color: #BDF; -} -.metatag[data-tag="lang"] { - background-color: #FAF474; -} -.metatag[data-tag="license"] { - border: solid 1px #9CF; - background-color: #DEF; -} -.metatag[data-tag="see"] { - border: solid 1px #CBD; - background-color: #EDF; -} -a.metatag[data-tag="license"]:hover { - background-color: #577632; - color: #FFF; - text-decoration: none; -} + +@import "kallithea-tags.less"; + #summary .desc { white-space: pre; width: 100%;