Brought in bootstrap-rtl and validate.js packages via bower for Matrix's patient...
[openemr.git] / public / assets / bootstrap-rtl-3-3-4 / less / panels-rtl.less
bloba686b9feea6a2cb1f41ea34a9ec2a154988bbb57
1 //
2 // RTL Panels
3 // --------------------------------------------------
5 // Tables in panels
6 //
7 // Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
8 // watch it go full width.
10 .panel {
11   // Add border top radius for first one
12   > .table:first-child,
13   > .table-responsive:first-child > .table:first-child {
15     > thead:first-child,
16     > tbody:first-child {
17       > tr:first-child {
18         td:first-child,
19         th:first-child {
20           border-top-right-radius: (@panel-border-radius - 1);
21           border-top-left-radius: 0;
22         }
23         td:last-child,
24         th:last-child {
25           border-top-left-radius: (@panel-border-radius - 1);
26           border-top-right-radius: 0;
27         }
28       }
29     }
30   }
31   // Add border bottom radius for last one
32   > .table:last-child,
33   > .table-responsive:last-child > .table:last-child {
35     > tbody:last-child,
36     > tfoot:last-child {
37       > tr:last-child {
38         td:first-child,
39         th:first-child {
40           border-bottom-left-radius: (@panel-border-radius - 1);
41           border-top-right-radius: 0;
42         }
43         td:last-child,
44         th:last-child {
45           border-bottom-right-radius: (@panel-border-radius - 1);
46           border-top-left-radius: 0;
47         }
48       }
49     }
50   }
51   > .table-bordered,
52   > .table-responsive > .table-bordered {
53     > thead,
54     > tbody,
55     > tfoot {
56       > tr {
57         > th:first-child,
58         > td:first-child {
59           border-right: 0;
60           border-left: none;
61         }
62         > th:last-child,
63         > td:last-child {
64           border-right: none;
65           border-left: 0;
66         }
67       }
68     }
69   }