From ee6c23d6d3a9ba620c425225054aa5bd5233d49f Mon Sep 17 00:00:00 2001 From: "jason.zhu" Date: Thu, 27 May 2021 05:23:23 +0000 Subject: [PATCH] chap2. KnockoutJS Templates->Preparing the project --- ko-cart/css/style.css | 29 ++++++++++++++ ko-cart/index.html | 92 ++++++++----------------------------------- 2 files changed, 45 insertions(+), 76 deletions(-) create mode 100644 ko-cart/css/style.css diff --git a/ko-cart/css/style.css b/ko-cart/css/style.css new file mode 100644 index 0000000..297938e --- /dev/null +++ b/ko-cart/css/style.css @@ -0,0 +1,29 @@ +.container-fluid { + margin-top: 20px; +} +.row { + margin-bottom: 20px; +} +.cart-unit { + width: 80px; +} +.btn-xs { + font-size: 8px; +} +.list-group-item { + overflow: hidden; +} +.list-group-item h4 { + float: left; + width: 100px; +} +.list-group-item .input-group-addon { + padding: 0; +} +.btn-group-vertical > .btn-default { + border-color: transparent; +} +.form-control[disabled], +.form-control[readonly] { + background-color: transparent !important; +} diff --git a/ko-cart/index.html b/ko-cart/index.html index 5bcfc65..07d2e07 100644 --- a/ko-cart/index.html +++ b/ko-cart/index.html @@ -6,85 +6,25 @@ -

Catalog

- -

Insert

-
-
-
- -
+
+
+
+
+
-
-
- -
-
-
-
- -
-
-
-
- -
-
- - -

Search

-
- - Search - + +
+
-

Products

- Items: - - - - - - - - - - - - - - - - -
NamePriceStock
-