Standardize code presentation
Fix indentation (4 spaces, no tabs) Fix indentation in CSS Fix comment position in CSS file
This commit is contained in:
parent
8e44757e61
commit
51cde96bf6
2 changed files with 37 additions and 39 deletions
|
@ -19,28 +19,28 @@ body {
|
||||||
height: 25px;
|
height: 25px;
|
||||||
}
|
}
|
||||||
.horizontal-line {
|
.horizontal-line {
|
||||||
-webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
-webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
||||||
-moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
-moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
||||||
box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
||||||
border-bottom: 1px solid #121212;
|
border-bottom: 1px solid #121212;
|
||||||
}
|
}
|
||||||
.vertical-line {
|
.vertical-line {
|
||||||
-webkit-box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0;
|
-webkit-box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0;
|
||||||
-moz-box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0;
|
-moz-box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0;
|
||||||
box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0;
|
box-shadow: rgba(255, 255, 255, 0.07) 1px 0 0;
|
||||||
border-right: 1px solid #121212;
|
border-right: 1px solid #121212;
|
||||||
}
|
}
|
||||||
.vertical-line-left {
|
.vertical-line-left {
|
||||||
-webkit-box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0;
|
-webkit-box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0;
|
||||||
-moz-box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0;
|
-moz-box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0;
|
||||||
box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0;
|
box-shadow: rgba(255, 255, 255, 0.07) -1px 0 0;
|
||||||
border-left: 1px solid #121212;
|
border-left: 1px solid #121212;
|
||||||
}
|
}
|
||||||
.panel-group .panel-heading + .panel-collapse .panel-body {
|
.panel-group .panel-heading + .panel-collapse .panel-body {
|
||||||
-webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0;
|
-webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0;
|
||||||
-moz-box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0;
|
-moz-box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0;
|
||||||
box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0;
|
box-shadow: rgba(255, 255, 255, 0.07) 0 -1px 0;
|
||||||
border-top: 1px solid #121212;
|
border-top: 1px solid #121212;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
@ -104,7 +104,7 @@ input#sendMessage {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
.panel input, .panel .input-group {
|
.panel input, .panel .input-group {
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
}
|
}
|
||||||
input[type=text], input[type=password], .badge {
|
input[type=text], input[type=password], .badge {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -121,24 +121,24 @@ input[type=text], input[type=password], .badge {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
line-height: 35px;
|
line-height: 35px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
-webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
-webkit-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
||||||
-moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
-moz-box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
||||||
box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
box-shadow: rgba(255, 255, 255, 0.07) 0 1px 0;
|
||||||
}
|
}
|
||||||
#topbar .brand {
|
#topbar .brand {
|
||||||
float: left;
|
float: left;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
#topbar .brand img {
|
#topbar .brand img {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
}
|
}
|
||||||
#topbar .brand button {
|
#topbar .brand button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
line-height: 15px;
|
line-height: 15px;
|
||||||
font-size: 9pt;
|
font-size: 9pt;
|
||||||
margin-left: 10px
|
margin-left: 10px
|
||||||
}
|
}
|
||||||
#topbar .title {
|
#topbar .title {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 145px; /* sidebar */
|
left: 145px; /* sidebar */
|
||||||
|
@ -174,7 +174,7 @@ input[type=text], input[type=password], .badge {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
margin-top: 35px; /* topbar */
|
margin-top: 35px; /* topbar */
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
#sidebar form {
|
#sidebar form {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -277,8 +277,8 @@ input[type=text], input[type=password], .badge {
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
}
|
}
|
||||||
.alert-danger {
|
.alert-danger {
|
||||||
border-color: #121212;
|
border-color: #121212;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
li.notification {
|
li.notification {
|
||||||
|
@ -303,7 +303,7 @@ li.notification {
|
||||||
}
|
}
|
||||||
|
|
||||||
img.embed {
|
img.embed {
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -363,8 +363,7 @@ table.notimestamp td.time {
|
||||||
}
|
}
|
||||||
|
|
||||||
#bufferlines {
|
#bufferlines {
|
||||||
padding-bottom: 38px;
|
padding-bottom: 38px; /* navbar fixed bottom */;
|
||||||
/* navbar fixed bottom */;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-fixed-bottom {
|
.navbar-fixed-bottom {
|
||||||
|
|
|
@ -620,17 +620,16 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
$scope.noembed = true;
|
$scope.noembed = true;
|
||||||
$scope.notimestamp = true;
|
$scope.notimestamp = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open and close panels while on mobile devices through swiping
|
// Open and close panels while on mobile devices through swiping
|
||||||
$scope.swipeSidebar = function() {
|
$scope.swipeSidebar = function() {
|
||||||
|
if (document.body.clientWidth < mobile_cutoff) {
|
||||||
if (document.body.clientWidth < 968) {
|
|
||||||
$('#sidebar').collapse('toggle');
|
$('#sidebar').collapse('toggle');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
$scope.openNick = function() {
|
$scope.openNick = function() {
|
||||||
if (document.body.clientWidth < 968) {
|
if (document.body.clientWidth < mobile_cutoff) {
|
||||||
if($scope.nonicklist) {
|
if($scope.nonicklist) {
|
||||||
$scope.nonicklist = false;
|
$scope.nonicklist = false;
|
||||||
}
|
}
|
||||||
|
@ -638,7 +637,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.closeNick = function() {
|
$scope.closeNick = function() {
|
||||||
if (document.body.clientWidth < 968) {
|
if (document.body.clientWidth < mobile_cutoff) {
|
||||||
if(!$scope.nonicklist) {
|
if(!$scope.nonicklist) {
|
||||||
$scope.nonicklist = true;
|
$scope.nonicklist = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue