Repository: ambari Updated Branches: refs/heads/trunk 9d74026bd -> 6557b464b
AMBARI-5514. Flatten Ambari UI including box, dropdown. etc. (xiwang via yusaku) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6557b464 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6557b464 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6557b464 Branch: refs/heads/trunk Commit: 6557b464b41fcc15ffccb6f5bb67540c769e7a27 Parents: 9d74026 Author: Yusaku Sako <[email protected]> Authored: Fri Apr 18 14:56:50 2014 -0700 Committer: Yusaku Sako <[email protected]> Committed: Fri Apr 18 14:56:50 2014 -0700 ---------------------------------------------------------------------- ambari-web/app/styles/application.less | 59 +++++++++++++++++++++++++---- 1 file changed, 52 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6557b464/ambari-web/app/styles/application.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index 43ef9a0..90d6a64 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -250,9 +250,6 @@ footer { list-style: none; background-color: @top-nav-menu-dropdown-bg-color; border: 3px solid @top-nav-menu-dropdown-border-color; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); @@ -1158,18 +1155,15 @@ a:focus { /*****start styles for boxes*****/ .box { border: 1px solid #D4D4D4; - border-radius: 4px; margin-bottom: 20px; .box-header { border-bottom: 1px solid #D4D4D4; - border-radius: 4px 4px 0 0; } .box-header, .box-footer { padding: 4px 4px 4px 10px; - /*background: #dedede;*/ - .gradient(#dedede, #ffffff, #dedede) + background: #f5f5f5; } .box-header:after, .box-footer:after { @@ -1197,6 +1191,57 @@ a:focus { /*****end styles for boxes*****/ +/*****start styles for well *****/ +.well { + border-radius: 0px; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +/*****end styles for well *****/ + + +/*****start styles for table*****/ +.table-bordered { + border-radius: 0px; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + thead:first-child tr:first-child th:first-child, + tbody:first-child tr:first-child td:first-child, + thead:first-child tr:first-child th:last-child, + tbody:first-child tr:first-child td:last-child { + -webkit-border-top-left-radius: 0px; + border-top-left-radius: 0px; + -moz-border-radius-topleft: 0px; + } +} +/*****end styles for table*****/ + +/**********start styles for thumbnail ****************/ +.thumbnail { + border-radius: 0px; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +/**********end styles for thumbnail ****************/ + +/**********start styles for dropdown-menu, accordion-group ****************/ +.dropdown-menu, +.nav-pills .dropdown-menu, +.accordion-group { + border-radius: 0px; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; +} +/**********end styles for dropdown-menu ****************/ + + + /*90% width modal window start*/ .full-width-modal { .modal {
