aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-02-17 22:30:28 +0100
committerMax Magorsch <arzano@gentoo.org>2020-02-17 22:30:28 +0100
commit22ad1dc296a91fef22205764ba3773685af80ad8 (patch)
tree9aa4e1c449799821581e8cb34c149576ad9ac948
parentAdd Tyrian v2 which is rewritten and based on BS 4 (diff)
downloadtyrian-theme-22ad1dc296a91fef22205764ba3773685af80ad8.tar.gz
tyrian-theme-22ad1dc296a91fef22205764ba3773685af80ad8.tar.bz2
tyrian-theme-22ad1dc296a91fef22205764ba3773685af80ad8.zip
Add a component contaning searchbar stylesheets
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r--package.json6
-rw-r--r--src/scss/components/searchbars.scss22
2 files changed, 25 insertions, 3 deletions
diff --git a/package.json b/package.json
index 374e265..7a7cd1a 100644
--- a/package.json
+++ b/package.json
@@ -22,9 +22,9 @@
"dist": "npm-run-all clean:dist css:tyrian:dist copy:assets",
"clean:dist": "rm -rf dist && mkdir -p dist",
"css:tyrian:dist": "npm-run-all css:tyrian:build css:tyrian:prefix css:tyrian:minify",
- "css:tyrian:build": "node-sass --importer node_modules/node-sass-package-importer/dist/cli.js src/scss/tyrian.scss -o dist",
- "css:tyrian:prefix": "postcss dist/tyrian.css --use autoprefixer -o dist/tyrian.css",
- "css:tyrian:minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/tyrian.min.css dist/tyrian.css",
+ "css:tyrian:build": "node-sass --importer node_modules/node-sass-package-importer/dist/cli.js src/scss/ -o dist",
+ "css:tyrian:prefix": "postcss dist/tyrian.css --use autoprefixer --replace && postcss dist/components/searchbars.css --use autoprefixer --replace",
+ "css:tyrian:minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/tyrian.min.css dist/tyrian.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/components/searchbars.min.css dist/components/searchbars.css",
"copy:assets": "npm-run-all copy:js copy:img copy:fonts copy:tyrian:assets",
"copy:js": "cp src/js/*.js dist",
"copy:img": "cp src/img/*.* dist",
diff --git a/src/scss/components/searchbars.scss b/src/scss/components/searchbars.scss
new file mode 100644
index 0000000..d36131c
--- /dev/null
+++ b/src/scss/components/searchbars.scss
@@ -0,0 +1,22 @@
+.inlinesearch > .input-group {
+ margin-top:1px;
+}
+
+.inlinesearch > .input-group > .input-group-prepend > span {
+ background:#61597b;
+ color:#FFF;
+ border:0px;
+}
+
+.inlinesearch > .input-group > input {
+ height:30px;
+ border:0px;
+ background:#61597b;
+ color:#FFF;
+ padding-left:0px;
+ box-shadow: none;
+}
+
+.inlinesearch > .input-group > input::placeholder {
+ color: #D3D3D3;
+}